← CVE Intelligence

CVE-2021-47616

RDMA: Fix use-after-free in rxe_queue_cleanup PUBLISHED

Description (CNA)

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

Vendor / productVersions
Linux / Linuxaffected 514aee660df493cd673154a6ba6bab745ec47b8c before acb53e47db1fbc7cd37ab10b46388f045a76e383; affected 514aee660df493cd673154a6ba6bab745ec47b8c before 84b01721e8042cdd1e8ffeb648844a09cd4213e0
Linux / Linuxaffected 5.15; unaffected 0 before 5.15; unaffected 5.15.10 through 5.15.*; unaffected 5.16 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.