{"id":"CVE-2026-23389","state":"PUBLISHED","title":"ice: Fix memory leak in ice_set_ringparam()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: Fix memory leak in ice_set_ringparam()\n\nIn ice_set_ringparam, tx_rings and xdp_rings are allocated before\nrx_rings. If the allocation of rx_rings fails, the code jumps to\nthe done label leaking both tx_rings and xdp_rings. Furthermore, if\nthe setup of an individual Rx ring fails during the loop, the code jumps\nto the free_tx label which releases tx_rings but leaks xdp_rings.\n\nFix this by introducing a free_xdp label and updating the error paths to\nensure both xdp_rings and tx_rings are properly freed if rx_rings\nallocation or setup fails.\n\nCompile tested only. Issue found using a prototype static analysis tool\nand code review.","publishedAt":"2026-03-25T10:28:06.991Z","updatedAt":"2026-10-15T01:14:40.268Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"bddf04e3822e4fa38691433dd0750420d49a0dd6","versionType":"git"},{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"e0c211a0c26159058303712d6b4fbd1c88835e6d","versionType":"git"},{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"b23282218eca27b710111460b4964c8a456c6c44","versionType":"git"},{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"63dc317dfcd3faffd082c2bf3080f9ad070273da","versionType":"git"},{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"44ba32a892b72de3faa04b8cfb1f2f1418fdd580","versionType":"git"},{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"fe868b499d16f55bbeea89992edb98043c9de416","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_ethtool.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.17","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.136","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.81","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.22","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.7","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_ethtool.c"]}],"references":["https://git.kernel.org/stable/c/bddf04e3822e4fa38691433dd0750420d49a0dd6","https://git.kernel.org/stable/c/e0c211a0c26159058303712d6b4fbd1c88835e6d","https://git.kernel.org/stable/c/b23282218eca27b710111460b4964c8a456c6c44","https://git.kernel.org/stable/c/63dc317dfcd3faffd082c2bf3080f9ad070273da","https://git.kernel.org/stable/c/44ba32a892b72de3faa04b8cfb1f2f1418fdd580","https://git.kernel.org/stable/c/fe868b499d16f55bbeea89992edb98043c9de416","https://cert-portal.siemens.com/productcert/html/ssa-784472.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23389.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23389","state":"PUBLISHED","datePublished":"2026-03-25T10:28:06.991Z","dateUpdated":"2026-10-15T01:14:40.268Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:37:46.008Z"},"containers":{"cna":{"title":"ice: Fix memory leak in ice_set_ringparam()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: Fix memory leak in ice_set_ringparam()\n\nIn ice_set_ringparam, tx_rings and xdp_rings are allocated before\nrx_rings. If the allocation of rx_rings fails, the code jumps to\nthe done label leaking both tx_rings and xdp_rings. Furthermore, if\nthe setup of an individual Rx ring fails during the loop, the code jumps\nto the free_tx label which releases tx_rings but leaks xdp_rings.\n\nFix this by introducing a free_xdp label and updating the error paths to\nensure both xdp_rings and tx_rings are properly freed if rx_rings\nallocation or setup fails.\n\nCompile tested only. Issue found using a prototype static analysis tool\nand code review."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"bddf04e3822e4fa38691433dd0750420d49a0dd6","versionType":"git"},{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"e0c211a0c26159058303712d6b4fbd1c88835e6d","versionType":"git"},{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"b23282218eca27b710111460b4964c8a456c6c44","versionType":"git"},{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"63dc317dfcd3faffd082c2bf3080f9ad070273da","versionType":"git"},{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"44ba32a892b72de3faa04b8cfb1f2f1418fdd580","versionType":"git"},{"version":"fcea6f3da546b93050f3534aadea7bd96c1d7349","status":"affected","lessThan":"fe868b499d16f55bbeea89992edb98043c9de416","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_ethtool.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.17","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.136","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.81","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.22","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.7","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_ethtool.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/bddf04e3822e4fa38691433dd0750420d49a0dd6"},{"url":"https://git.kernel.org/stable/c/e0c211a0c26159058303712d6b4fbd1c88835e6d"},{"url":"https://git.kernel.org/stable/c/b23282218eca27b710111460b4964c8a456c6c44"},{"url":"https://git.kernel.org/stable/c/63dc317dfcd3faffd082c2bf3080f9ad070273da"},{"url":"https://git.kernel.org/stable/c/44ba32a892b72de3faa04b8cfb1f2f1418fdd580"},{"url":"https://git.kernel.org/stable/c/fe868b499d16f55bbeea89992edb98043c9de416"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-01T16:11:04.856Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"6.1.175"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"6.6.136"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"6.12.81"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"6.18.22"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"6.19.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T01:14:40.268Z"},"x_adpType":"supplier"}]}}}