CVEvulnerability
CVE-2026-23038
- Status
- Deferred
- Published
- 2026-01-31
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Weaknesses
- CWE-401
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.
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/0c728083654f0066f5e10a1d2b0bd0907af19a58 git.kernel.org
- https://git.kernel.org/stable/c/27c90d8ed81e7a289c9fe41b5e31d8bb609a3385 git.kernel.org
- https://git.kernel.org/stable/c/34b9dd179818ff7af2b36410985fd8166573c62d git.kernel.org
- https://git.kernel.org/stable/c/869862056e100973e76ce9f5f1b01837771b7722 git.kernel.org
- https://git.kernel.org/stable/c/86da7efd12295a7e2b4abde5e5984c821edd938f git.kernel.org
- https://git.kernel.org/stable/c/e2dde5dafb80f1af4028ed10ad255f42af71c784 git.kernel.org
- https://git.kernel.org/stable/c/ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com