Skip to contentSkip to conversation

CVE-2023-53528: RDMA/rxe: Fix unsafe drain work queue code

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 1, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

RDMA/rxe: Fix unsafe drain work queue code

If create_qp does not fully succeed it is possible for qp cleanup code to attempt to drain the send or recv work queues before the queues have been created causing a seg fault. This patch checks to see if the queues exist before attempting to drain them.

The Linux kernel CVE team has assigned CVE-2023-53528 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.4 with commit 49dc9c1f0c7e396654a31a480328fffd902fa494 and fixed in 6.4.16 with commit da572f6313aeead1f79e0810666bd8d8ffc794d4
	Issue introduced in 6.4 with commit 49dc9c1f0c7e396654a31a480328fffd902fa494 and fixed in 6.5.3 with commit d366642b3099bd322375f5b71ba84ab1d586cd6d
	Issue introduced in 6.4 with commit 49dc9c1f0c7e396654a31a480328fffd902fa494 and fixed in 6.6 with commit 5993b75d0bc71cd2b441d174b028fc36180f032c

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2023-53528

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/infiniband/sw/rxe/rxe_comp.c
drivers/infiniband/sw/rxe/rxe_resp.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/da572f6313aeead1f79e0810666bd8d8ffc794d4
	https://git.kernel.org/stable/c/d366642b3099bd322375f5b71ba84ab1d586cd6d
	https://git.kernel.org/stable/c/5993b75d0bc71cd2b441d174b028fc36180f032c