---
id: CVE-2026-72219
title: 'lockd: Plug nlm_file leak when nlm_do_fopen() fails'
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= e580323ac0b51ad10ec2e181d1f777479b7983e7 <
    bca74fff138429f3d5802865f38fc883d53a4f1a
  - >-
    Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 <
    d7c677feb3aa1f42b1026d75a8ea61338b51e4fb
  - >-
    Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 <
    39f59bf67231ed2eb0cdf6337194360e964b609a
  - >-
    Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 <
    ddfbd816273b4e9c9b836f5b8773664c6f40f807
  - >-
    Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 <
    1403f1221a35a6caf959bb7bf005741f17263c66
  - >-
    Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 <
    1161c4b5bd0048c8148e919f818a33cff3623ef0
  - >-
    Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 <
    3f2dc01b9cb516d4727a3b9263ee58c71ca00ba9
  - >-
    Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 <
    f16a1513452edb532fec81e591c64c320866719c
  - Linux >= 5.10.220 < 5.10.261
  - Linux 5.15
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-06T16:52:50.352444Z'
published: '2026-08-15'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T16:55:22.494Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-72219'
references:
  - url: 'https://git.kernel.org/stable/c/bca74fff138429f3d5802865f38fc883d53a4f1a'
  - url: 'https://git.kernel.org/stable/c/d7c677feb3aa1f42b1026d75a8ea61338b51e4fb'
  - url: 'https://git.kernel.org/stable/c/39f59bf67231ed2eb0cdf6337194360e964b609a'
  - url: 'https://git.kernel.org/stable/c/ddfbd816273b4e9c9b836f5b8773664c6f40f807'
  - url: 'https://git.kernel.org/stable/c/1403f1221a35a6caf959bb7bf005741f17263c66'
  - url: 'https://git.kernel.org/stable/c/1161c4b5bd0048c8148e919f818a33cff3623ef0'
  - url: 'https://git.kernel.org/stable/c/3f2dc01b9cb516d4727a3b9263ee58c71ca00ba9'
  - url: 'https://git.kernel.org/stable/c/f16a1513452edb532fec81e591c64c320866719c'
tags:
  - cve.org
epss: 0.00216
epssPercentile: 0.12174
ingestedAt: '2026-11-06T18:00:12.588Z'
---

## Overview

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

- `Linux >= e580323ac0b51ad10ec2e181d1f777479b7983e7 < bca74fff138429f3d5802865f38fc883d53a4f1a`
- `Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < d7c677feb3aa1f42b1026d75a8ea61338b51e4fb`
- `Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < 39f59bf67231ed2eb0cdf6337194360e964b609a`
- `Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < ddfbd816273b4e9c9b836f5b8773664c6f40f807`
- `Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < 1403f1221a35a6caf959bb7bf005741f17263c66`
- `Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < 1161c4b5bd0048c8148e919f818a33cff3623ef0`
- `Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < 3f2dc01b9cb516d4727a3b9263ee58c71ca00ba9`
- `Linux >= 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < f16a1513452edb532fec81e591c64c320866719c`
- `Linux >= 5.10.220 < 5.10.261`
- `Linux 5.15`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
