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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T05:54:11.672Z
- **Modified:** 2026-11-06T17:19:39.690Z

## Who should check

- Anyone running Linux \>= e580323ac0b51ad10ec2e181d1f777479b7983e7, \< 6cd84cefd8b73e85b9eda17b319bd40a670f3a38; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< fe3b45b56b6c3d4b6b341de27fa291005287a21c; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< cb3420c047957e565101585bb4f15e1a6e3de6b0; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 7ce4c23e783e766507b2cef27bbf97e9ca944f1a; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 84008bf1860e0ef8059a7583a1163f36b704d08a; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 46d59ff421824b6483549d87f14efffbbbd1f6cb; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 3a5c55a19cad62f2973be25fe96a1a9e7f618e8a; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 70a38f87bed7f0694fd07988b47b2db1e10d8df3; \>= 5.10.220, \< 5.10.261
- Anyone running Linux 5.15

## 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.

## Affected and fixed versions

- Linux: \>= e580323ac0b51ad10ec2e181d1f777479b7983e7, \< 6cd84cefd8b73e85b9eda17b319bd40a670f3a38; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< fe3b45b56b6c3d4b6b341de27fa291005287a21c; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< cb3420c047957e565101585bb4f15e1a6e3de6b0; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 7ce4c23e783e766507b2cef27bbf97e9ca944f1a; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 84008bf1860e0ef8059a7583a1163f36b704d08a; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 46d59ff421824b6483549d87f14efffbbbd1f6cb; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 3a5c55a19cad62f2973be25fe96a1a9e7f618e8a; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 70a38f87bed7f0694fd07988b47b2db1e10d8df3; \>= 5.10.220, \< 5.10.261 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 5.10.261 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72218. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72218.md
Affected: Linux >= e580323ac0b51ad10ec2e181d1f777479b7983e7, < 6cd84cefd8b73e85b9eda17b319bd40a670f3a38; >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, < fe3b45b56b6c3d4b6b341de27fa291005287a21c; >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, < cb3420c047957e565101585bb4f15e1a6e3de6b0; >= 7f024fcd5c97dc70bb9121c…
Fixed in: Linux 6cd84cefd8b73e85b9eda17b319bd40a670f3a38, Linux 7ce4c23e783e766507b2cef27bbf97e9ca944f1a, Linux 84008bf1860e0ef8059a7583a1163f36b704d08a, Linux 46d59ff421824b6483549d87f14efffbbbd1f6cb, Linux 3a5c55a19cad62f2973be25fe96a1a9e7f618e8a, Linux 70a38f87bed7f0694fd07988b47b2db1e10d8df3, Linux 5.10.…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72218 being exploited?

There is no confirmed exploitation: CVE-2026-72218 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-72218?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-72218?

Linux \>= e580323ac0b51ad10ec2e181d1f777479b7983e7, \< 6cd84cefd8b73e85b9eda17b319bd40a670f3a38; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< fe3b45b56b6c3d4b6b341de27fa291005287a21c; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< cb3420c047957e565101585bb4f15e1a6e3de6b0; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 7ce4c23e783e766507b2cef27bbf97e9ca944f1a; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 84008bf1860e0ef8059a7583a1163f36b704d08a; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 46d59ff421824b6483549d87f14efffbbbd1f6cb; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 3a5c55a19cad62f2973be25fe96a1a9e7f618e8a; \>= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159, \< 70a38f87bed7f0694fd07988b47b2db1e10d8df3; \>= 5.10.220, \< 5.10.261; Linux 5.15.

### Is there a fix for CVE-2026-72218?

Yes. Fixed in Linux 6cd84cefd8b73e85b9eda17b319bd40a670f3a38, Linux 7ce4c23e783e766507b2cef27bbf97e9ca944f1a, Linux 84008bf1860e0ef8059a7583a1163f36b704d08a, Linux 46d59ff421824b6483549d87f14efffbbbd1f6cb, Linux 3a5c55a19cad62f2973be25fe96a1a9e7f618e8a, Linux 70a38f87bed7f0694fd07988b47b2db1e10d8df3, Linux 5.10.261. Upgrade Linux to 5.10.261 or later.

### How do I check if I'm affected by CVE-2026-72218?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6cd84cefd8b73e85b9eda17b319bd40a670f3a38>
- other: <https://git.kernel.org/stable/c/fe3b45b56b6c3d4b6b341de27fa291005287a21c>
- other: <https://git.kernel.org/stable/c/cb3420c047957e565101585bb4f15e1a6e3de6b0>
- other: <https://git.kernel.org/stable/c/7ce4c23e783e766507b2cef27bbf97e9ca944f1a>
- other: <https://git.kernel.org/stable/c/84008bf1860e0ef8059a7583a1163f36b704d08a>
- other: <https://git.kernel.org/stable/c/46d59ff421824b6483549d87f14efffbbbd1f6cb>
- other: <https://git.kernel.org/stable/c/3a5c55a19cad62f2973be25fe96a1a9e7f618e8a>
- other: <https://git.kernel.org/stable/c/70a38f87bed7f0694fd07988b47b2db1e10d8df3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72218>

HTML: <https://flawdb.com/CVE-2026-72218> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72218>
