Technical impact
In the Linux kernel the RDMA mlx5 driver’s create_resource_common() routine would insert a Queue Pair resource into the radix tree before fully initializing its reference count. During that narrow window a firmware EQE event can read the zero refcount value and call refcount_inc(), which the refcount API treats as a use‑after‑free. The counter saturates and the resource’s lifecycle tracking is permanently corrupted, potentially causing memory corruption or a crash of the kernel.
Affected Systems
Any Linux kernel using the mlx5 driver that versions prior to the commit moving the refcount initialization before radix_tree_insert() is present is affected. This includes most mainstream distributions that ship standard kernel packages with the default mlx5 module enabled.
Risk and Exploitability
No CVSS score is provided and EPSS information is unavailable. The use‑after‑free occurs in kernel space and can lead to kernel instability; it is a high‑severity flaw. The flaw can be triggered by a firmware‑generated EQE event, implying that an attacker with control over the RDMA firmware or hardware can exploit it. The vulnerability is not listed in the CISA KEV catalog.