CVE-2026-72218
lockd: Plug nlm_file refcount leak on cached nlm_do_fopen() failure
Check your servers for CVE-2026-72218
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-72218 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.
Description
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e580323ac0b51ad10ec2e181d1f777479b7983e7, before 6cd84cefd8b73e85b9eda17b319bd40a670f3a38 affected from 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, before fe3b45b56b6c3d4b6b341de27fa291005287a21c affected from 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, before cb3420c047957e565101585bb4f15e1a6e3de6b0 affected from 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, before 7ce4c23e783e766507b2cef27bbf97e9ca944f1a affected from 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, before 84008bf1860e0ef8059a7583a1163f36b704d08a affected from 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, before 46d59ff421824b6483549d87f14efffbbbd1f6cb affected from 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, before 3a5c55a19cad62f2973be25fe96a1a9e7f618e8a affected from 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, before 70a38f87bed7f0694fd07988b47b2db1e10d8df3 affected from 5.10.220, before 5.10.261
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.10.261 up to and including 5.10.* unaffected from 5.15.212 up to and including 5.15.* unaffected from 6.1.178 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 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-72218 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72218
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-72218
trivy image --scanners vuln IMAGE | grep CVE-2026-72218
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
- https://git.kernel.org/stable/c/6cd84cefd8b73e85b9eda17b319bd40a670f3a38 git.kernel.org
- https://git.kernel.org/stable/c/fe3b45b56b6c3d4b6b341de27fa291005287a21c git.kernel.org
- https://git.kernel.org/stable/c/cb3420c047957e565101585bb4f15e1a6e3de6b0 git.kernel.org
- https://git.kernel.org/stable/c/7ce4c23e783e766507b2cef27bbf97e9ca944f1a git.kernel.org
- https://git.kernel.org/stable/c/84008bf1860e0ef8059a7583a1163f36b704d08a git.kernel.org
- https://git.kernel.org/stable/c/46d59ff421824b6483549d87f14efffbbbd1f6cb git.kernel.org
- https://git.kernel.org/stable/c/3a5c55a19cad62f2973be25fe96a1a9e7f618e8a git.kernel.org
- https://git.kernel.org/stable/c/70a38f87bed7f0694fd07988b47b2db1e10d8df3 git.kernel.org
Source: the record CVE-2026-72218 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse