CVE-2024-47695

HighCVSS 7.8/10Last modified Aug 4, 2026

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.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 6a98d71daea186247005099758af549e6afdd244, < 0429a4e972082e3a2351da414b1c017daaf8aed2; >= 6a98d71daea186247005099758af549e6afdd244, < 5ac73f8191f3de41fef4f934d84d97f3aadb301f; >= 6a98d71daea186247005099758af549e6afdd244, < 01b9be936ee8839ab9f83a7e84ee02ac6c8303c4; >= 6a98d71daea186247005099758af549e6afdd244, < 1c50e0265fa332c94a4a182e4efa0fc70d8fad94; >= 6a98d71daea186247005099758af549e6afdd244, < c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e; >= 6a98d71daea186247005099758af549e6afdd244, < 3e4289b29e216a55d08a89e126bc0b37cbad9f38
LinuxLinux5.8

References

Timeline

Published
Oct 21, 2024
Last modified
Aug 4, 2026
NVD status
Modified

Related CVEs from 2024

CVE-2024-476967.8In the Linux kernel, the following vulnerability has been resolved: RDMA/iwcm: Fix WARNING:at_kernel/workqueue.c:#check_flush_dependency ICVE-2024-476977.8In the Linux kernel, the following vulnerability has been resolved: drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write errorCVE-2024-476987.8In the Linux kernel, the following vulnerability has been resolved: drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write errorCVE-2024-476995.5In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential null-ptr-deref in nilfs_btree_insert() Patch serCVE-2024-47708.8When saving a page to PDF, certain font styles could have led to a potential use-after-free crash. This vulnerability affects Firefox < 126,CVE-2024-477005.5In the Linux kernel, the following vulnerability has been resolved: ext4: check stripe size compatibility on remount as well We disable stCVE-2024-477017.8In the Linux kernel, the following vulnerability has been resolved: ext4: avoid OOB when system.data xattr changes underneath the filesysteCVE-2024-477025.5In the Linux kernel, the following vulnerability has been resolved: bpf: Fail verification for sign-extension of packet data/data_end/data_CVE-2024-477035.5In the Linux kernel, the following vulnerability has been resolved: bpf, lsm: Add check for BPF LSM return value A bpf prog returning a poCVE-2024-477045.5In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check link_res->hpo_dp_link_enc before using it [WHATCVE-2024-477055.5In the Linux kernel, the following vulnerability has been resolved: block: fix potential invalid pointer dereference in blk_add_partition CVE-2024-477065.5In the Linux kernel, the following vulnerability has been resolved: block, bfq: fix possible UAF for bfqq->bic with merge chain 1) initial
CVE-2024-47695: High severity, CVSS 7.8 | Vulnix