{"schema_version":"1.9.0","id":"CVE-2024-47695","published":"2024-10-21T11:53:33.266Z","modified":"2026-08-12T03:51:10.104300541Z","related":["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"],"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->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.","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/cve-osv-conversion/osv-output/CVE-2024-47695.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.0"},{"fixed":"5.15.168"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.10.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.11.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/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"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47695.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}