CVE-2026-53397

nfsd: fix posix_acl leak on SETACL decode failure

7.5 high EPSS 0.53%

Published 19 Jul 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-53397

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-53397 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.53%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 38.1% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from a257cdd0e2179630d3201c32ba14d7fcb3c3a055, before b2eb1ffd511d1b3c3e21122f97cbbccea411e277
affected from a257cdd0e2179630d3201c32ba14d7fcb3c3a055, before b94c4be77682aab06d65ca7296149e3bcfb37353
affected from a257cdd0e2179630d3201c32ba14d7fcb3c3a055, before 887f92ceccf3eacd5f2402db21254d66372fae00
affected from a257cdd0e2179630d3201c32ba14d7fcb3c3a055, before 1e96239fddcefacf6afe6c498357be68eacbcabc
affected from a257cdd0e2179630d3201c32ba14d7fcb3c3a055, before bd69a825485168ef74e815ecb286754b570fdcc7
affected from a257cdd0e2179630d3201c32ba14d7fcb3c3a055, before 136b416593f1349cf6f72c8e3d18f0f204ee8545
affected from a257cdd0e2179630d3201c32ba14d7fcb3c3a055, before a5b42c1e4ff2befaa6b96f7cbf32174751eba083
affected from a257cdd0e2179630d3201c32ba14d7fcb3c3a055, before 0853ac544c590880d797b04daa33fcb72b6be0e1
Other versions: unaffected
Linux
affected 2.6.13
unaffected before 2.6.13
unaffected from 5.10.260 up to and including 5.10.*
unaffected from 5.15.211 up to and including 5.15.*
unaffected from 6.1.177 up to and including 6.1.*
unaffected from 6.6.144 up to and including 6.6.*
unaffected from 6.12.95 up to and including 6.12.*
unaffected from 6.18.38 up to and including 6.18.*
unaffected from 7.1.3 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-53397 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-53397

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-53397
trivy image --scanners vuln IMAGE | grep CVE-2026-53397

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-53397 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.