In the Linux kernel, the following vulnerability has been resolved:
RDMA: Fix use-after-free in rxequeuecleanup
On error handling path in rxeqpfrominit() qp->sq.queue is freed and then rxecreate_qp() will drop last reference to this object. qp clean up function will try to free this queue one time and it causes UAF bug.
Fix it by zeroing queue pointer after freeing queue in rxeqpfrom_init().