Database/Firmware, BMC & network fabric
Linux kernel (drivers/net/ethernet/mellanox/mlx5/core/en/rep): The neighbour-update worker takes a reference on an
Impact
The neighbour-update worker takes a reference on an encapsulation entry that a concurrent TC filter update is already freeing. KASAN reports a use-after-free while the worker is deciding which hardware encap rule to reprogram, so freed memory influences the steering state of the shared eswitch and the node crashes.
Who can reach it
Two concurrent drivers are needed and both are cheap to supply: neighbour (ARP/ND) churn from a host on the fabric - including a tenant VM with an address on the same segment - and concurrent TC filter add/delete from the host's offload agent. Requires switchdev/eswitch mode with tunnel-encap TC offload, the standard configuration for OVS hardware offload on a multi-tenant node.
What to do
Update to a patched kernel on your stream. Interim: disable hw-tc-offload on the mlx5 uplink or stop offloading tunnel-encap rules, and keep untrusted tenants off the L2 segment that feeds neighbour updates.
References
Related entries
- Linux kernel (drivers/infiniband/core): The RDMA connection-manager state machine can be driven in a circle so twoCVE-2021-47391 · Linux kernel (drivers/infiniband/core)High
- Linux kernel InfiniBand qib driver (user SDMA path, qib_user_sdma_pkt): The user SDMA descriptor path did arithmetic onCVE-2021-47485 · Linux kernel InfiniBand qib driver (user SDMA path, qib_user_sdma_pkt)High
- Linux kernel (drivers/infiniband/hw/irdma): In the physical-buffer-list allocator, a chunk is freed while still linkedCVE-2021-47614 · Linux kernel (drivers/infiniband/hw/irdma)High
- Linux kernel (drivers/infiniband/sw/rxe): The soft-RoCE queue-pair init error path frees the send-queue ring and leavesCVE-2021-47616 · Linux kernel (drivers/infiniband/sw/rxe)High
- Insyde InsydeH2O (StorageSecurityCommandDxe SMI input buffer, DMA TOCTOU): Highest-scored DMA entry in the 2022 batchCVE-2022-34325 · Insyde InsydeH2O (StorageSecurityCommandDxe SMI input buffer, DMA TOCTOU)High
- EDK II SecurityPkg (Tcg2Dxe, Tcg2MeasureGptTable): A crafted GPT partition table overflows the heap inside the veryCVE-2022-36763 · EDK II SecurityPkg (Tcg2Dxe, Tcg2MeasureGptTable)High
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.