In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-clt: Don't WARN on unexpected info-response opcode The info-response receive is posted for a SEND. The completion opcode comes from the peer, so RDMA WRITE with Immediate is a legal WC on that WQE even though it violates the RTRS handshake. WARN_ON(wc->opcode != IB_WC_RECV) treats that peer-controlled field as an internal invariant and panics with panic_on_warn. Treat a non-SEND completion as a handshake failure: log it and keep the existing CONNECTING_ERR cleanup.
https://git.kernel.org/stable/c/f42a2ca5d8ff881f28ac868c5d78d625e1e0fdec
https://git.kernel.org/stable/c/eadeba756b4c7596939e389e93be828733b5d5b8
https://git.kernel.org/stable/c/ccf7067072e77da46f0761da170a3f14e16e70b2
https://git.kernel.org/stable/c/59af3e37eda7a1ac6491039a82b056f906a2cf78
https://git.kernel.org/stable/c/52f8a6c787c64584c75f6d7e292afe831887bfb8
https://git.kernel.org/stable/c/49c5691ad76f000e66c4f2635d5f196db5d038f9
https://git.kernel.org/stable/c/35544a0a53d69d95611e8d0a6bf4aade8c498503