CVE-2026-53397
nfsd: fix posix_acl leak on SETACL decode failure
Reported by linux · Published July 19, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-modules-extra | errata.rockylinux.org | 4.18.0-553.159.1.el8 |
| kernel6.18-devel | Amazon Linux | 1:6.18.38-73.137.amzn2023 |
| kernel-debuginfo | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-doc | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-tools | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| rtla | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| Linux | Linux | b94c4be77682aab06d65ca7296149e3bcfb37353, b2eb1ffd511d1b3c3e21122f97cbbccea411e277, 2.6.13 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a257cdd0e2179630d3201c32ba14d7fcb3c3a055, a257cdd0e2179630d3201c32ba14d7fcb3c3a055, a257cdd0e2179630d3201c32ba14d7fcb3c3a055 |
| Linux | Linux | 2.6.13, 0, 5.10.260 |
| amazon:2023 | kernel6.18-devel | 0 |
| Linux | Linux | 7.2, 7.1.3, 6.18.38 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-livepatch-6.18.38-73.137 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| linux | linux_kernel | 2.6.13, 2.6.13, 2.6.13 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.12.95-124.187 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.1.177-224.371 | 0 |
…and 18 more
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Coalition ESS Score
- Jul 20, 2026 Security Advisory (35 in total, the first dated here)
- Aug 7, 2026 EPSS Score (30 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (38 in total, the first dated here)
- Sep 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53397
vulnetix vdb fixes CVE-2026-53397
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53397/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart