NFSD: NFSv4 file creation neglects setting ACL (Linux Linux)

CVE-2025-68803
HIGH 8.0

En bref

Source
NVD
EPSS
EPSS 0.45 % · centile 39 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: NFSD: NFSv4 file creation neglects setting ACL An NFSv4 client that sets an ACL with a named principal during file creation retrieves the ACL afterwards, and finds that it is only a default ACL (based on the mode bits) and not the ACL that was requested during file creation. This violates RFC 8881 section 6.4.1.3: "the ACL attribute is set as given". The issue occurs in nfsd_create_setattr(), which calls nfsd_attrs_valid() to determine whether to call nfsd_setattr(). However, nfsd_attrs_valid() checks only for iattr changes and security labels, but not POSIX ACLs. When only an ACL is present, the function returns false, nfsd_setattr() is skipped, and the POSIX ACL is never applied to the inode. Subsequently, when the client retrieves the ACL, the server finds no POSIX ACL on the inode and returns one generated from the file's mode bits rather than returning the originally-specified ACL.

Faiblesses (CWE)

  • CWE-863 — Autorisation incorrecte

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.0CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.0CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected c5409ce523af40d5c3019717bc5b4f72038d48be < c182e1e0b7640f6bcc0c5ca8d473f7c57199ea3d ; affected d52acd23a327cada5fb597591267cfc09f08bb1d < 75f91534f9acdfef77f8fa094313b7806f801725 ; affected c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b < 60dbdef2ebc2317266a385e4debdb1bb0e57afe1 ; affected c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b < 381261f24f4e4b41521c0e5ef5cc0b9a786a9862 ; affected c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b < bf4e671c651534a307ab2fabba4926116beef8c3 ; affected c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b < 214b396480061cbc8b16f2c518b2add7fbfa5192
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 5.10.248 ≤ 5.10.* ; unaffected 5.15.198 ≤ 5.15.* ; unaffected 6.1.160 ≤ 6.1.* ; unaffected 6.6.121 ≤ 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