CVE-2024-47695CWE-787

CVE-2024-47695

Critical · published October 21, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
52.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00685 · 52.0th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2024-10-21T16:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.8, < 5.15.1685.15.168
linux/linux_kernel≥ 5.16, < 6.1.1136.1.113
linux/linux_kernel≥ 6.2, < 6.6.546.6.54
linux/linux_kernel≥ 6.7, < 6.10.136.10.13
linux/linux_kernel≥ 6.11, < 6.11.26.11.2
References (7)
EPSS history
Timeline
  • 21 OCT 11:53Z
    RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds
    cvelistv5