All reports
Low

kernel: RDMA: Fix use-after-free in rxe_queue_cleanup

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-47616

Probability of exploitation in the next 30 days: 0.22%

FIRST EPSS · 2026-11-19

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().

A flaw was found in the Linux kernel's Remote Direct Memory Access (RDMA) subsystem. A local user could exploit this vulnerability to cause a Denial of Service (DoS) via a system crash or potentially achieve privilege escalation. This issue occurs due to a use-after-free vulnerability in the software RDMA driver, where an error during queue pair initialization leads to memory being freed more than once during cleanup.