CVE-2026-23038
NoneCVSS
—
EPSS
0.3%
Published
Jan 31, 2026
CISA due date
—
Cloudanix analysis
A programming mistake in the Linux kernel can slowly waste memory when certain network file system features are used, potentially making servers slower or unstable until the kernel is updated.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Theoretical
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Memory leak occurs in nfs4_ff_alloc_deviceid_node when ds_versions allocation fails, causing an unconditional jump to out_scratch that bypasses freeing of the previously allocated dsaddrs list.
Why it matters to the business
Systems relying on NFS flexible file layouts may experience gradual kernel memory exhaustion, resulting in degraded performance, increased swapping, or eventual system instability if the leak path is repeatedly triggered.
How an attack unfolds
An attacker with the ability to induce allocation failures during NFS device ID node setup can cause repeated leaks; the flaw is triggered by normal NFS operations hitting the error path rather than by direct malicious input.
How to fix it
Update the Linux kernel to a version containing commit e2dde5dafb80f1af4028ed10ad255f42af71c784 or later; rebuild and reboot affected systems with the patched kernel.
How to confirm the fix worked
Confirm the running kernel contains commit e2dde5dafb80f1af4028ed10ad255f42af71c784; inspect the source of nfs4_ff_alloc_deviceid_node to verify the correct error label is used.
Typical attack path
- Establish an NFS mount using the flexible files layout
- Force the kernel into the ds_versions allocation failure path inside nfs4_ff_alloc_deviceid_node
- Repeat the triggering condition to accumulate unfreed dsaddrs memory
How to detect it
Inspect kernel memory statistics and slab allocator usage for repeated allocations tied to NFS device ID structures; correlate with NFS mount and layout operations in system logs.
What your security team should do
- Apply the referenced kernel commit immediately on all systems using NFS flexible files layouts
- Monitor memory usage on NFS servers for unexpected growth until patches are deployed
- Review NFS configuration to determine exposure breadth across the environment
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 4.0.0 | 5.10.249 |
| openSUSE:Leap 16.0 | dtb-aarch64 | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-64kb | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-azure | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-default | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-default-base | 0 | 6.12.0-160000.27.1.160000.2.8 |
| openSUSE:Leap 16.0 | kernel-docs | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-rt | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-source | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-syms | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | 0 | 6.12.0-160000.27.1 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel