Database/Firmware, BMC & network fabric
Linux mpi3mr: use-after-free of HBA port data when a bad drive re-reports device info
Impact
The mpi3mr driver, which runs the Broadcom tri-mode SAS/NVMe RAID controllers found in GPU-node and storage-node chassis, frees its internal HBA port structure when a device fails INQUIRY but leaves stale references behind. A later Device Info change event from the controller firmware touches freed memory, corrupting kernel memory and crashing the host. The practical trigger is a dying or misbehaving drive on the SAS topology rather than an attacker, but the result on a GPU node is an unplanned crash of a box whose local NVMe holds dataset and checkpoint scratch. Exploitation for privilege escalation would require control over the SAS topology, which in a datacenter means physical or firmware-level access.
Who can reach it
No network path. Requires a device on the controller's SAS topology that fails INQUIRY and then re-reports device info - in practice a failing drive, or physical access to attach one. Not reachable from a tenant GPU pod.
What to do
Patch the host kernel to a stable release containing the fix (commits linked in the record) and reboot the node; the driver cannot be reloaded safely under a live root filesystem on the same controller. Drain the node first. Only hosts using mpi3mr with SAS Transport Layer support are affected.
References
Related entries
- Linux ice driver: buffer overread reading transceiver EEPROM via ethtoolCVE-2023-53142 · Linux kernel ice driver (Intel E800 series, ethtool module EEPROM read)High
- Linux kernel (drivers/net/ethernet/mellanox/mlx5/core): A userspace DEVX consumer can issue a firmware command opcodeCVE-2023-53340 · Linux kernel (drivers/net/ethernet/mellanox/mlx5/core)High
- Linux kernel (drivers/net/ethernet/mellanox/mlx5/core): When a regular receive queue is reactivated after an AF_XDPCVE-2023-53394 · Linux kernel (drivers/net/ethernet/mellanox/mlx5/core)High
- Linux kernel bnxt_re: device is deallocated before cleanup completes, giving a use-after-free on teardownCVE-2023-53504 · Linux kernel RDMA/bnxt_re (ib_dealloc_device ordering on driver teardown)High
- 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
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.