Skip to contentSkip to conversation

CVE-2026-98895: net/mlx5: HWS, Handle destroying table that has a miss table

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:

net/mlx5: HWS, Handle destroying table that has a miss table

If a table has a miss table that was created by 'mlx5hws_table_set_default_miss' API function, its miss_tbl keeps the table that points to it in a list.
If such table is deleted, we need to also remove it from the miss_tbl list, otherwise the node in miss_tbl list will contain garbage.

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

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

	Fixed in 6.12.111 with commit 16b81428f7b5f253ab30a998bc4f4ecd1c8823f8
	Fixed in 6.18.53 with commit 6efdc212627cecf33b594256ae4460b4c52a126a
	Fixed in 7.2 with commit 60e9e82f162ab7399373ff2185119289e4f6dc06

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

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/mellanox/mlx5/core/steering/hws/table.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/16b81428f7b5f253ab30a998bc4f4ecd1c8823f8
	https://git.kernel.org/stable/c/6efdc212627cecf33b594256ae4460b4c52a126a
	https://git.kernel.org/stable/c/60e9e82f162ab7399373ff2185119289e4f6dc06