CVE-2025-68803

NFSD: NFSv4 file creation neglects setting ACL

State
Published
Severity
8.0 High
Published
Jan 13, 2026
Updated
Oct 19, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.0 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • c5409ce523af40d5c3019717bc5b4f72038d48be to before c182e1e0b7640f6bcc0c5ca8d473f7c57199ea3dAffected
  • d52acd23a327cada5fb597591267cfc09f08bb1d to before 75f91534f9acdfef77f8fa094313b7806f801725Affected
  • c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b to before 60dbdef2ebc2317266a385e4debdb1bb0e57afe1Affected
  • c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b to before 381261f24f4e4b41521c0e5ef5cc0b9a786a9862Affected
  • c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b to before bf4e671c651534a307ab2fabba4926116beef8c3Affected
  • c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b to before 214b396480061cbc8b16f2c518b2add7fbfa5192Affected
  • c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b to before 913f7cf77bf14c13cfea70e89bcb6d0b22239562Affected
  • 5.10.220 to before 5.10.248Affected
  • 5.15.154 to before 5.15.198Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 5.10.248 through 5.10.*Not affected
  • 5.15.198 through 5.15.*Not affected
  • 6.1.160 through 6.1.*Not affected
  • 6.6.121 through 6.6.*Not affected
  • 6.12.64 through 6.12.*Not affected
  • 6.18.3 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.