CVE-2026-23038
kernel: Linux kernel: Memory leak in pnfs/flexfiles can lead to denial of service
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 31, 2026
Updated · June 28, 2026
Description
A flaw was found in the Linux kernel. A local user could exploit this flaw by triggering a specific condition in the nfs4_ff_alloc_deviceid_node() function within the pnfs/flexfiles module. This occurs because the dsaddrs list is not properly freed when the allocation for ds_versions fails. This memory leak could result in a Denial of Service (DoS) due to resource exhaustion.
Statement
A memory leak in pnfs flexfiles can occur in nfs4_ff_alloc_deviceid_node when allocation of ds_versions fails after dsaddrs has already been allocated. In that error path the function jumps to a cleanup label that does not drain the dsaddrs list which leaves an unreferenced allocation behind. Repeating the failing operation can accumulate leaked memory and may eventually cause a denial of service through resource exhaustion. For the CVSS the PR:H is typical because configuring and exercising pnfs flexfiles is usually limited to administrators and privileged services. The issue is not directly network reachable based on the patch context. Impact is availability only and is limited to memory consumption.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-772 · Missing Release of Resource after Effective Lifetime