What’s Vulnerable › Vulnerabilities

CVE-2021-47616: RDMA: Fix use-after-free in rxe_queue_cleanup

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA: Fix use-after-free in rxe_queue_cleanup On error handling path in rxe_qp_from_init() qp->sq.queue is freed and then rxe_create_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 rxe_qp_from_init().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47616 or the next vulnerability affects your stack