Database/Firmware, BMC & network fabric
Linux kernel bnxt_re: device is deallocated before cleanup completes, giving a use-after-free on teardown
Impact
The Broadcom RoCE driver called ib_dealloc_device() before finishing device cleanup, so teardown touched a freed ib_device - a use-after-free in kernel context. Exposure is narrow: the path runs on driver unload, device removal or PCI reset, not on ordinary traffic, so this is primarily a crash or memory-corruption risk during fabric maintenance rather than something a tenant can drive. For operators with Broadcom RoCE NICs in GPU nodes it matters at exactly the wrong moment - during a NIC reset or driver reload intended to recover a node, which is when an unexpected panic is most expensive.
Who can reach it
Local and effectively privileged: reached by whoever can unload the bnxt_re module, remove the device, or trigger a PCI reset - root on the host, or a hardware-level event. Not reachable from a tenant pod. Only hosts with Broadcom RoCE (bnxt_re) adapters are affected.
What to do
Update to a fixed stable kernel (commits in the record; fix landed in the 6.5 series and backports) and reboot the node. Until the fix is in place, avoid bnxt_re module reload and hot-remove on production GPU nodes; schedule driver work as part of a node drain rather than as a live recovery step.
References
Related entries
- Linux kernel (drivers/infiniband/hw/bnxt_re): The driver keeps scheduling completion handlers for a queue pair afterCVE-2023-54048 · Linux kernel (drivers/infiniband/hw/bnxt_re)High
- Linux kernel mlx4_ib (legacy ConnectX-3 RDMA): Same class of bug on the older mlx4 stack: the user-suppliedCVE-2023-54168 · Linux kernel mlx4_ib (legacy ConnectX-3 RDMA)High
- Linux kernel (drivers/net/ethernet/mellanox/mlx5/core): Adding a TC flower rule while the device is in NIC mode makesCVE-2023-54216 · Linux kernel (drivers/net/ethernet/mellanox/mlx5/core)High
- Linux kernel scsi/mpi3mr: uninitialized event-ack array causes out-of-bounds bitmap clear and UAFCVE-2023-54234 · Linux kernel scsi mpi3mr driver (evtack_cmds array initialization)High
- Linux kernel mlx5: SKB leak during PTP FIFO resync exhausts memory on ConnectX NICsCVE-2023-54238 · Linux kernel mlx5 driver (PTP SKB FIFO resync)High
- Linux kernel mlxsw (Spectrum switch ASIC ACL TCAM): On Spectrum-2 and newer, firmware reports more than 16 ACLs perCVE-2024-26586 · Linux kernel mlxsw (Spectrum switch ASIC ACL TCAM)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.