nfsd: gate nfs2 setacl by argp->mask
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.
CVE-2026-89672
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-89672
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "a257cdd0e2179630d3201c32ba14d7fcb3c3a055",
"lessThan": "8e4422b05f410f95c51b68a0db4bf1d87f6d22f5",
"versionType": "git"
},
{
"status": "affected",
"version": "a257cdd0e2179630d3201c32ba14d7fcb3c3a055",
"lessThan": "e41d173d9dc735cecb15ab7aa63ecab09338f81b",
"versionType": "git"
},
{
"status": "affected",
"version": "a257cdd0e2179630d3201c32ba14d7fcb3c3a055",
"lessThan": "f951b22dbeec46f2e0fba81cb80d1b0c686b61eb",
"versionType": "git"
},
{
"status": "affected",
"version": "a257cdd0e2179630d3201c32ba14d7fcb3c3a055",
"lessThan": "37eea38e7898538f0ec5f1eb8b18d8646e4be41c",
"versionType": "git"
},
{
"status": "affected",
"version": "a257cdd0e2179630d3201c32ba14d7fcb3c3a055",
"lessThan": "a3a7e20ed66d3f04d37883c398da8a113b430769",
"versionType": "git"
}
],
"programFiles": [
"fs/nfsd/nfs2acl.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.13"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.13",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.109",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.50",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/nfsd/nfs2acl.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-89672
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #35163 · Revision 1
- Added to Heist Feed
- Publisher date