Database/Firmware, BMC & network fabric
Linux kernel (drivers/infiniband/sw/rxe): A tenant gets a double free in the kernel heap through a failed memory
Impact
A tenant gets a double free in the kernel heap through a failed memory registration. When user MR setup fails, both the error path and the object cleanup release the same page-map allocation, giving the tenant a controllable allocator-corruption primitive rather than a simple crash.
Who can reach it
Tenant container holding /dev/infiniband/uverbs* on a node with soft-RoCE (rdma_rxe) loaded: call reg_mr with an address/length that makes the user-memory pinning fail, which the tenant chooses freely. Unprivileged and deterministic. Hardware HCAs do not use this code.
What to do
Update to a kernel carrying the fix (record cites 5.20-era mainline) or apply the listed stable commits. Interim: blacklist/unload rdma_rxe where soft-RoCE is not required, and remove /dev/infiniband/* from containers that do not use verbs.
References
Related entries
- Linux kernel (drivers/infiniband/sw/rxe): Use-after-free from a race between a busy soft-RoCE task and its ownCVE-2025-40061 · Linux kernel (drivers/infiniband/sw/rxe)High
- Linux kernel (drivers/infiniband/sw/rxe): Two failed shared-receive-queue resizes in a row panic the node. The firstCVE-2025-68379 · Linux kernel (drivers/infiniband/sw/rxe)High
- Linux kernel (drivers/infiniband/sw/rxe): The soft-RoCE retransmit and ack timers race against queue-pair destructionCVE-2026-45910 · Linux kernel (drivers/infiniband/sw/rxe)High
- 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
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.