Shellfeed logo Shellfeed

CVE-2026-72219 · UNKNOWN

Summary: lockd: Plug nlm_file leak when nlm_do_fopen() fails

Details

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 packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [e580323ac0b51ad10ec2e181d1f777479b7983e7 – bca74fff138429f3d5802865f38fc883d53a4f1a] [7f024fcd5c97dc70bb9121c80407cf3cf9be7159 – d7c677feb3aa1f42b1026d75a8ea61338b51e4fb] [5.10.220 – 5.10.261]
  • Linux Kernel [0 – 5.10.261] [5.11.0 – 5.15.212] [5.15.0 – 6.1.178] [5.16.0 – 6.6.145] [6.2.0 – 6.12.97] [6.7.0 – 6.18.40] [6.13.0 – 7.1.5]

References