VDB

CVE-2026-72218

CVE-2026-72218 PUBLISHED

lockd: Plug nlm_file refcount leak on cached nlm_do_fopen() failure

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: lockd: Plug nlm_file refcount leak on cached nlm_do_fopen() failure The cached-file path in nlm_lookup_file() reaches the found: label unconditionally, even when nlm_do_fopen() fails. At that label *result and file->f_count are updated before the error is returned. The wrappers nlm3svc_lookup_file() and nlm4svc_lookup_file() then bail out of their switch without copying *result back to their caller, so the proc handler's local nlm_file pointer remains NULL and the cleanup path skips nlm_release_file(). The f_count increment is never released, and nlm_traverse_files() can no longer reap the file because its refcount never returns to zero between requests. Short-circuit the cached path so neither *result nor f_count is touched when nlm_do_fopen() fails on a hashed nlm_file.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel-livepatch-6.1.180-225.360Amazon Linux1:1.0-0.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.41-94.142.amzn2023
kernel-headersAmazon Linux1:6.1.180-225.360.amzn2023
bpftool6.18Amazon Linux1:6.18.41-94.142.amzn2023
python3-perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.180-225.360.amzn2023
python3-perfAmazon Linux1:6.1.180-225.360.amzn2023
kernel-livepatch-6.18.41-94.142Amazon Linux1:1.0-0.amzn2023
kernel6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.100-125.179.amzn2023

Affected products

VendorProductVersions
LinuxLinuxe580323ac0b51ad10ec2e181d1f777479b7983e7, 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, 7f024fcd5c97dc70bb9121c80407cf3cf9be7159
LinuxLinux5.15, 0, 5.10.261
amazon:2023perf6.120
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.1.180-225.3600
amazon:2023kernel6.18-tools0
amazon:2023kernel-headers0
amazon:2023bpftool6.180
amazon:2023python3-perf6.120
amazon:2023kernel-modules-extra-common0
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.18.41-94.1420
amazon:2023kernel6.120
amazon:2023kernel6.12-modules-extra0
linuxlinux_kernel5.10.220, 5.15, 5.15
amazon:2023python3-perf6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel-tools-devel0
amazon:2023bpftool6.120
amazon:2023kernel-livepatch-6.12.100-125.1790

…and 18 more

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (19 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72218
vulnetix vdb fixes CVE-2026-72218

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-72218/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 ›