---
id: CVE-2026-23389
title: |-
  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
summary: |-
  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 j…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-401
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.17.1, < 6.12.81'
  - 'linux_kernel >= 6.13, < 6.18.22'
  - 'linux_kernel >= 6.19, < 6.19.7'
  - linux_kernel = 4.17
  - linux_kernel = 7.0
patched:
  - linux_kernel 6.19.7
published: '2026-03-25'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:18:54.073'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-23389'
references:
  - url: 'https://git.kernel.org/stable/c/44ba32a892b72de3faa04b8cfb1f2f1418fdd580'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/63dc317dfcd3faffd082c2bf3080f9ad070273da'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b23282218eca27b710111460b4964c8a456c6c44'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bddf04e3822e4fa38691433dd0750420d49a0dd6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e0c211a0c26159058303712d6b4fbd1c88835e6d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fe868b499d16f55bbeea89992edb98043c9de416'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-784472.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00117
epssPercentile: 0.01531
ingestedAt: '2026-10-15T03:30:12.847Z'
---

## Overview

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

- `linux_kernel >= 4.17.1, < 6.12.81`
- `linux_kernel >= 6.13, < 6.18.22`
- `linux_kernel >= 6.19, < 6.19.7`
- `linux_kernel = 4.17`
- `linux_kernel = 7.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.19.7`
