nfsd: gate nfs2 setacl by argp->mask (Linux Linux)

CVE-2026-89672
CRITICAL 9.1

En bref

Source
NVD
EPSS
EPSS 0.60 % · centile 49 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NLinux
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected a257cdd0e2179630d3201c32ba14d7fcb3c3a055 < d00a2f81ba7c57045bd644971ddb6961c5efe3e0 ; affected a257cdd0e2179630d3201c32ba14d7fcb3c3a055 < 760e7a4f92f597c61ab6b089f934a7e3acf238b7 ; affected a257cdd0e2179630d3201c32ba14d7fcb3c3a055 < 54ff9c81d6b77de4540ba33a3b4d613ce3194863 ; affected a257cdd0e2179630d3201c32ba14d7fcb3c3a055 < 8e4422b05f410f95c51b68a0db4bf1d87f6d22f5 ; affected a257cdd0e2179630d3201c32ba14d7fcb3c3a055 < e41d173d9dc735cecb15ab7aa63ecab09338f81b ; affected a257cdd0e2179630d3201c32ba14d7fcb3c3a055 < f951b22dbeec46f2e0fba81cb80d1b0c686b61eb
Linux · Linuxaffected 2.6.13 ; unaffected 0 < 2.6.13 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD