Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 547E63B7748 for ; Wed, 25 Mar 2026 10:32:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434757; cv=none; b=JU/fR0b6Bk/JpRMLOpGLJZb5FOCpOwyswkU+he01HRRHs9tirot8IRGC88k8/2zvxLLzoj8a56HH00kKkZzV0CuARCuSz2mcRADkIUuwqJgggz6BVENbgDOVYSnXLfURhIrsmw/2zRWnNLdJS1n4E4Zr86siitEp5F1cXY3c8gA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434757; c=relaxed/simple; bh=mnc8htpp52751SOmJFN3JqTnQRnSd/zumU46akOfbaU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BhVGGkFOoaN6jVIewf4vcaxkmu6sYbCQqQtD/JqEpmCMIlCiYkIGjaqaod2XHGuJxmeVy/SLNbLT0b+ZxWZ3rLadclrBjCtwf8kIO++HAD20RYeDnx0ep7T7MXmuYDvMirzJ5pyHIRsEjfLxI+fNAbal+ITRT8Q0o0E0jRKBvfw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WLYguH/m; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WLYguH/m" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9A18C4CEF7; Wed, 25 Mar 2026 10:32:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434757; bh=mnc8htpp52751SOmJFN3JqTnQRnSd/zumU46akOfbaU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=WLYguH/me1x3SEXbxrZ7BoZLZQmfTd4x6n8gc9M5K5+3/GuEF8Gd9zU3YEQWe6Ch1 kcQiH9sygyt0kDeYu8MNEGOaMrKhxtVqfs+tuhW2RKuj9M+FPJtujzuAuCc15jMiik UQV16ICX5KpMjABmRw1ax41O9wCcJuqRiBXjbdp0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23389: ice: Fix memory leak in ice_set_ringparam() Date: Wed, 25 Mar 2026 11:28:13 +0100 Message-ID: <2026032544-CVE-2026-23389-2056@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2379; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Pgo63vsItaP+dsFTqTACZrqcxNYt9TFfBNO8DC4kUIs=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd6R8TfwdFOnrf27dWt/g/IvmjuzftXrZXvlFKkbts b35fbFNRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkvDnD/Jpjf+6VqAolfhNw 2XyhvaSS+9z2XoYFK/ft3N27li3m/3/3jJs5kxkyQkX4AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-23389 to this issue. Affected and fixed versions =========================== Issue introduced in 4.17 with commit fcea6f3da546b93050f3534aadea7bd96c1d7349 and fixed in 6.19.7 with commit 44ba32a892b72de3faa04b8cfb1f2f1418fdd580 Issue introduced in 4.17 with commit fcea6f3da546b93050f3534aadea7bd96c1d7349 and fixed in 7.0-rc3 with commit fe868b499d16f55bbeea89992edb98043c9de416 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-23389 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/intel/ice/ice_ethtool.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/44ba32a892b72de3faa04b8cfb1f2f1418fdd580 https://git.kernel.org/stable/c/fe868b499d16f55bbeea89992edb98043c9de416