{"api_version":"1","generated_at":"2026-07-23T15:40:24+00:00","cve":"CVE-2026-23038","urls":{"html":"https://cve.report/CVE-2026-23038","api":"https://cve.report/api/cve/CVE-2026-23038.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-23038","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-23038"},"summary":{"title":"pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-01-31 12:16:07","updated_at":"2026-07-14 13:18:23"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/e2dde5dafb80f1af4028ed10ad255f42af71c784","name":"https://git.kernel.org/stable/c/e2dde5dafb80f1af4028ed10ad255f42af71c784","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/869862056e100973e76ce9f5f1b01837771b7722","name":"https://git.kernel.org/stable/c/869862056e100973e76ce9f5f1b01837771b7722","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","name":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","refsource":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0c728083654f0066f5e10a1d2b0bd0907af19a58","name":"https://git.kernel.org/stable/c/0c728083654f0066f5e10a1d2b0bd0907af19a58","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","name":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","refsource":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/27c90d8ed81e7a289c9fe41b5e31d8bb609a3385","name":"https://git.kernel.org/stable/c/27c90d8ed81e7a289c9fe41b5e31d8bb609a3385","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/34b9dd179818ff7af2b36410985fd8166573c62d","name":"https://git.kernel.org/stable/c/34b9dd179818ff7af2b36410985fd8166573c62d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb","name":"https://git.kernel.org/stable/c/ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/86da7efd12295a7e2b4abde5e5984c821edd938f","name":"https://git.kernel.org/stable/c/86da7efd12295a7e2b4abde5e5984c821edd938f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-23038","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23038","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d67ae825a59d639e4d8b82413af84d854617a87e e2dde5dafb80f1af4028ed10ad255f42af71c784 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d67ae825a59d639e4d8b82413af84d854617a87e 27c90d8ed81e7a289c9fe41b5e31d8bb609a3385 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d67ae825a59d639e4d8b82413af84d854617a87e 34b9dd179818ff7af2b36410985fd8166573c62d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d67ae825a59d639e4d8b82413af84d854617a87e 869862056e100973e76ce9f5f1b01837771b7722 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d67ae825a59d639e4d8b82413af84d854617a87e 86da7efd12295a7e2b4abde5e5984c821edd938f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d67ae825a59d639e4d8b82413af84d854617a87e ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d67ae825a59d639e4d8b82413af84d854617a87e 0c728083654f0066f5e10a1d2b0bd0907af19a58 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.249 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.199 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.162 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.122 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.67 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.7 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19 * original_commit_for_fix","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM RST2428P","version":"affected V4.0 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"23038","cve":"CVE-2026-23038","epss":"0.002220000","percentile":"0.127450000","score_date":"2026-07-14","updated_at":"2026-07-15 00:14:55"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"affected":[{"defaultStatus":"unknown","product":"RUGGEDCOM RST2428P","vendor":"Siemens","versions":[{"lessThan":"V4.0","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]}],"providerMetadata":{"dateUpdated":"2026-07-14T12:45:51.178Z","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP"},"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html"}],"x_adpType":"supplier"},{"metrics":[{"other":{"content":{"id":"CVE-2026-23038","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-06-16T20:32:12.394629Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-06-16T20:32:22.872Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/nfs/flexfilelayout/flexfilelayoutdev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e2dde5dafb80f1af4028ed10ad255f42af71c784","status":"affected","version":"d67ae825a59d639e4d8b82413af84d854617a87e","versionType":"git"},{"lessThan":"27c90d8ed81e7a289c9fe41b5e31d8bb609a3385","status":"affected","version":"d67ae825a59d639e4d8b82413af84d854617a87e","versionType":"git"},{"lessThan":"34b9dd179818ff7af2b36410985fd8166573c62d","status":"affected","version":"d67ae825a59d639e4d8b82413af84d854617a87e","versionType":"git"},{"lessThan":"869862056e100973e76ce9f5f1b01837771b7722","status":"affected","version":"d67ae825a59d639e4d8b82413af84d854617a87e","versionType":"git"},{"lessThan":"86da7efd12295a7e2b4abde5e5984c821edd938f","status":"affected","version":"d67ae825a59d639e4d8b82413af84d854617a87e","versionType":"git"},{"lessThan":"ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb","status":"affected","version":"d67ae825a59d639e4d8b82413af84d854617a87e","versionType":"git"},{"lessThan":"0c728083654f0066f5e10a1d2b0bd0907af19a58","status":"affected","version":"d67ae825a59d639e4d8b82413af84d854617a87e","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/nfs/flexfilelayout/flexfilelayoutdev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.0"},{"lessThan":"4.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.249","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.199","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.162","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.122","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.67","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.19","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.249","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.199","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.162","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.122","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.67","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.7","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19","versionStartIncluding":"4.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-05-11T21:58:48.041Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e2dde5dafb80f1af4028ed10ad255f42af71c784"},{"url":"https://git.kernel.org/stable/c/27c90d8ed81e7a289c9fe41b5e31d8bb609a3385"},{"url":"https://git.kernel.org/stable/c/34b9dd179818ff7af2b36410985fd8166573c62d"},{"url":"https://git.kernel.org/stable/c/869862056e100973e76ce9f5f1b01837771b7722"},{"url":"https://git.kernel.org/stable/c/86da7efd12295a7e2b4abde5e5984c821edd938f"},{"url":"https://git.kernel.org/stable/c/ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb"},{"url":"https://git.kernel.org/stable/c/0c728083654f0066f5e10a1d2b0bd0907af19a58"}],"title":"pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-23038","datePublished":"2026-01-31T11:42:32.599Z","dateReserved":"2026-01-13T15:37:45.943Z","dateUpdated":"2026-07-14T12:45:51.178Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-01-31 12:16:07","lastModifiedDate":"2026-07-14 13:18:23","problem_types":[],"metrics":{"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-16T20:32:12.394629Z","id":"CVE-2026-23038","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"23038","Ordinal":"1","Title":"pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()","CVE":"CVE-2026-23038","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"23038","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()"}]}}}