- Home
- Vulnerabilities
- CVE-2026-139573
CVE-2026-139573
RDMA/rtrs-clt: Validate peer-supplied IO completion msg_id
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-clt: Validate peer-supplied IO completion msg_id process_io_rsp() indexes clt_path->reqs[] with the 19-bit msg_id taken from a WRITE_WITH_IMM immediate. That value is chosen by the peer. The only check was WARN_ON(msg_id >= queue_depth), which still lets a completion run after free_path_reqs() has set reqs to NULL, or against a slot whose FRWR is already gone. Either path dereferences req->mr and can GPF; KASAN reports a null-ptr-deref at offsetof(struct rtrs_clt_io_req, mr). Treat a missing reqs array, an out-of-range msg_id, or a req without an MR as a protocol error and recover the connection.
Affected products and versions
Linux (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Linux | 5.8 |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://git.kernel.org/stable/c/03247d0d153e73f72db950713fd5eec3bf5bd65d
- https://git.kernel.org/stable/c/06255d342755e8a3e6eb477801e94529501b684b
- https://git.kernel.org/stable/c/71e667a909f19c8598068ac3e70cb336b501c09d
- https://git.kernel.org/stable/c/df35ed1850fa12645c284ee1c56cb50bb837f25f
- https://git.kernel.org/stable/c/67b7ff86dfaff80eef1f98e78e5905a113730fd8
- https://git.kernel.org/stable/c/95d5f15191d4c11d17a3252d8b70cf161509ee87
- https://git.kernel.org/stable/c/c1fcde82f7b68181553af7efb4410df04109a9a8
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)