Database/Firmware, BMC & network fabric
Linux kernel (drivers/net/ethernet/mellanox/mlx5/core): Adding a TC flower rule while the device is in NIC mode makes
Impact
Adding a TC flower rule while the device is in NIC mode makes the driver draw from an eswitch object-mapping pool that was never initialised, and the freed/uninitialised object is then fed to mlx5_add_flow_rules. KASAN reports a slab use-after-free inside the flow-steering rule-insertion path - the shared table that decides where every tenant's packets go - with a crash of the node as the visible outcome.
Who can reach it
Triggered by a tc filter add on an mlx5 netdev when the eswitch is not enabled. Any principal that can program TC offload on an mlx5 interface reaches it: the host network agent, or a tenant container/VM that was given a VF netdev plus CAP_NET_ADMIN in its own netns. It does not require a tenant RDMA or VFIO device node.
What to do
Update to a patched kernel on your stream. Interim: do not grant CAP_NET_ADMIN over an mlx5 netdev to tenant workloads, and disable hw-tc-offload on mlx5 interfaces running in NIC (non-switchdev) mode.
References
Related entries
- Linux kernel (drivers/net/ethernet/mellanox/mlx5/core): A command that waits on the busy command-queue semaphore startsCVE-2024-38556 · Linux kernel (drivers/net/ethernet/mellanox/mlx5/core)High
- Linux kernel (drivers/net/ethernet/mellanox/mlx5/core): When a DMA mapping fails on the multi-packet transmit path, theCVE-2024-50001 · Linux kernel (drivers/net/ethernet/mellanox/mlx5/core)High
- Linux kernel (drivers/net/ethernet/mellanox/mlx5/core): When an XDP program shrinks a multi-fragment receive bufferCVE-2026-43464 · Linux kernel (drivers/net/ethernet/mellanox/mlx5/core)High
- Linux kernel (drivers/net/ethernet/mellanox/mlx5/core): Two CPUs write to the internal control send queue withoutCVE-2026-64210 · Linux kernel (drivers/net/ethernet/mellanox/mlx5/core)High
- Linux kernel (drivers/net/ethernet/mellanox/mlx5/core): Nothing orders the PTP send-queue tracking list againstCVE-2024-26858 · Linux kernel (drivers/net/ethernet/mellanox/mlx5/core)Medium
- Linux kernel (drivers/net/ethernet/mellanox/mlx5/core): When the driver runs out of firmware command slots, the workCVE-2025-21662 · Linux kernel (drivers/net/ethernet/mellanox/mlx5/core)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.