# CVE-2026-53397: nfsd: fix posix\_acl leak on SETACL decode failure

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-07-19T12:01:58.938Z
- **Modified:** 2026-10-19T20:19:18.327Z

## Who should check

- Anyone running Linux \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< b2eb1ffd511d1b3c3e21122f97cbbccea411e277; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< b94c4be77682aab06d65ca7296149e3bcfb37353; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 887f92ceccf3eacd5f2402db21254d66372fae00; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 1e96239fddcefacf6afe6c498357be68eacbcabc; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< bd69a825485168ef74e815ecb286754b570fdcc7; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 136b416593f1349cf6f72c8e3d18f0f204ee8545; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< a5b42c1e4ff2befaa6b96f7cbf32174751eba083; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 0853ac544c590880d797b04daa33fcb72b6be0e1
- Anyone running Linux 2.6.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

nfsd: fix posix\_acl leak on SETACL decode failure

nfsaclsvc\_decode\_setaclargs() and nfs3svc\_decode\_setaclargs() each
call nfs\_stream\_decode\_acl() twice, first for NFS\_ACL and then for
NFS\_DFACL.  Each successful call transfers ownership of a freshly
allocated posix\_acl into argp-\>acl\_access or argp-\>acl\_default.  If
the first call succeeds but the second fails, the decoder returns
false and argp-\>acl\_access is left dangling.

ACLPROC2\_SETACL.pc\_release was wired to nfssvc\_release\_attrstat and
ACLPROC3\_SETACL.pc\_release was wired to nfs3svc\_release\_fhandle.
Both only call fh\_put() and have no knowledge of the ACL fields on
argp.  The posix\_acl\_release() pairs sat at the out: labels inside
nfsacld\_proc\_setacl() and nfsd3\_proc\_setacl(), but svc\_process()
skips pc\_func when pc\_decode returns false, so that cleanup is
unreachable on decode failure:

    svc\_process\_common()
      pc\_decode()                  /\* decode\_setaclargs: false \*/
      /\* pc\_func skipped \*/
      pc\_release()                 /\* fh\_put only -- ACLs leaked \*/

The orphaned posix\_acl is leaked for the lifetime of the server.

Fix by adding nfsaclsvc\_release\_setacl() and nfs3svc\_release\_setacl(),
which release both argp-\>acl\_access and argp-\>acl\_default in addition
to fh\_put(), and wiring them as pc\_release for their respective SETACL
procedures.  pc\_release runs on every path svc\_process() takes after
decode, including decode failure, so the posix\_acl\_release() pairs are
removed from the proc functions' out: labels to keep ownership in one
place.  This matches the existing release\_getacl() pattern used by
the sibling GETACL procedures.

## Affected and fixed versions

- Linux: \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< b2eb1ffd511d1b3c3e21122f97cbbccea411e277; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< b94c4be77682aab06d65ca7296149e3bcfb37353; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 887f92ceccf3eacd5f2402db21254d66372fae00; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 1e96239fddcefacf6afe6c498357be68eacbcabc; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< bd69a825485168ef74e815ecb286754b570fdcc7; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 136b416593f1349cf6f72c8e3d18f0f204ee8545; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< a5b42c1e4ff2befaa6b96f7cbf32174751eba083; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 0853ac544c590880d797b04daa33fcb72b6be0e1 (cvelist)
- Linux: 2.6.13 (cvelist)

## Mitigation

- Upgrade Linux to 0853ac544c590880d797b04daa33fcb72b6be0e1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53397. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53397.md
Affected: Linux >= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, < b2eb1ffd511d1b3c3e21122f97cbbccea411e277; >= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, < b94c4be77682aab06d65ca7296149e3bcfb37353; >= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, < 887f92ceccf3eacd5f2402db21254d66372fae00; >= a257cdd0e2179630d3201c3…
Fixed in: Linux 887f92ceccf3eacd5f2402db21254d66372fae00, Linux 1e96239fddcefacf6afe6c498357be68eacbcabc, Linux 136b416593f1349cf6f72c8e3d18f0f204ee8545, Linux 0853ac544c590880d797b04daa33fcb72b6be0e1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53397 being exploited?

There is no confirmed exploitation: CVE-2026-53397 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53397?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-53397?

Linux \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< b2eb1ffd511d1b3c3e21122f97cbbccea411e277; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< b94c4be77682aab06d65ca7296149e3bcfb37353; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 887f92ceccf3eacd5f2402db21254d66372fae00; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 1e96239fddcefacf6afe6c498357be68eacbcabc; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< bd69a825485168ef74e815ecb286754b570fdcc7; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 136b416593f1349cf6f72c8e3d18f0f204ee8545; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< a5b42c1e4ff2befaa6b96f7cbf32174751eba083; \>= a257cdd0e2179630d3201c32ba14d7fcb3c3a055, \< 0853ac544c590880d797b04daa33fcb72b6be0e1; Linux 2.6.13.

### Is there a fix for CVE-2026-53397?

Yes. Fixed in Linux 887f92ceccf3eacd5f2402db21254d66372fae00, Linux 1e96239fddcefacf6afe6c498357be68eacbcabc, Linux 136b416593f1349cf6f72c8e3d18f0f204ee8545, Linux 0853ac544c590880d797b04daa33fcb72b6be0e1. Upgrade Linux to 0853ac544c590880d797b04daa33fcb72b6be0e1 or later.

### How do I check if I'm affected by CVE-2026-53397?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b2eb1ffd511d1b3c3e21122f97cbbccea411e277>
- patch: <https://git.kernel.org/stable/c/b94c4be77682aab06d65ca7296149e3bcfb37353>
- patch: <https://git.kernel.org/stable/c/887f92ceccf3eacd5f2402db21254d66372fae00>
- patch: <https://git.kernel.org/stable/c/1e96239fddcefacf6afe6c498357be68eacbcabc>
- patch: <https://git.kernel.org/stable/c/bd69a825485168ef74e815ecb286754b570fdcc7>
- patch: <https://git.kernel.org/stable/c/136b416593f1349cf6f72c8e3d18f0f204ee8545>
- patch: <https://git.kernel.org/stable/c/a5b42c1e4ff2befaa6b96f7cbf32174751eba083>
- patch: <https://git.kernel.org/stable/c/0853ac544c590880d797b04daa33fcb72b6be0e1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53397>

HTML: <https://flawdb.com/CVE-2026-53397> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53397>
