Database/Firmware, BMC & network fabric
Linux kernel (drivers/infiniband/sw/rxe): The soft-RoCE retransmit and ack timers race against queue-pair destruction
Impact
The soft-RoCE retransmit and ack timers race against queue-pair destruction: the QP refcount hits zero while a timer handler is still running and then schedules work on the freed object. That is a refcount underflow and use-after-free reachable without any special hardware.
Who can reach it
Any unprivileged process on a node with the rdma_rxe module loaded - soft-RoCE needs no HCA and is commonly available inside containers that were given RDMA access. The attacker creates a QP, keeps retransmit timers armed by stalling or dropping peer acknowledgements from the network side, and destroys the QP concurrently. A fabric peer can help by withholding acks.
What to do
No fixed version is listed in the record - take the stable kernel carrying 756c93d6df7c (or 3c2ae79fb19d / 5ae9da022ee3) and reboot. Interim: unload and blacklist rdma_rxe on nodes that do not actually need soft-RoCE; this removes the whole attack surface cheaply.
References
Related entries
- Linux kernel (drivers/infiniband/sw/rxe): A null-pointer dereference panics the node whenever queue-pair creation failsCVE-2022-50885 · Linux kernel (drivers/infiniband/sw/rxe)High
- Linux kernel (drivers/infiniband/sw/rxe): Any tenant that can open an RDMA verbs device can oops the node. A queue-pairCVE-2022-50127 · Linux kernel (drivers/infiniband/sw/rxe)Medium
- Linux kernel (drivers/infiniband/sw/rxe): Soft-RoCE queue-pair cleanup drains send and receive work queues that aCVE-2023-53528 · Linux kernel (drivers/infiniband/sw/rxe)Medium
- Linux kernel (drivers/infiniband/sw/rxe): If soft-RoCE queue-pair creation fails partway, the unwind path runs cleanupCVE-2023-54028 · Linux kernel (drivers/infiniband/sw/rxe)Medium
- Linux kernel (drivers/infiniband/sw/rxe): When soft-RoCE queue-pair initialisation fails, the QP structure is left fullCVE-2021-47078 · Linux kernel (drivers/infiniband/sw/rxe)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
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.