CVE-2021-47616

published 19 Jun 2024 · updated 5 Aug 2026

RDMA: Fix use-after-free in rxe_queue_cleanup

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 84b01721e8042cdd1e8ffeb648844a09cd4213e0 and Kernel acb53e47db1fbc7cd37ab10b46388f045a76e383.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=514aee660df493cd673154a6ba6bab745ec47b8c <84b01721e8042cdd1e8ffeb648844a09cd4213e0, >=514aee660df493cd673154a6ba6bab745ec47b8c <acb53e47db1fbc7cd37ab10b46388f045a76e38384b01721e8042cdd1e8ffeb648844a09cd4213e0, acb53e47db1fbc7cd37ab10b46388f045a76e383

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47616 severity on Zeptric[![CVE-2021-47616](https://zeptric.io/badge/cve/CVE-2021-47616.svg)](https://zeptric.io/cve/CVE-2021-47616)