# CVE-2026-89672: nfsd: gate nfs2 setacl by argp->mask

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-09-11T19:45:57.414Z
- Modified: 2026-10-30T13:20:25.620Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

nfsd: gate nfs2 setacl by argp->mask

The NFSACL v2 SETACL path shares the decoder convention used by its
v3 sibling: nfsaclsvc_decode_setaclargs() fills in argp->acl_access
only when NFS_ACL is set in the request mask and argp->acl_default
only when NFS_DFACL is set, leaving the other pointer NULL because
the argument buffer is zeroed up to pc_argzero before decode.

nfsacld_proc_setacl() then hands both pointers to set_posix_acl()
unconditionally. set_posix_acl(idmap, dentry, type, NULL) is the VFS
"remove this ACL type" operation, so an omitted arm is
indistinguishable from an explicit request to delete that ACL. A
SETACL carrying only NFS_ACL silently strips the directory's default
ACL; mask=0 strips both.

This is the same defect just fixed in nfsd3_proc_setacl(); apply the
same remedy. Gate each set_posix_acl() call on its mask bit and
initialize error to 0 so that a request with neither bit set leaves
the on-disk ACLs untouched and returns success. The out_drop_lock
path and the unconditional posix_acl_release() in
nfsaclsvc_release_setacl() already tolerate the skipped arms.

(As written by CVE List.)

## Affected

- Linux Linux: from a257cdd0e2179630d3201c32ba14d7fcb3c3a055 before d00a2f81ba7c57045bd644971ddb6961c5efe3e0; from a257cdd0e2179630d3201c32ba14d7fcb3c3a055 before 760e7a4f92f597c61ab6b089f934a7e3acf238b7; from a257cdd0e2179630d3201c32ba14d7fcb3c3a055 before 54ff9c81d6b77de4540ba33a3b4d613ce3194863; from a257cdd0e2179630d3201c32ba14d7fcb3c3a055 before 8e4422b05f410f95c51b68a0db4bf1d87f6d22f5; from a257cdd0e2179630d3201c32ba14d7fcb3c3a055 before e41d173d9dc735cecb15ab7aa63ecab09338f81b; from a257cdd0e2179630d3201c32ba14d7fcb3c3a055 before f951b22dbeec46f2e0fba81cb80d1b0c686b61eb; from a257cdd0e2179630d3201c32ba14d7fcb3c3a055 before 37eea38e7898538f0ec5f1eb8b18d8646e4be41c; from a257cdd0e2179630d3201c32ba14d7fcb3c3a055 before a3a7e20ed66d3f04d37883c398da8a113b430769; 2.6.13 (not affected: before 2.6.13; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/d00a2f81ba7c57045bd644971ddb6961c5efe3e0>
- <https://git.kernel.org/stable/c/760e7a4f92f597c61ab6b089f934a7e3acf238b7>
- <https://git.kernel.org/stable/c/54ff9c81d6b77de4540ba33a3b4d613ce3194863>
- <https://git.kernel.org/stable/c/8e4422b05f410f95c51b68a0db4bf1d87f6d22f5>
- <https://git.kernel.org/stable/c/e41d173d9dc735cecb15ab7aa63ecab09338f81b>
- <https://git.kernel.org/stable/c/f951b22dbeec46f2e0fba81cb80d1b0c686b61eb>
- <https://git.kernel.org/stable/c/37eea38e7898538f0ec5f1eb8b18d8646e4be41c>
- <https://git.kernel.org/stable/c/a3a7e20ed66d3f04d37883c398da8a113b430769>

## Sources

- CVE List: [CVE-2026-89672](https://www.cve.org/CVERecord?id=CVE-2026-89672), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-89672](https://nvd.nist.gov/vuln/detail/CVE-2026-89672), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-89672 · Whole record: https://cve.day/CVE-2026-89672.json · Rebuilt by cve.day 2026-11-25T22:59:38.108Z
