CVE-2024-47695

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

HIGH
7.8
CVSS Score
Published: October 21, 2024 at 11:53 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.16 ≤ v < 6.1.1135.8 ≤ v < 5.15.1685.8 ≤ v < 6.1.1135.8 ≤ v < 6.10.135.8 ≤ v < 6.11.25.8 ≤ v < 6.125.8 ≤ v < 6.6.546.11 ≤ v < 6.11.26.2 ≤ v < 6.6.546.7 ≤ v < 6.10.135.86a98d71daea186247005099758af549e6afdd244
Vendor states this is fixed in 01b9be936ee8839ab9f83a7e84ee02ac6c8303c4 (fixed)
Vendor states this is fixed in 0429a4e972082e3a2351da414b1c017daaf8aed2 (fixed)
Vendor states this is fixed in 1c50e0265fa332c94a4a182e4efa0fc70d8fad94 (fixed)
Vendor states this is fixed in 3e4289b29e216a55d08a89e126bc0b37cbad9f38 (fixed)
Vendor states this is fixed in 5ac73f8191f3de41fef4f934d84d97f3aadb301f (fixed)
Vendor states this is fixed in c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e (fixed)
Vendor states this is fixed in 5.15.168 (unaffected)
Vendor states this is fixed in 5.8 (unaffected)
Vendor states this is fixed in 6.1.113 (unaffected)
Vendor states this is fixed in 6.10.13 (unaffected)
Vendor states this is fixed in 6.11.2 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.54 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/01b9be936ee8839ab9f83a7e84ee02ac6c8303c4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0429a4e972082e3a2351da414b1c017daaf8aed2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1c50e0265fa332c94a4a182e4efa0fc70d8fad94
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3e4289b29e216a55d08a89e126bc0b37cbad9f38
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5ac73f8191f3de41fef4f934d84d97f3aadb301f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card