{"id":"CVE-2024-47695","summary":"RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds","details":"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-\u003es.con_num.\n\nThis commits resets the cid to clt_path-\u003es.con_num - 1, to stay in bounds\nin the cleanup loop later.","modified":"2026-03-20T12:38:04.896116Z","published":"2024-10-21T11:53:33.266Z","related":["MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47695.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01b9be936ee8839ab9f83a7e84ee02ac6c8303c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0429a4e972082e3a2351da414b1c017daaf8aed2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1c50e0265fa332c94a4a182e4efa0fc70d8fad94"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3e4289b29e216a55d08a89e126bc0b37cbad9f38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ac73f8191f3de41fef4f934d84d97f3aadb301f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47695.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47695"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6a98d71daea186247005099758af549e6afdd244"},{"fixed":"0429a4e972082e3a2351da414b1c017daaf8aed2"},{"fixed":"5ac73f8191f3de41fef4f934d84d97f3aadb301f"},{"fixed":"01b9be936ee8839ab9f83a7e84ee02ac6c8303c4"},{"fixed":"1c50e0265fa332c94a4a182e4efa0fc70d8fad94"},{"fixed":"c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e"},{"fixed":"3e4289b29e216a55d08a89e126bc0b37cbad9f38"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47695.json"}}],"schema_version":"1.7.5"}