{"id":"CVE-2026-23038","aliases":["CVE-2026-23038"],"related":[],"kind":"vulnerability","state":"published","title":"pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()\n\nIn nfs4_ff_alloc_deviceid_node(), if the allocation for ds_versions fails,\nthe function jumps to the out_scratch label without freeing the already\nallocated dsaddrs list, leading to a memory leak.\n\nFix this by jumping to the out_err_drain_dsaddrs label, which properly\nfrees the dsaddrs list before cleaning up other resources.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()\n\nIn nfs4_ff_alloc_deviceid_node(), if the allocation for ds_versions fails,\nthe function jumps to the out_scratch label without freeing the already\nallocated dsaddrs list, leading to a memory leak.\n\nFix this by jumping to the out_err_drain_dsaddrs label, which properly\nfrees the dsaddrs list before cleaning up other resources.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\npnfs/flexfiles: Corrección de fuga de memoria en nfs4_ff_alloc_deviceid_node()\n\nEn 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.\n\nCorrija esto al saltar a la etiqueta out_err_drain_dsaddrs, que libera correctamente la lista dsaddrs antes de limpiar otros recursos.","source":"nvd"}],"published":"2026-01-31T11:42:32.599Z","modified":"2026-11-10T13:18:33.537Z","severities":[],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"d67ae825a59d639e4d8b82413af84d854617a87e","fixed":"e2dde5dafb80f1af4028ed10ad255f42af71c784","status":"affected"},{"type":"git","introduced":"d67ae825a59d639e4d8b82413af84d854617a87e","fixed":"27c90d8ed81e7a289c9fe41b5e31d8bb609a3385","status":"affected"},{"type":"git","introduced":"d67ae825a59d639e4d8b82413af84d854617a87e","fixed":"34b9dd179818ff7af2b36410985fd8166573c62d","status":"affected"},{"type":"git","introduced":"d67ae825a59d639e4d8b82413af84d854617a87e","fixed":"869862056e100973e76ce9f5f1b01837771b7722","status":"affected"},{"type":"git","introduced":"d67ae825a59d639e4d8b82413af84d854617a87e","fixed":"86da7efd12295a7e2b4abde5e5984c821edd938f","status":"affected"},{"type":"git","introduced":"d67ae825a59d639e4d8b82413af84d854617a87e","fixed":"ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb","status":"affected"},{"type":"git","introduced":"d67ae825a59d639e4d8b82413af84d854617a87e","fixed":"0c728083654f0066f5e10a1d2b0bd0907af19a58","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.0","status":"unaffected"},{"type":"semver","introduced":"5.10.249","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.199","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.162","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.122","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.67","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.7","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e2dde5dafb80f1af4028ed10ad255f42af71c784","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/27c90d8ed81e7a289c9fe41b5e31d8bb609a3385","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34b9dd179818ff7af2b36410985fd8166573c62d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/869862056e100973e76ce9f5f1b01837771b7722","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86da7efd12295a7e2b4abde5e5984c821edd938f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c728083654f0066f5e10a1d2b0bd0907af19a58","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-16T20:32:12.394Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23038","url":"https://www.cve.org/CVERecord?id=CVE-2026-23038","licence":"CVE Terms of Use","modified":"2026-11-10T12:41:28.448Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23038","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23038","licence":"Public domain","modified":"2026-11-10T13:18:33.537Z"}],"updatedAt":"2026-11-25T22:59:13.341Z","epss":{"score":0.00282,"percentile":0.22227,"date":"2026-12-01T12:00:22.000Z"}}