Description
In the Linux kernel, the following vulnerability has been resolved:

pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()

In nfs4_ff_alloc_deviceid_node(), if the allocation for ds_versions fails,
the function jumps to the out_scratch label without freeing the already
allocated dsaddrs list, leading to a memory leak.

Fix this by jumping to the out_err_drain_dsaddrs label, which properly
frees the dsaddrs list before cleaning up other resources.
Published: 2026-01-31
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via Resource Exhaustion
Action: Patch
AI Analysis

Impact

A memory leak is introduced in the Linux kernel’s pnfs/flexfiles subsystem when the function nfs4_ff_alloc_deviceid_node() fails to free the dsaddrs list after a memory allocation failure. Over repeated calls, the leaked kernel memory can accumulate, eventually exhausting available memory and causing system slowdown or a crash. The flaw does not provide code execution or privilege escalation directly; it simply corrupts resource accounting and can cause a denial of service that would require local or privileged access to trigger repeatedly.

Affected Systems

This issue affects all Linux kernel releases that include the pnfs/flexfiles infrastructure. No specific version range is defined in the advisory, so any kernel that incorporates this subsystem is potentially impacted until the vendor distributes an updated image containing the patch.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.0, indicating a serious impact. Its EPSS score is less than 1% and it is not listed in the CISA KEV catalog, suggesting that exploitation in the wild is unlikely. The flaw requires that an attacker can cause the failing allocation path to execute, which typically demands local or elevated privileges. If successfully exercised, the attacker could drain system memory and drive the host into an unusable state, but the risk remains bounded to denial of service rather than data compromise or code execution.

Generated by OpenCVE AI on April 18, 2026 at 14:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch identified in the advisory (for example, the commit referenced in the provided links).
  • Reboot the system after applying the update to load the new kernel image.
  • If the NFS flexfiles feature is not required in your environment, disable the pnfs subsystem or avoid using NFS4 flexfiles commands to eliminate the function that contains the leak.

Generated by OpenCVE AI on April 18, 2026 at 14:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4475-1 linux security update
Debian DLA Debian DLA DLA-4476-1 linux-6.1 security update
Debian DSA Debian DSA DSA-6126-1 linux security update
Debian DSA Debian DSA DSA-6127-1 linux security update
Ubuntu USN Ubuntu USN USN-8162-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8180-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8180-2 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8186-1 Linux kernel (Real-time) vulnerabilities
Ubuntu USN Ubuntu USN USN-8187-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8188-1 Linux kernel (HWE) vulnerabilities
History

Sat, 18 Apr 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Fri, 06 Feb 2026 16:45:00 +0000


Mon, 02 Feb 2026 12:15:00 +0000

Type Values Removed Values Added
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

Important


Sat, 31 Jan 2026 12:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node() In nfs4_ff_alloc_deviceid_node(), if the allocation for ds_versions fails, the function jumps to the out_scratch label without freeing the already allocated dsaddrs list, leading to a memory leak. Fix this by jumping to the out_err_drain_dsaddrs label, which properly frees the dsaddrs list before cleaning up other resources.
Title pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()
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-02-09T08:37:33.004Z

Reserved: 2026-01-13T15:37:45.943Z

Link: CVE-2026-23038

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-01-31T12:16:07.110

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-23038

cve-icon Redhat

Severity : Important

Publid Date: 2026-01-31T00:00:00Z

Links: CVE-2026-23038 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T14:30:02Z

Weaknesses