CVE-2026-89693: nfsd: check nfsd4_acl_to_attr() return value in nfsd4_create()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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 ]
The Linux kernel CVE team has assigned CVE-2026-89693 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.0 with commit c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b and fixed in 6.18.51 with commit 430ed49a16cf9ca249d0fb51490582090bc4848b Issue introduced in 6.0 with commit c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b and fixed in 7.2.4 with commit 80cebb0e8a8d1e758f0d671f5e047279c5c3e528 Issue introduced in 6.0 with commit c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b and fixed in 7.3-rc1 with commit 2c7912732184773dbd371a411da87af1cc080b86 Issue introduced in 5.10.220 with commit c5409ce523af40d5c3019717bc5b4f72038d48be Issue introduced in 5.15.154 with commit d52acd23a327cada5fb597591267cfc09f08bb1d
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-89693
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/nfsd/nfs4proc.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/430ed49a16cf9ca249d0fb51490582090bc4848b https://git.kernel.org/stable/c/80cebb0e8a8d1e758f0d671f5e047279c5c3e528 https://git.kernel.org/stable/c/2c7912732184773dbd371a411da87af1cc080b86