HIGH Introduced in 6.14
mlx5 MissTable UAF
CVE-2026-98895
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
KernelScan AI7.8HIGH
01Description
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.
02KernelScan AI Analysis
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.
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.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.18 | 6.14 | 6.18.53 | 6efdc212627c |
| mainline | 6.14 | 7.2 | 60e9e82f162a |
| cip/6.12 | 6.14 | 6.12.111-cip32 | 16b81428f7b5 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.111-cip32 |