CVE-2026-72218

Source
https://cve.org/CVERecord?id=CVE-2026-72218
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72218.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72218
Downstream
Published
2026-08-15T05:54:11.672Z
Modified
2026-08-18T03:31:14.248861480Z
Summary
lockd: Plug nlm_file refcount leak on cached nlm_do_fopen() failure
Details

In the Linux kernel, the following vulnerability has been resolved:

lockd: Plug nlmfile refcount leak on cached nlmdo_fopen() failure

The cached-file path in nlmlookupfile() reaches the found: label unconditionally, even when nlmdofopen() fails. At that label *result and file->fcount are updated before the error is returned. The wrappers nlm3svclookupfile() and nlm4svclookupfile() then bail out of their switch without copying *result back to their caller, so the proc handler's local nlmfile pointer remains NULL and the cleanup path skips nlmreleasefile(). The fcount increment is never released, and nlmtraverse_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 fcount is touched when nlmdofopen() fails on a hashed nlmfile.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72218.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e580323ac0b51ad10ec2e181d1f777479b7983e7
Fixed
6cd84cefd8b73e85b9eda17b319bd40a670f3a38
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7f024fcd5c97dc70bb9121c80407cf3cf9be7159
Fixed
fe3b45b56b6c3d4b6b341de27fa291005287a21c
Fixed
cb3420c047957e565101585bb4f15e1a6e3de6b0
Fixed
7ce4c23e783e766507b2cef27bbf97e9ca944f1a
Fixed
84008bf1860e0ef8059a7583a1163f36b704d08a
Fixed
46d59ff421824b6483549d87f14efffbbbd1f6cb
Fixed
3a5c55a19cad62f2973be25fe96a1a9e7f618e8a
Fixed
70a38f87bed7f0694fd07988b47b2db1e10d8df3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5.10.220
Fixed
5.10.261

Affected versions

v5.*
v5.10.220
v5.10.221
v5.10.222
v5.10.223
v5.10.224
v5.10.225
v5.10.226
v5.10.227
v5.10.228
v5.10.229
v5.10.230
v5.10.231
v5.10.232
v5.10.233
v5.10.234
v5.10.235
v5.10.236
v5.10.237
v5.10.238
v5.10.239
v5.10.240
v5.10.241
v5.10.242
v5.10.243
v5.10.244
v5.10.245
v5.10.246
v5.10.247
v5.10.248
v5.10.249
v5.10.250
v5.10.251
v5.10.252
v5.10.253
v5.10.254
v5.10.255
v5.10.256
v5.10.257
v5.10.258
v5.10.259
v5.10.260

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72218.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72218.json"