NVIDIA/Mellanox ConnectX driver (mlx5_ib UMR resource init/cleanup): A failed workqueue allocation during mkey-cache
Impact
A failed workqueue allocation during mkey-cache init caused the UMR queue pair to be destroyed twice, giving a double free and a syzkaller-confirmed use-after-free in ib_destroy_qp_user. The UMR queue pair is the driver's own privileged channel for rewriting memory-key translation tables, so a freed-and-reused UMR QP is a control channel over every tenant's memory keys on that adapter.
Who can reach it
Local. Triggered on the mlx5_ib device initialisation path under memory pressure or interrupted allocation - reachable in practice by a tenant that can drive the node into allocation failure while the RDMA stack is initialising.
What to do
Kernel update removing the duplicate cleanup call in mlx5_ib_stage_post_ib_reg_umr_init(). No workaround.
References
Related entries
- Linux kernel amdgpu display core (DC/DM) (drm/amd/display): An out-of-bounds access in the amdgpu display core (DC/DM)CVE-2024-26660 · Linux kernel amdgpu display core (DC/DM) (drm/amd/display)High
- Linux kernel amdgpu display core (DC/DM) (drm/amd/display): An out-of-bounds access in the amdgpu display core (DC/DM)CVE-2024-27045 · Linux kernel amdgpu display core (DC/DM) (drm/amd/display)High
- Linux kernel amdgpu firmware, ACPI and IP-block initialisation (drm/amdgpu): A correctness defect in the amdgpuCVE-2024-41022 · Linux kernel amdgpu firmware, ACPI and IP-block initialisation (drm/amdgpu)High
- Linux kernel amdgpu firmware, ACPI and IP-block initialisation (drm/amdgpu): A double free in the amdgpu firmware, ACPICVE-2024-42123 · Linux kernel amdgpu firmware, ACPI and IP-block initialisation (drm/amdgpu)High
- Linux kernel amdgpu kernel driver core (drm/amdgpu): Memory is handed to a consumer without being initialised orCVE-2024-42228 · Linux kernel amdgpu kernel driver core (drm/amdgpu)High
- NVIDIA/Mellanox ConnectX driver (mlx5_ib ODP invalidation vs MR deregistration race): During deregistration the lkey isCVE-2025-21732 · NVIDIA/Mellanox ConnectX driver (mlx5_ib ODP invalidation vs MR deregistration race)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.