# CVE-2026-53395: nfsd: fix dead ACL conflict guard in nfsd4_create

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-07-19T12:01:57.816Z
- Modified: 2026-08-17T05:17:14.033Z
- Weaknesses: CWE-674
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from d2ca50606f5f0235d7780c1cd73b6614a5d07620 before 8371cc5c0a2cc2a71b3dcfd47ff1f7fcfc526a5e; from d2ca50606f5f0235d7780c1cd73b6614a5d07620 before a60f25a800846ab8e5a13f8a9d05111f2aee55a7; 7.0 (not affected: before 7.0; from 7.1.3 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 7.0 before 7.1.3

## References

- <https://git.kernel.org/stable/c/8371cc5c0a2cc2a71b3dcfd47ff1f7fcfc526a5e> (patch)
- <https://git.kernel.org/stable/c/a60f25a800846ab8e5a13f8a9d05111f2aee55a7> (patch)

## Sources

- CVE List: [CVE-2026-53395](https://www.cve.org/CVERecord?id=CVE-2026-53395), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-53395](https://nvd.nist.gov/vuln/detail/CVE-2026-53395), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-53395 · Whole record: https://cve.day/CVE-2026-53395.json · Rebuilt by cve.day 2026-11-25T22:59:28.698Z
