RDMA/rtrs-clt: Validate peer-supplied IO completion msg_id
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
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.
| Product | Versions |
|---|---|
| Linux Linux | 6a98d71daea186247005099758af549e6afdd244 to before 03247d0d153e73f72db950713fd5eec3bf5bd65d Affected6a98d71daea186247005099758af549e6afdd244 to before 06255d342755e8a3e6eb477801e94529501b684b Affected6a98d71daea186247005099758af549e6afdd244 to before 71e667a909f19c8598068ac3e70cb336b501c09d Affected6a98d71daea186247005099758af549e6afdd244 to before df35ed1850fa12645c284ee1c56cb50bb837f25f Affected6a98d71daea186247005099758af549e6afdd244 to before 67b7ff86dfaff80eef1f98e78e5905a113730fd8 Affected6a98d71daea186247005099758af549e6afdd244 to before 95d5f15191d4c11d17a3252d8b70cf161509ee87 Affected6a98d71daea186247005099758af549e6afdd244 to before c1fcde82f7b68181553af7efb4410df04109a9a8 Affected |
| Linux Linux | 5.8 Affectedbefore 5.8 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.