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().
git.kernel.org/linus/84b01721e8042cdd1e8ffeb648844a09cd4213e0 (5.16-rc5)
git.kernel.org/stable/c/84b01721e8042cdd1e8ffeb648844a09cd4213e0
git.kernel.org/stable/c/acb53e47db1fbc7cd37ab10b46388f045a76e383
launchpad.net/bugs/cve/CVE-2021-47616
nvd.nist.gov/vuln/detail/CVE-2021-47616
security-tracker.debian.org/tracker/CVE-2021-47616
www.cve.org/CVERecord?id=CVE-2021-47616