# CVE-2026-72218: lockd: Plug nlm\_file refcount leak on cached nlm\_do\_fopen() failure

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (OSV · Ubuntu); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 05-12-2026)
- Next step: Check applicability: affected before 3a5c55a19cad62f2973be25fe96a1a9e7f618e8a, 46d59ff421824b6483549d87f14efffbbbd1f6cb, 5.10.261, 6cd84cefd8b73e85b9eda17b319bd40a670f3a38, 70a38f87bed7f0694fd07988b47b2db1e10d8df3, 7ce4c23e783e766507b2cef27bbf97e9ca944f1a, 84008bf1860e0ef8059a7583a1163f36b704d08a, cb3420c047957e565101585bb4f15e1a6e3de6b0, fe3b45b56b6c3d4b6b341de27fa291005287a21c (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-15 · Modified: 2026-11-06
- Aliases: UBUNTU-CVE-2026-72218, DEBIAN-CVE-2026-72218
- Record: https://cvemate.com/vulnerability/CVE-2026-72218 · JSON: https://cvemate.com/vulnerability/CVE-2026-72218/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v4.0, OSV · Ubuntu) CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.217%, percentile 12.875%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 159)

- debian linux (Debian): \< 6.1.180-1 \| \< 6.12.100-1 \| \< 7.1.5-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-198.208 \| \< 6.8.0-147.147 \| \< 7.0.0-38.38
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124 \| \< 6.8.0-1067.70 \| \< 7.0.0-1014.14
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1117.124~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): \< 7.0.0-1014.14~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124+fips1 \| \< 6.8.0-1067.70+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1123.132 \| \< 6.8.0-1071.79 \| \< 7.0.0-1017.17
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 38)

- <https://git.kernel.org/stable/c/6cd84cefd8b73e85b9eda17b319bd40a670f3a38>
- <https://git.kernel.org/stable/c/fe3b45b56b6c3d4b6b341de27fa291005287a21c>
- <https://git.kernel.org/stable/c/cb3420c047957e565101585bb4f15e1a6e3de6b0>
- <https://git.kernel.org/stable/c/7ce4c23e783e766507b2cef27bbf97e9ca944f1a>
- <https://git.kernel.org/stable/c/84008bf1860e0ef8059a7583a1163f36b704d08a>
- <https://git.kernel.org/stable/c/46d59ff421824b6483549d87f14efffbbbd1f6cb>
- <https://git.kernel.org/stable/c/3a5c55a19cad62f2973be25fe96a1a9e7f618e8a>
- <https://git.kernel.org/stable/c/70a38f87bed7f0694fd07988b47b2db1e10d8df3>
- <https://ubuntu.com/security/CVE-2026-72218>
- <https://www.cve.org/CVERecord?id=CVE-2026-72218>
- <https://git.kernel.org/linus/70a38f87bed7f0694fd07988b47b2db1e10d8df3>
- <https://ubuntu.com/security/notices/USN-8876-1>
- <https://ubuntu.com/security/notices/USN-8878-1>
- <https://ubuntu.com/security/notices/USN-8879-1>
- <https://ubuntu.com/security/notices/USN-8877-1>
- <https://ubuntu.com/security/notices/USN-8875-1>
- <https://ubuntu.com/security/notices/USN-8888-1>
- <https://ubuntu.com/security/notices/USN-8889-1>
- <https://ubuntu.com/security/notices/USN-8887-1>
- <https://ubuntu.com/security/notices/USN-8888-2>

---

Data as of 2026-12-06T04:14:47.083Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
