What’s Vulnerable › Vulnerabilities

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.261, 7.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-72219 or the next vulnerability affects your stack