CVE-2026-97413
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Summary
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rtrs-srv: Fix integer underflow in process_read and process_write
usr_len is read from a network-supplied message field (le16_to_cpu) and used to compute data_len = off - usr_len without validating that usr_len <= off. A malicious RDMA client can send usr_len > off causing an integer underflow, resulting in data_len wrapping to a huge size_t value which is then passed to the rdma_ev callback as a memory length, leading to out-of-bounds memory access.
Fix by reading and validating usr_len <= off before rtrs_srv_get_ops_ids() in both process_read() and process_write(), ensuring the early return path acquires no reference and has no resource leak.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 9cb837480424e78ed585376f944088246685aec3 < 24ad03bfeda05fca04c56677e57fd3d6bc3e9978 | affected |
| Linux | Linux | 9cb837480424e78ed585376f944088246685aec3 < c76e9123ab91a903396d26e6ab1b5caae5c6b149 | affected |
| Linux | Linux | 9cb837480424e78ed585376f944088246685aec3 < 54bf38b27afc08a0eb6b732f9c14eb8a4bcb66b5 | affected |
| Linux | Linux | 5.8 | affected |
| Linux | Linux | 0 < 5.8 | unaffected |
| Linux | Linux | 6.12.111 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.53 <= 6.18.* | unaffected |
| Linux | Linux | 7.2 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/24ad03bfeda05fca04c56677e57fd3d6bc3e9978
- https://git.kernel.org/stable/c/c76e9123ab91a903396d26e6ab1b5caae5c6b149
- https://git.kernel.org/stable/c/54bf38b27afc08a0eb6b732f9c14eb8a4bcb66b5
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.