CVE-2026-53397·Kernel vulnerability
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
- high
- Software
- Kernel
- Fixed in
- 7.1.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.53% — higher than 45% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-53397 scores 7.5 on CVSS, so a successful attack would be serious — but at 0.53%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.1.3
Fixed in: 7.1.3
How to fix this CVE
Update your Linux kernel to version 7.1.3 or later to patch the NFSD ACL memory leak vulnerability. This fix ensures that access control list structures are properly released during SETACL decode failures, preventing long-term kernel memory exhaustion. Apply the update immediately to all systems running vulnerable kernel versions 6.19 through 7.1.2.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with 'uname -r' and compare against the affected range 6.19 to 7.1.2
- Step 2: Verify NFSD is enabled by checking 'grep -i nfsd /proc/modules' or 'lsmod | grep nfsd'
- Step 3: Monitor kernel memory growth with 'watch -n 1 free -h' and 'cat /proc/slabinfo | grep acl' to detect abnormal ACL structure accumulation
- Step 4: After patching, reboot the system and confirm the new kernel version with 'uname -r', then restart NFS services with 'sudo systemctl restart nfs-server'
FAQ
What is CVE-2026-53397?
CVE-2026-53397 is a kernel memory leak in the NFSD (Network File System Daemon) implementation. When the SETACL decode function fails on the second ACL structure, previously allocated POSIX ACL objects are not properly released, causing persistent kernel memory leaks that degrade system performance over time.
Is CVE-2026-53397 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, it can be trivially triggered by misconfigured NFS clients or malformed ACL requests, making it a denial-of-service concern.
What versions of Kernel are affected by CVE-2026-53397?
Linux kernel versions 6.19 through 7.1.2 are vulnerable. Version 7.1.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-53397?
Run 'uname -r' to get your kernel version. If it shows 6.19.x through 7.1.2, your system is vulnerable. Cross-reference the full version output against your distribution's security advisories to confirm.
Does Defensia detect CVE-2026-53397?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-53397 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0853ac544c590880d797b04daa33fcb72b6be0e1
- https://git.kernel.org/stable/c/136b416593f1349cf6f72c8e3d18f0f204ee8545
- https://git.kernel.org/stable/c/1e96239fddcefacf6afe6c498357be68eacbcabc
- https://git.kernel.org/stable/c/887f92ceccf3eacd5f2402db21254d66372fae00
- https://git.kernel.org/stable/c/a5b42c1e4ff2befaa6b96f7cbf32174751eba083
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-53397. Free for 1 server.
Get started free