pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()

Summary

CVECVE-2026-23038
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-01-31 12:16:07 UTC
Updated2026-07-14 13:18:23 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.002220000 probability, percentile 0.127450000 (date 2026-07-14)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected d67ae825a59d639e4d8b82413af84d854617a87e e2dde5dafb80f1af4028ed10ad255f42af71c784 git Not specified
CNA Linux Linux affected d67ae825a59d639e4d8b82413af84d854617a87e 27c90d8ed81e7a289c9fe41b5e31d8bb609a3385 git Not specified
CNA Linux Linux affected d67ae825a59d639e4d8b82413af84d854617a87e 34b9dd179818ff7af2b36410985fd8166573c62d git Not specified
CNA Linux Linux affected d67ae825a59d639e4d8b82413af84d854617a87e 869862056e100973e76ce9f5f1b01837771b7722 git Not specified
CNA Linux Linux affected d67ae825a59d639e4d8b82413af84d854617a87e 86da7efd12295a7e2b4abde5e5984c821edd938f git Not specified
CNA Linux Linux affected d67ae825a59d639e4d8b82413af84d854617a87e ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb git Not specified
CNA Linux Linux affected d67ae825a59d639e4d8b82413af84d854617a87e 0c728083654f0066f5e10a1d2b0bd0907af19a58 git Not specified
CNA Linux Linux affected 4.0 Not specified
CNA Linux Linux unaffected 4.0 semver Not specified
CNA Linux Linux unaffected 5.10.249 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.199 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.162 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.122 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.67 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.7 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19 * original_commit_for_fix Not specified
ADP Siemens RUGGEDCOM RST2428P affected V4.0 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.6 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.6 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.6 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.6 * custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.6 * custom Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/e2dde5dafb80f1af4028ed10ad255f42af71c784 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/869862056e100973e76ce9f5f1b01837771b7722 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
cert-portal.siemens.com/productcert/html/ssa-019113.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.kernel.org/stable/c/0c728083654f0066f5e10a1d2b0bd0907af19a58 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
cert-portal.siemens.com/productcert/html/ssa-253495.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.kernel.org/stable/c/27c90d8ed81e7a289c9fe41b5e31d8bb609a3385 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/34b9dd179818ff7af2b36410985fd8166573c62d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/86da7efd12295a7e2b4abde5e5984c821edd938f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report