KernelScan.io

HIGH Introduced in 6.14

mlx5 MissTable UAF

CVE-2026-98895

CVSS 7.0 / 10.0 NVD

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.8HIGH

01

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.

02

Engine v0.9.0

Risk summary

A local attacker with CAP_NET_ADMIN (obtainable in a user namespace) can trigger a use-after-free in the Mellanox mlx5 hardware steering subsystem by creating a steering table with a default miss table and then destroying the parent table. This leaves a dangling pointer in the miss table's list, enabling kernel memory corruption, privilege escalation, or denial of service.

Affecteddrivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.c (mlx5 HWS steering)

Vulnerability analysis

When a steering table is configured with a default miss table via the mlx5hws_table_set_default_miss API, the table is added to a linked list maintained by the miss table. The destroy path failed to remove the table from this list before freeing it, leaving a list node pointing to freed memory. The fix adds a cleanup step that unlinks the table from the miss table's list prior to destruction. The vulnerability is reachable locally by any process with CAP_NET_ADMIN — including unprivileged users inside a user namespace — and does not require network packet injection or physical access.

03

BranchIntroducedFixed inPatch commit
6.186.146.18.536efdc212627c
mainline6.147.260e9e82f162a
cip/6.126.146.12.111-cip3216b81428f7b5

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.111-cip32