CVE-2026-53395

nfsd: fix dead ACL conflict guard in nfsd4_create

Published Jul 19, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

nfsd: fix dead ACL conflict guard in nfsd4_create

nfsd4_create() steals create->cr_dpacl/cr_pacl into the local
nfsd_attrs via the designated initializer, then immediately sets the
source pointers to NULL. The subsequent conflict guard tests the
already-nilled source fields, making it permanently dead code:

if (create->cr_acl) {
if (create->cr_dpacl || create->cr_pacl) /* always false */

When a client encodes both FATTR4_WORD0_ACL and
FATTR4_WORD2_POSIX_{DEFAULT,ACCESS}_ACL in the same CREATE fattr
bitmap, nfsd4_acl_to_attr() overwrites attrs.na_pacl/na_dpacl without
releasing the originals, leaking two posix_acl slab objects per
request. Repeated requests cause unbounded slab exhaustion.

Fix by checking attrs.na_dpacl/na_pacl (the stolen values) instead of
the nilled create->cr_dpacl/cr_pacl, matching the correct pattern
already used in nfsd4_setattr().

Analysis

AI-generated

Technical impact

The flaw originates from a dead code path in nfsd4_create that drops ACL pointers without freeing the original objects, leading to a memory leak of posix_acl structures with each request. When an attacker sends creation requests that include both ACL attributes, the leaked kernel objects accumulate and can exhaust slab memory, eventually triggering a Denial of Service. This vulnerability is a classic resource exhaustion weakness identified as CWE-674 and CWE-772.

Affected Systems

The issue is present in all Linux kernels that contain the nfsd4_create implementation and run an NFSv4 server before the patch commit. Versions of the kernel prior to the inclusion of commit 8371cc5c0a2cc2a71b3dcfd47ff1f7fcfc526a5e are affected. Backport versions and newer stable releases that incorporate this commit are not vulnerable. Administrators should verify their kernel version and ensure the use of a patched release.

Risk and Exploitability

A CVSS score of 7.5 highlights the severity, but an EPSS score of less than 1% and the absence from the CISA KEV list suggest exploitation is unlikely at present. Based on the description, it is inferred that the most likely attack vector involves network traffic to a running NFSv4 server, where a malicious client can craft CREATE requests that include both ACL attributes, thereby exposing the service to denial‑of‑service. The practical risk for systems with publicly accessible NFS servers is therefore moderate, but the overall exploitation probability remains low.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that contains the nfsd4_create ACL fix (e.g., the commit 8371cc5c0a2cc2a71b3dcfd47ff1f7fcfc526a5e).
  • If a kernel upgrade cannot be performed immediately, restrict the NFS service to trusted clients or temporarily stop the NFS daemon until the patch is applied.
  • For systems that cannot be upgraded or restricted quickly, isolate the NFS server on a separate subnet and apply strict firewall rules to limit inbound traffic only from known hosts.

Generated by OpenCVE AI on August 13, 2026 at 12:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nfsd: fix dead ACL conflict guard in nfsd4_create nfsd4_create() steals create->cr_dpacl/cr_pacl into the local nfsd_attrs via the designated initializer, then immediately sets the source pointers to NULL. The subsequent conflict guard tests the already-nilled source fields, making it permanently dead code: if (create->cr_acl) { if (create->cr_dpacl || create->cr_pacl) /* always false */ When a client encodes both FATTR4_WORD0_ACL and FATTR4_WORD2_POSIX_{DEFAULT,ACCESS}_ACL in the same CREATE fattr bitmap, nfsd4_acl_to_attr() overwrites attrs.na_pacl/na_dpacl without releasing the originals, leaking two posix_acl slab objects per request. Repeated requests cause unbounded slab exhaustion. Fix by checking attrs.na_dpacl/na_pacl (the stolen values) instead of the nilled create->cr_dpacl/cr_pacl, matching the correct pattern already used in nfsd4_setattr().
Title nfsd: fix dead ACL conflict guard in nfsd4_create
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 4:50 AM
Reserved
Jun 9, 2026, 7:44 AM
Status
Analyzed
Published
Jul 19, 2026, 12:16 PM
Modified
Aug 17, 2026, 5:17 AM
Severity
Moderate
Public date
Jul 19, 2026, 12:00 AM