Vulnerability record
RDMA/rtrs-clt: Fix recv repost to satisfy ib_drain_rq
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rtrs-clt: Fix recv repost to satisfy ib_drain_rq
On disconnect the client error recovery path calls ib_drain_qp(), which requires one free RQ slot and that no recv WQEs are posted while the queue is being drained.
When the server is loaded with always_invalidate=N, the path does not advertise RTRS_MSG_NEW_RKEY_F. A client-requested invalidation is then a standalone SEND_WITH_INV. The recv completion path did not repost that WQE; it posted two empty recv WQEs later, when the RDMA-with-IMM response carried…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources