Skip to contentSkip to conversation

CVE-2026-99044: ice: fix use-after-free in dynamic port cleanup

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ice: fix use-after-free in dynamic port cleanup

ice_dealloc_dynamic_port() uses dyn_port->vsi->idx to erase the dynamic port from pf->dyn_ports. However, it frees the VSI before reading the index for the erase, resulting in a use-after-free.

Follow the reverse of the allocation order in ice_alloc_dynamic_port() by erasing the xarray entry before freeing the VSI.

The Linux kernel CVE team has assigned CVE-2026-99044 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.12 with commit eda69d654c7edae21312f731e0308941cb2ee2a9 and fixed in 6.12.114 with commit 7c1344df1ae0579f57b97647e5203b06496ce10c
	Issue introduced in 6.12 with commit eda69d654c7edae21312f731e0308941cb2ee2a9 and fixed in 6.18.57 with commit ca8a6285b11d01e5a279b1aa7fb55b1a02ecebb1
	Issue introduced in 6.12 with commit eda69d654c7edae21312f731e0308941cb2ee2a9 and fixed in 7.2.11 with commit b98eb58ba2f8fe8e9bba1b8a3b94fa5602c6de84
	Issue introduced in 6.12 with commit eda69d654c7edae21312f731e0308941cb2ee2a9 and fixed in 7.3 with commit 1402fc67d2f4e2e1fc7bf8ee0825b8ad994557ff

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-99044

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/devlink/port.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/7c1344df1ae0579f57b97647e5203b06496ce10c
	https://git.kernel.org/stable/c/ca8a6285b11d01e5a279b1aa7fb55b1a02ecebb1
	https://git.kernel.org/stable/c/b98eb58ba2f8fe8e9bba1b8a3b94fa5602c6de84
	https://git.kernel.org/stable/c/1402fc67d2f4e2e1fc7bf8ee0825b8ad994557ff