CVE-2026-23038
JSON

Not scored

pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()

Severity
Not scored
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom d67ae825a59d639e4d8b82413af84d854617a87e before e2dde5dafb80f1af4028ed10ad255f42af71c784, from d67ae825a59d639e4d8b82413af84d854617a87e before 27c90d8ed81e7a289c9fe41b5e31d8bb609a3385, from d67ae825a59d639e4d8b82413af84d854617a87e before 34b9dd179818ff7af2b36410985fd8166573c62d, from d67ae825a59d639e4d8b82413af84d854617a87e before 869862056e100973e76ce9f5f1b01837771b7722, from d67ae825a59d639e4d8b82413af84d854617a87e before 86da7efd12295a7e2b4abde5e5984c821edd938f, from d67ae825a59d639e4d8b82413af84d854617a87e before ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb, from d67ae825a59d639e4d8b82413af84d854617a87e before 0c728083654f0066f5e10a1d2b0bd0907af19a58, 4.0
Not affected: before 4.0, from 5.10.249 up to 5.10.*, from 5.15.199 up to 5.15.*, from 6.1.162 up to 6.1.*, from 6.6.122 up to 6.6.*, from 6.12.67 up to 6.12.*
CVE List

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: pnfs/flexfiles: Corrección de fuga de memoria en nfs4_ff_alloc_deviceid_node() En nfs4_ff_alloc_deviceid_node(), si la asignación para ds_versions falla, la función salta a la etiqueta out_scratch sin liberar la lista dsaddrs ya asignada, lo que lleva a una fuga de memoria. Corrija esto al saltar a la etiqueta out_err_drain_dsaddrs, que libera correctamente la lista dsaddrs antes de limpiar otros recursos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23038 changed 2026-11-10CVE Terms of Use
NVDCVE-2026-23038 changed 2026-11-10Public domain