{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-72218","id":"CVE-2026-72218","title":"lockd: Plug nlm_file refcount leak on cached nlm_do_fopen() failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlockd: Plug nlm_file refcount leak on cached nlm_do_fopen() failure\n\nThe cached-file path in nlm_lookup_file() reaches the found: label\nunconditionally, even when nlm_do_fopen() fails. At that label\n*result and file->f_count are updated before the error is returned.\nThe wrappers nlm3svc_lookup_file() and nlm4svc_lookup_file() the","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nlockd: Plug nlm_file refcount leak on cached nlm_do_fopen() failure\n\nThe cached-file path in nlm_lookup_file() reaches the found: label\nunconditionally, even when nlm_do_fopen() fails. At that label\n*result and file->f_count are updated before the error is returned.\nThe wrappers nlm3svc_lookup_file() and nlm4svc_lookup_file() then\nbail out of their switch without copying *result back to their\ncaller, so the proc handler's local nlm_file pointer remains NULL\nand the cleanup path skips nlm_release_file(). The f_count\nincrement is never released, and nlm_traverse_files() can no\nlonger reap the file because its refcount never returns to zero\nbetween requests.\n\nShort-circuit the cached path so neither *result nor f_count is\ntouched when nlm_do_fopen() fails on a hashed nlm_file.","published":"2026-08-15T05:54:11.672Z","updated":"2026-11-17T07:03:36.369090882Z","reserved":"2026-08-09T03:40:39.913Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e580323ac0b51ad10ec2e181d1f777479b7983e7","lessThan":"6cd84cefd8b73e85b9eda17b319bd40a670f3a38","status":"affected","versionType":"git"},{"version":"7f024fcd5c97dc70bb9121c80407cf3cf9be7159","lessThan":"fe3b45b56b6c3d4b6b341de27fa291005287a21c","status":"affected","versionType":"git"},{"version":"7f024fcd5c97dc70bb9121c80407cf3cf9be7159","lessThan":"cb3420c047957e565101585bb4f15e1a6e3de6b0","status":"affected","versionType":"git"},{"version":"7f024fcd5c97dc70bb9121c80407cf3cf9be7159","lessThan":"7ce4c23e783e766507b2cef27bbf97e9ca944f1a","status":"affected","versionType":"git"},{"version":"7f024fcd5c97dc70bb9121c80407cf3cf9be7159","lessThan":"84008bf1860e0ef8059a7583a1163f36b704d08a","status":"affected","versionType":"git"},{"version":"7f024fcd5c97dc70bb9121c80407cf3cf9be7159","lessThan":"46d59ff421824b6483549d87f14efffbbbd1f6cb","status":"affected","versionType":"git"},{"version":"7f024fcd5c97dc70bb9121c80407cf3cf9be7159","lessThan":"3a5c55a19cad62f2973be25fe96a1a9e7f618e8a","status":"affected","versionType":"git"},{"version":"7f024fcd5c97dc70bb9121c80407cf3cf9be7159","lessThan":"70a38f87bed7f0694fd07988b47b2db1e10d8df3","status":"affected","versionType":"git"},{"version":"5.10.220","lessThan":"5.10.261","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.10.261","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.212","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.178","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.145","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.97","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.40","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6cd84cefd8b73e85b9eda17b319bd40a670f3a38","tags":["web"]},{"url":"https://git.kernel.org/stable/c/fe3b45b56b6c3d4b6b341de27fa291005287a21c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/cb3420c047957e565101585bb4f15e1a6e3de6b0","tags":["web"]},{"url":"https://git.kernel.org/stable/c/7ce4c23e783e766507b2cef27bbf97e9ca944f1a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/84008bf1860e0ef8059a7583a1163f36b704d08a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/46d59ff421824b6483549d87f14efffbbbd1f6cb","tags":["web"]},{"url":"https://git.kernel.org/stable/c/3a5c55a19cad62f2973be25fe96a1a9e7f618e8a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/70a38f87bed7f0694fd07988b47b2db1e10d8df3","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72218.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72218","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00216,"epssPercentile":0.12193,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-72218","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72218","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-72218","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-72218","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}