nfsd: check nfsd4_acl_to_attr() return value in nfsd4_create()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.11, 5.16, 6.6.160, 6.12.111, 6.18.51, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: nfsd: check nfsd4_acl_to_attr() return value in nfsd4_create() nfsd4_create() stores the return value of nfsd4_acl_to_attr() in status, but the switch(create->cr_type) block unconditionally overwrites it in every branch. ACL translation errors are silently discarded, and the CREATE proceeds without the requested ACL. Add an early exit check after nfsd4_acl_to_attr(), matching the pattern already used in nfsd4_setattr(). [ cel: prefer NFS4ERR_BADTYPE over NFS4ERR_ATTRNOTSUPP ]
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b · fixed in 2d8a8ed4f9d8637ef0f18d47d19193e7b780e90e; From c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b · fixed in 26877d3a09afb3838a053867a655ca30c46a1f81; From c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b · fixed in 430ed49a16cf9ca249d0fb51490582090bc4848b; From c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b · fixed in 80cebb0e8a8d1e758f0d671f5e047279c5c3e528; From c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b · fixed in 2c7912732184773dbd371a411da87af1cc080b86; From 5.10.220 · fixed in 5.11; From 5.15.154 · fixed in 5.16
- Linux Linux
6.0
- KernelLinux
From 6.0.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.4