All reports
Medium

kernel: nfsd: check nfsd4_acl_to_attr() return value in nfsd4_create()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-89693

Probability of exploitation in the next 30 days: 0.18%

FIRST EPSS · 2026-11-20

Description

In the Linux kernel, the following vulnerability has been resolved: nfsd: check nfsd4_acl_to_attr() return value in nfsd4_create() nfsd4_create() stores the return value of nfsd4_acl_to_attr() in status, but the switch(create->cr_type) block unconditionally overwrites it in every branch. ACL translation errors are silently discarded, and the CREATE proceeds without the requested ACL. Add an early exit check after nfsd4_acl_to_attr(), matching the pattern already used in nfsd4_setattr(). [ cel: prefer NFS4ERR_BADTYPE over NFS4ERR_ATTRNOTSUPP ]

A flaw was found in the Linux kernel's Network File System (NFS) daemon, nfsd. This vulnerability arises from improper error handling within the nfsd4_create() function, which is responsible for creating files and directories. When Access Control Lists (ACLs) are translated, any errors are silently discarded, allowing the creation process to proceed without applying the requested access restrictions. This could lead to an access control bypass, potentially granting unauthorized users unintended access to sensitive resources.