CVE-2025-68803
JSON

8.0high

NFSD: NFSv4 file creation neglects setting ACL

Severity
8.0high CVSS:3.1 by Linux
Exploit likelihood
0.51% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom c5409ce523af40d5c3019717bc5b4f72038d48be before c182e1e0b7640f6bcc0c5ca8d473f7c57199ea3d, from d52acd23a327cada5fb597591267cfc09f08bb1d before 75f91534f9acdfef77f8fa094313b7806f801725, from c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b before 60dbdef2ebc2317266a385e4debdb1bb0e57afe1, from c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b before 381261f24f4e4b41521c0e5ef5cc0b9a786a9862, from c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b before bf4e671c651534a307ab2fabba4926116beef8c3, from c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b before 214b396480061cbc8b16f2c518b2add7fbfa5192, from c0cbe70742f4a70893cd6e5f6b10b6e89b6db95b before 913f7cf77bf14c13cfea70e89bcb6d0b22239562, from 5.10.220 before 5.10.248 and 2 more
Not affected: before 6.0, from 5.10.248 up to 5.10.*, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.121 up to 6.6.*, from 6.12.64 up to 6.12.*
CVE List

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: NFSD: la creación de archivos NFSv4 omite establecer la ACL Un cliente NFSv4 que establece una ACL con un principal nombrado durante la creación del archivo recupera la ACL después, y encuentra que es solo una ACL predeterminada (basada en los bits de modo) y no la ACL que fue solicitada durante la creación del archivo. Esto viola la sección 6.4.1.3 de RFC 8881: 'el atributo ACL se establece tal como se proporciona'. El problema ocurre en nfsd_create_setattr(), que llama a nfsd_attrs_valid() para determinar si llamar a nfsd_setattr(). Sin embargo, nfsd_attrs_valid() verifica solo los cambios de iattr y las etiquetas de seguridad, pero no las ACL de POSIX. Cuando solo una ACL está presente, la función devuelve falso, nfsd_setattr() es omitida, y la ACL de POSIX nunca se aplica al inodo. Posteriormente, cuando el cliente recupera la ACL, el servidor no encuentra ninguna ACL de POSIX en el inodo y devuelve una generada a partir de los bits de modo del archivo en lugar de devolver la ACL especificada originalmente.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68803 changed 2026-11-10CVE Terms of Use
NVDCVE-2025-68803 changed 2026-11-10Public domain