CVE-2026-72219
lockd: Plug nlm_file leak when nlm_do_fopen() fails
Description
In the Linux kernel, the following vulnerability has been resolved: lockd: Plug nlm_file leak when nlm_do_fopen() fails A client can repeatedly drive nlm_do_fopen() failures by presenting file handles that the underlying export rejects. After kzalloc_obj() succeeds in nlm_lookup_file(), the freshly allocated nlm_file is not yet inserted into nlm_files[]. The nlm_do_fopen() failure path jumps to out_unlock, which releases nlm_file_mutex and returns without freeing the allocation, so each failure leaks one nlm_file. Route the failure through out_free so kfree() runs before the function returns.
INFO
Published Date :
Aug. 15, 2026, 6:21 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Ensure kfree() runs before function returns on failure.
- Route failure path through out_free.
- Update the Linux kernel.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72219.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72219 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72219
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72219 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72219 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e580323ac0b51ad10ec2e181d1f777479b7983e7', 'lessThan': 'bca74fff138429f3d5802865f38fc883d53a4f1a', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': 'd7c677feb3aa1f42b1026d75a8ea61338b51e4fb', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '39f59bf67231ed2eb0cdf6337194360e964b609a', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': 'ddfbd816273b4e9c9b836f5b8773664c6f40f807', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '1403f1221a35a6caf959bb7bf005741f17263c66', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '1161c4b5bd0048c8148e919f818a33cff3623ef0', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '3f2dc01b9cb516d4727a3b9263ee58c71ca00ba9', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': 'f16a1513452edb532fec81e591c64c320866719c', 'versionType': 'git'}, {'status': 'affected', 'version': '5.10.220', 'lessThan': '5.10.261', 'versionType': 'semver'}], 'programFiles': ['fs/lockd/svcsubs.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/lockd/svcsubs.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e580323ac0b51ad10ec2e181d1f777479b7983e7', 'lessThan': 'bca74fff138429f3d5802865f38fc883d53a4f1a', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': 'd7c677feb3aa1f42b1026d75a8ea61338b51e4fb', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '39f59bf67231ed2eb0cdf6337194360e964b609a', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': 'ddfbd816273b4e9c9b836f5b8773664c6f40f807', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '1403f1221a35a6caf959bb7bf005741f17263c66', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '1161c4b5bd0048c8148e919f818a33cff3623ef0', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '3f2dc01b9cb516d4727a3b9263ee58c71ca00ba9', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': 'f16a1513452edb532fec81e591c64c320866719c', 'versionType': 'git'}, {'status': 'affected', 'version': '5.10.220', 'lessThan': '5.10.261', 'versionType': 'semver'}], 'programFiles': ['fs/lockd/svcsubs.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/lockd/svcsubs.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e580323ac0b51ad10ec2e181d1f777479b7983e7', 'lessThan': 'bca74fff138429f3d5802865f38fc883d53a4f1a', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': 'd7c677feb3aa1f42b1026d75a8ea61338b51e4fb', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '39f59bf67231ed2eb0cdf6337194360e964b609a', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': 'ddfbd816273b4e9c9b836f5b8773664c6f40f807', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '1403f1221a35a6caf959bb7bf005741f17263c66', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '1161c4b5bd0048c8148e919f818a33cff3623ef0', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': '3f2dc01b9cb516d4727a3b9263ee58c71ca00ba9', 'versionType': 'git'}, {'status': 'affected', 'version': '7f024fcd5c97dc70bb9121c80407cf3cf9be7159', 'lessThan': 'f16a1513452edb532fec81e591c64c320866719c', 'versionType': 'git'}, {'status': 'affected', 'version': '5.10.220', 'lessThan': '5.10.261', 'versionType': 'semver'}], 'programFiles': ['fs/lockd/svcsubs.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/lockd/svcsubs.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: lockd: Plug nlm_file leak when nlm_do_fopen() fails A client can repeatedly drive nlm_do_fopen() failures by presenting file handles that the underlying export rejects. After kzalloc_obj() succeeds in nlm_lookup_file(), the freshly allocated nlm_file is not yet inserted into nlm_files[]. The nlm_do_fopen() failure path jumps to out_unlock, which releases nlm_file_mutex and returns without freeing the allocation, so each failure leaks one nlm_file. Route the failure through out_free so kfree() runs before the function returns. Added Reference https://git.kernel.org/stable/c/1161c4b5bd0048c8148e919f818a33cff3623ef0 Added Reference https://git.kernel.org/stable/c/1403f1221a35a6caf959bb7bf005741f17263c66 Added Reference https://git.kernel.org/stable/c/39f59bf67231ed2eb0cdf6337194360e964b609a Added Reference https://git.kernel.org/stable/c/3f2dc01b9cb516d4727a3b9263ee58c71ca00ba9 Added Reference https://git.kernel.org/stable/c/bca74fff138429f3d5802865f38fc883d53a4f1a Added Reference https://git.kernel.org/stable/c/d7c677feb3aa1f42b1026d75a8ea61338b51e4fb Added Reference https://git.kernel.org/stable/c/ddfbd816273b4e9c9b836f5b8773664c6f40f807 Added Reference https://git.kernel.org/stable/c/f16a1513452edb532fec81e591c64c320866719c