CVE-2024-47695

published 21 Oct 2024 · updated 5 Aug 2026

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

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 01b9be936ee8839ab9f83a7e84ee02ac6c8303c4, Kernel 0429a4e972082e3a2351da414b1c017daaf8aed2, Kernel 1c50e0265fa332c94a4a182e4efa0fc70d8fad94 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.8, >=6a98d71daea186247005099758af549e6afdd244 <01b9be936ee8839ab9f83a7e84ee02ac6c8303c4, >=6a98d71daea186247005099758af549e6afdd244 <0429a4e972082e3a2351da414b1c017daaf8aed2, >=6a98d71daea186247005099758af549e6afdd244 <1c50e0265fa332c94a4a182e4efa0fc70d8fad94, >=6a98d71daea186247005099758af549e6afdd244 <3e4289b29e216a55d08a89e126bc0b37cbad9f38, >=6a98d71daea186247005099758af549e6afdd244 <5ac73f8191f3de41fef4f934d84d97f3aadb301f, >=6a98d71daea186247005099758af549e6afdd244 <c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e01b9be936ee8839ab9f83a7e84ee02ac6c8303c4, 0429a4e972082e3a2351da414b1c017daaf8aed2, 1c50e0265fa332c94a4a182e4efa0fc70d8fad94, 3e4289b29e216a55d08a89e126bc0b37cbad9f38, 5ac73f8191f3de41fef4f934d84d97f3aadb301f, c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-47695 severity on Zeptric[![CVE-2024-47695](https://zeptric.io/badge/cve/CVE-2024-47695.svg)](https://zeptric.io/cve/CVE-2024-47695)