RDMA/siw: publish QP after initialization
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f29dd55b0236f7a26a4b9dd69186e3c04266797b · < 52f9fcb191143448df55fd215ff09c5207fed43e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
RDMA/siw: publish QP after initialization
siw_create_qp() currently calls siw_qp_add() before the queues, CQ pointers, state, completion, and device list entry are ready. A QPN lookup can therefore reach a QP that is still being constructed.
Move siw_qp_add() to the end of siw_create_qp(), after QP initialization and before adding the QP to the siw device list.
From the CVE record · Linux
The Linux kernel’s RDMA/siw code publishes a queue pair before initialization is complete. If a QPN lookup occurs during creation, it can reach the partially initialized queue pair. The input does not specify whether exploitation requires network access, authentication, or user interaction.
Teams running Linux kernels with RDMA/siw should check their affected versions; none are specified in the input.