CVE-2026-139574: RDMA/rtrs-clt: Don't WARN on unexpected info-response opcode
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.
WARNON(wc->opcode != IBWCRECV) treats that peer-controlled field as an internal invariant and panics with paniconwarn. Treat a non-SEND completion as a handshake failure: log it and keep the existing CONNECTINGERR cleanup.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In Linux kernel RDMA/rtrs-clt, treat a completion with an opcode other than IB_WC_RECV on the info-response receive as a handshake failure: log it and retain the existing CONNECTING_ERR cleanup instead of using WARN_ON on the peer-controlled opcode.
Event History
Frequently Asked Questions
Which systems are exposed to a denial of service?
Linux systems using the RTRS client over RDMA are exposed when they communicate with a peer that can send an invalid info-response completion opcode. Systems configured with panic_on_warn can panic because the unexpected peer-controlled opcode reaches a WARN_ON condition.
What does an attacker need to do to trigger the issue?
The attacker must be able to act as the RDMA peer during the RTRS handshake and cause an RDMA WRITE with Immediate completion instead of the expected SEND completion for the posted info-response receive.
What happens after applying the fix?
An unexpected non-SEND completion is treated as an RTRS handshake failure, logged, and handled through the existing CONNECTING_ERR cleanup path rather than triggering the warning.