In the Linux kernel, the following vulnerability has been resolved:
RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it
create_resource_common() inserted the resource into the radix tree
before its initialization was complete. A firmware EQE in that window
finds a zero refcount_t and calls refcount_inc() on it; the refcount API
treats this as a use-after-free, saturates the counter, and permanently
breaks the resource's lifecycle tracking.
Move the initialization before the radix_tree_insert().