CVE-2026-23038

published 31 Jan 2026 · updated 12 Nov 2026

pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb, Kernel 0c728083654f0066f5e10a1d2b0bd0907af19a58, Kernel 27c90d8ed81e7a289c9fe41b5e31d8bb609a3385 and 10 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=d67ae825a59d639e4d8b82413af84d854617a87e <ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb, >=d67ae825a59d639e4d8b82413af84d854617a87e <0c728083654f0066f5e10a1d2b0bd0907af19a58, >=d67ae825a59d639e4d8b82413af84d854617a87e <27c90d8ed81e7a289c9fe41b5e31d8bb609a3385, >=d67ae825a59d639e4d8b82413af84d854617a87e <34b9dd179818ff7af2b36410985fd8166573c62d, >=d67ae825a59d639e4d8b82413af84d854617a87e <869862056e100973e76ce9f5f1b01837771b7722, >=d67ae825a59d639e4d8b82413af84d854617a87e <86da7efd12295a7e2b4abde5e5984c821edd938f, >=d67ae825a59d639e4d8b82413af84d854617a87e <e2dde5dafb80f1af4028ed10ad255f42af71c784, =4.0ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb, 0c728083654f0066f5e10a1d2b0bd0907af19a58, 27c90d8ed81e7a289c9fe41b5e31d8bb609a3385, 34b9dd179818ff7af2b36410985fd8166573c62d, 869862056e100973e76ce9f5f1b01837771b7722, 86da7efd12295a7e2b4abde5e5984c821edd938f, e2dde5dafb80f1af4028ed10ad255f42af71c784
linux-kernel: Kernel>=5.11.0 <5.15.199, >=5.16.0 <6.1.162, >=6.13.0 <6.18.7, >=6.2.0 <6.6.122, >=6.7.0 <6.12.67, >=4.0.0 <5.10.2495.15.199, 6.1.162, 6.18.7, 6.6.122, 6.12.67, 5.10.249

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-23038 severity on Zeptric[![CVE-2026-23038](https://zeptric.io/badge/cve/CVE-2026-23038.svg)](https://zeptric.io/cve/CVE-2026-23038)