# CVE-2026-23389: ice: Fix memory leak in ice_set_ringparam()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-03-25T10:28:06.991Z
- Modified: 2026-11-05T22:18:23.213Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fcea6f3da546b93050f3534aadea7bd96c1d7349 before bddf04e3822e4fa38691433dd0750420d49a0dd6; from fcea6f3da546b93050f3534aadea7bd96c1d7349 before e0c211a0c26159058303712d6b4fbd1c88835e6d; from fcea6f3da546b93050f3534aadea7bd96c1d7349 before b23282218eca27b710111460b4964c8a456c6c44; from fcea6f3da546b93050f3534aadea7bd96c1d7349 before 63dc317dfcd3faffd082c2bf3080f9ad070273da; from fcea6f3da546b93050f3534aadea7bd96c1d7349 before 44ba32a892b72de3faa04b8cfb1f2f1418fdd580; from fcea6f3da546b93050f3534aadea7bd96c1d7349 before fe868b499d16f55bbeea89992edb98043c9de416; 4.17 (not affected: before 4.17; from 6.1.175 up to 6.1.*; from 6.6.136 up to 6.6.*; from 6.12.81 up to 6.12.*; from 6.18.22 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/bddf04e3822e4fa38691433dd0750420d49a0dd6>
- <https://git.kernel.org/stable/c/e0c211a0c26159058303712d6b4fbd1c88835e6d>
- <https://git.kernel.org/stable/c/b23282218eca27b710111460b4964c8a456c6c44> (patch)
- <https://git.kernel.org/stable/c/63dc317dfcd3faffd082c2bf3080f9ad070273da> (patch)
- <https://git.kernel.org/stable/c/44ba32a892b72de3faa04b8cfb1f2f1418fdd580> (patch)
- <https://git.kernel.org/stable/c/fe868b499d16f55bbeea89992edb98043c9de416> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-23389](https://www.cve.org/CVERecord?id=CVE-2026-23389), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-23389](https://nvd.nist.gov/vuln/detail/CVE-2026-23389), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-23389 · Whole record: https://cve.day/CVE-2026-23389.json · Rebuilt by cve.day 2026-11-25T22:59:16.707Z
