nfsd: check nfsd4_acl_to_attr() return value in nfsd4_create()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 73dfa989f6f0dedcae1f2650aab3401537044282, Kernel 04b913ab96c2a874f41b5e5a19ac7120526723c2, Kernel 26877d3a09afb3838a053867a655ca30c46a1f81 and 12 more.
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 ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d52acd23a327cada5fb597591267cfc09f08bb1d <73dfa989f6f0dedcae1f2650aab3401537044282, >=c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b <04b913ab96c2a874f41b5e5a19ac7120526723c2, >=c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b <26877d3a09afb3838a053867a655ca30c46a1f81, >=c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b <2c7912732184773dbd371a411da87af1cc080b86, >=c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b <2d8a8ed4f9d8637ef0f18d47d19193e7b780e90e, >=c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b <430ed49a16cf9ca249d0fb51490582090bc4848b, >=c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b <80cebb0e8a8d1e758f0d671f5e047279c5c3e528, >=c5409ce523af40d5c3019717bc5b4f72038d48be <154acf97ecd2c0bb00f6533f86d4bd2b934475d5, =6.0, >=5.10.220 <5.10.273, >=5.15.154 <5.15.224 | 73dfa989f6f0dedcae1f2650aab3401537044282, 04b913ab96c2a874f41b5e5a19ac7120526723c2, 26877d3a09afb3838a053867a655ca30c46a1f81, 2c7912732184773dbd371a411da87af1cc080b86, 2d8a8ed4f9d8637ef0f18d47d19193e7b780e90e, 430ed49a16cf9ca249d0fb51490582090bc4848b, 80cebb0e8a8d1e758f0d671f5e047279c5c3e528, 154acf97ecd2c0bb00f6533f86d4bd2b934475d5, 5.10.273, 5.15.224 |
| linux-kernel: Kernel | >=5.15.154 <5.15.224, >=6.0.0 <6.1.191, >=6.13.0 <6.18.51, >=6.19.0 <7.2.4, >=6.2.0 <6.6.160, >=6.7.0 <6.12.111, >=5.10.220 <5.10.273 | 5.15.224, 6.1.191, 6.18.51, 7.2.4, 6.6.160, 6.12.111, 5.10.273 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket