{"id":"CVE-2024-47695","published":"2024-10-21T11:53:33Z","modified":"2026-08-05T11:39:28Z","title":"RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds\n\nIn the function init_conns(), after the create_con() and create_cm() for\nloop if something fails. In the cleanup for loop after the destroy tag, we\naccess out of bound memory because cid is set to clt_path->s.con_num.\n\nThis commits resets the cid to clt_path->s.con_num - 1, to stay in bounds\nin the cleanup loop later.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00921,"percentile":0.58525,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0429a4e972082e3a2351da414b1c017daaf8aed2","tags":[]},{"url":"https://git.kernel.org/stable/c/5ac73f8191f3de41fef4f934d84d97f3aadb301f","tags":[]},{"url":"https://git.kernel.org/stable/c/01b9be936ee8839ab9f83a7e84ee02ac6c8303c4","tags":[]},{"url":"https://git.kernel.org/stable/c/1c50e0265fa332c94a4a182e4efa0fc70d8fad94","tags":[]},{"url":"https://git.kernel.org/stable/c/c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e","tags":[]},{"url":"https://git.kernel.org/stable/c/3e4289b29e216a55d08a89e126bc0b37cbad9f38","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":11.71},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6a98d71daea186247005099758af549e6afdd244, < 0429a4e972082e3a2351da414b1c017daaf8aed2",">= 6a98d71daea186247005099758af549e6afdd244, < 5ac73f8191f3de41fef4f934d84d97f3aadb301f",">= 6a98d71daea186247005099758af549e6afdd244, < 01b9be936ee8839ab9f83a7e84ee02ac6c8303c4",">= 6a98d71daea186247005099758af549e6afdd244, < 1c50e0265fa332c94a4a182e4efa0fc70d8fad94",">= 6a98d71daea186247005099758af549e6afdd244, < c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e",">= 6a98d71daea186247005099758af549e6afdd244, < 3e4289b29e216a55d08a89e126bc0b37cbad9f38"]},{"vendor":"Linux","product":"Linux","versions":["5.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-21T13:05:20.037863Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-42615","exploited":false,"provenance":"source"}}