CVE-2026-139581: RDMA/rtrs-clt: Reject invalid queue_depth from the peer
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rtrs-clt: Reject invalid queuedepth from the peer
queuedepth is taken from the server's CM privatedata and later used as a session invariant. A peer can send 0, which the client stores and then trips WARNON() in createconcqqp() when the next connection is set up.
Reject a zero queuedepth on ESTABLISHED, same as a bad magic or version, and fail the handshake with -ECONNRESET.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
On ESTABLISHED, reject a peer-provided queue_depth of zero and fail the handshake with -ECONNRESET.
Event History
Frequently Asked Questions
What must an attacker or faulty peer be able to do to trigger the issue?
They must be able to act as the RTRS server-side peer during connection establishment and send CM private data containing a queue_depth of zero. The affected client stores that value and can later hit a WARN_ON() when setting up another connection.
What behavior does the fix introduce?
The client now rejects a zero queue_depth when the connection reaches ESTABLISHED state. The handshake fails with -ECONNRESET, matching handling for invalid magic values or protocol versions.