UNKNOWN NVD
CVE-2026-72218
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 i
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.
References
- https://git.kernel.org/stable/c/3a5c55a19cad62f2973be25fe96a1a9e7f618e8a
- https://git.kernel.org/stable/c/46d59ff421824b6483549d87f14efffbbbd1f6cb
- https://git.kernel.org/stable/c/6cd84cefd8b73e85b9eda17b319bd40a670f3a38
- https://git.kernel.org/stable/c/70a38f87bed7f0694fd07988b47b2db1e10d8df3
- https://git.kernel.org/stable/c/7ce4c23e783e766507b2cef27bbf97e9ca944f1a
This unknown severity vulnerability was published on 2026-08-15 via NVD.
vulnfeed aggregates 11655 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.