What’s Vulnerable › Vulnerabilities

CVE-2024-47695: RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds In the function init_conns(), after the create_con() and create_cm() for loop if something fails. In the cleanup for loop after the destroy tag, we access out of bound memory because cid is set to clt_path->s.con_num. This commits resets the cid to clt_path->s.con_num - 1, to stay in bounds in the cleanup loop later.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.168, 6.1.113, 6.10.13, 6.11.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-47695 or the next vulnerability affects your stack