VDB

CVE-2026-53397

CVE-2026-53397 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
kernel-modules-extraerrata.rockylinux.org4.18.0-553.159.1.el8
kernel6.18-develAmazon Linux1:6.18.38-73.137.amzn2023
kernel-debuginfoerrata.rockylinux.org5.14.0-687.44.1.el9
kernel-docerrata.rockylinux.org5.14.0-687.44.1.el9
kernel-toolserrata.rockylinux.org6.12.0-211.50.1.el10
rtlaerrata.rockylinux.org5.14.0-687.44.1.el9
LinuxLinuxb94c4be77682aab06d65ca7296149e3bcfb37353, b2eb1ffd511d1b3c3e21122f97cbbccea411e277, 2.6.13

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxa257cdd0e2179630d3201c32ba14d7fcb3c3a055, a257cdd0e2179630d3201c32ba14d7fcb3c3a055, a257cdd0e2179630d3201c32ba14d7fcb3c3a055
LinuxLinux2.6.13, 0, 5.10.260
amazon:2023kernel6.18-devel0
LinuxLinux7.2, 7.1.3, 6.18.38
amazon:2023python3-perf6.180
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-tools-devel0
amazon:2023python3-perf0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.18.38-73.1370
amazon:2023kernel-tools-devel0
amazon:2023kernel-headers0
amazon:2023bpftool6.120
linuxlinux_kernel2.6.13, 2.6.13, 2.6.13
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-livepatch-6.12.95-124.1870
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.1.177-224.3710

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›