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.
Published: 2026-08-15
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in the Linux kernel’s lockd NFS lock manager causes a memory leak when the nlm_do_fopen() function fails. The bug causes code to release the nlm_file_mutex and return without freeing an allocated nlm_file object. Repeated failures can therefore accumulate a large number of unreleased nlm_file structures, gradually exhausting kernel memory and potentially leading to a denial of service.

Affected Systems

The affected product is the Linux kernel provided by the Linux vendor. Clients that use NFS lockd on a kernel containing this unpatched code are susceptible. Specific kernel version identifiers are not supplied in the data, so any release that includes the buggy code path is at risk, especially those before the commit that routes failures to a memory‑free path.

Risk and Exploitability

The CVSS score for this issue is 7.0, but the nature of the flaw – a memory leak that can be repeatedly triggered – indicates potential for significant impact by exhausting system memory and forcing kernel panic or degraded service. The EPSS score is less than 1%, making it difficult to gauge current exploitation likelihood. The vulnerability is not currently listed in CISA’s KEV catalog. Attackers would need to drive nlm_do_fopen() failures, likely by sending requests to the NFS lock manager that it rejects, which is possible from remote systems with network access to the NFS service.

Generated by OpenCVE AI on August 22, 2026 at 09:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes the patch for the nlm_file memory leak.
  • Limit NFS lock requests or configure the NFS server to reject excessive lock operations to reduce the frequency of nlm_do_fopen failures.
  • Monitor kernel memory usage and the number of nlm_file structures to detect abnormal growth that indicates the leak is still active.

Generated by OpenCVE AI on August 22, 2026 at 09:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Wed, 19 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Sat, 15 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values 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.
Title lockd: Plug nlm_file leak when nlm_do_fopen() fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:10:34.296Z

Reserved: 2026-08-09T03:40:39.913Z

Link: CVE-2026-72219

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:40.747

Modified: 2026-08-17T06:18:22.927

Link: CVE-2026-72219

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72219 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T09:30:17Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime