What’s Vulnerable › Vulnerabilities
CVE-2026-23389: ice: Fix memory leak in ice_set_ringparam()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-25 · updated 2026-10-15
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: ice: Fix memory leak in ice_set_ringparam() In ice_set_ringparam, tx_rings and xdp_rings are allocated before rx_rings. If the allocation of rx_rings fails, the code jumps to the done label leaking both tx_rings and xdp_rings. Furthermore, if the setup of an individual Rx ring fails during the loop, the code jumps to the free_tx label which releases tx_rings but leaks xdp_rings. Fix this by introducing a free_xdp label and updating the error paths to ensure both xdp_rings and tx_rings are properly freed if rx_rings allocation or setup fails. Compile tested only. Issue found using a prototype static analysis tool and code review.
Affected products
- Linux kernel: from 4.17.1 before 6.12.81; from 6.13 before 6.18.22; from 6.19 before 6.19.7; 4.17, 7.0-rc1, 7.0-rc2, 7.0-rc3, 7.0-rc4, 7.0-rc5 (+2) — fixed in 6.12.81, 6.18.22, 6.19.7
How to fix
Upgrade to a fixed version: Linux kernel 6.12.81, 6.18.22, 6.19.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/44ba32a892b72de3faa04b8cfb1f2f1418fdd580
- https://git.kernel.org/stable/c/63dc317dfcd3faffd082c2bf3080f9ad070273da
- https://git.kernel.org/stable/c/b23282218eca27b710111460b4964c8a456c6c44
- https://git.kernel.org/stable/c/bddf04e3822e4fa38691433dd0750420d49a0dd6
- https://git.kernel.org/stable/c/e0c211a0c26159058303712d6b4fbd1c88835e6d
- https://git.kernel.org/stable/c/fe868b499d16f55bbeea89992edb98043c9de416
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
Get alerted when CVE-2026-23389 or the next vulnerability affects your stack