CVE-2026-23389

ice: Fix memory leak in ice_set_ringparam()

State
Published
Severity
Not scored
Published
Mar 25, 2026
Updated
Oct 15, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fcea6f3da546b93050f3534aadea7bd96c1d7349 to before bddf04e3822e4fa38691433dd0750420d49a0dd6Affected
  • fcea6f3da546b93050f3534aadea7bd96c1d7349 to before e0c211a0c26159058303712d6b4fbd1c88835e6dAffected
  • fcea6f3da546b93050f3534aadea7bd96c1d7349 to before b23282218eca27b710111460b4964c8a456c6c44Affected
  • fcea6f3da546b93050f3534aadea7bd96c1d7349 to before 63dc317dfcd3faffd082c2bf3080f9ad070273daAffected
  • fcea6f3da546b93050f3534aadea7bd96c1d7349 to before 44ba32a892b72de3faa04b8cfb1f2f1418fdd580Affected
  • fcea6f3da546b93050f3534aadea7bd96c1d7349 to before fe868b499d16f55bbeea89992edb98043c9de416Affected
LinuxLinux
  • 4.17Affected
  • before 4.17Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.136 through 6.6.*Not affected
  • 6.12.81 through 6.12.*Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.7 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.