CVE-2026-80864
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
30/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
RDMA/rxe: Fix responder UAF on IB_QP_MAX_DEST_RD_ATOMIC modify_qp<br />
<br />
rxe_qp_from_attr() handles IB_QP_MAX_DEST_RD_ATOMIC outside the<br />
IB_QP_STATE path, so it holds no state_lock and runs while the responder<br />
task rxe_receiver() (recv_task on rxe_wq) is live. A modify_qp() setting<br />
only that attribute calls free_rd_atomic_resources() then<br />
alloc_rd_atomic_resources(), swapping qp->resp.resources[] while<br />
rxe_prepare_res()/find_resource() walk it; free_rd_atomic_resources()<br />
also leaves the cached pointer qp->resp.res dangling. A local<br />
unprivileged user can race the free/realloc into a use-after-free in<br />
rxe_receiver() (local DoS).<br />
<br />
Drain recv_task around the swap with rxe_disable_task()/rxe_enable_task(),<br />
as rxe_qp_reset() already does when tearing this array down, re-enabling<br />
only after alloc_rd_atomic_resources() succeeds so the responder never<br />
resumes against a NULL qp->resp.resources on the ENOMEM path. Also clear<br />
qp->resp.res in free_rd_atomic_resources(), like the rxe_resp.c<br />
completion paths.<br />
<br />
Reproduced under KASAN; the slab-use-after-free in rxe_receiver() is gone.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/0136b528b753c5a56e4d997ef20b86bb6750b8fb
- https://git.kernel.org/stable/c/60dfd47929cd1e7070daa810d40ce538d888410d
- https://git.kernel.org/stable/c/6f7014237405e7f032b5c53a82d9eccf6161c291
- https://git.kernel.org/stable/c/82257379061c0a7aba6c77081d988339982af115
- https://git.kernel.org/stable/c/87e40635d77aa19088550698c81eb295d5131f71
- https://git.kernel.org/stable/c/d4cd32eb8bd2b0ffbdc7b1f3d82ce6a371f8f844
- https://git.kernel.org/stable/c/ffa4f0be69656be1755090f02db38d49816585c6


