Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-47695

published critical CVSS 3.1 · 9.8

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

Published
21 Oct 2024, 11:53:33 UTC
Updated
05 Aug 2026, 11:39:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6a98d71daea186247005099758af549e6afdd244 to < 0429a4e972082e3a2351da414b1c017daaf8aed2 · 6a98d71daea186247005099758af549e6afdd244 to < 5ac73f8191f3de41fef4f934d84d97f3aadb301f · 6a98d71daea186247005099758af549e6afdd244 to < 01b9be936ee8839ab9f83a7e84ee02ac6c8303c4 · 6a98d71daea186247005099758af549e6afdd244 to < 1c50e0265fa332c94a4a182e4efa0fc70d8fad94 · 6a98d71daea186247005099758af549e6afdd244 to < c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e · 6a98d71daea186247005099758af549e6afdd244 to < 3e4289b29e216a55d08a89e126bc0b37cbad9f38 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 5.15.168 through 5.15.* (unaffected · semver) · 6.1.113 through 6.1.* (unaffected · semver) · 6.6.54 through 6.6.* (unaffected · semver) · 6.10.13 through 6.10.* (unaffected · semver) · 6.11.2 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaults390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-rtx86_64 Advisory build 5.14.21-150500.13.79.1 SUSE-SU-2024:4315-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaults390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-rtx86_64 Advisory build 5.14.21-150500.13.79.1 SUSE-SU-2024:4315-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaults390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-rtx86_64 Advisory build 5.14.21-150500.13.79.1 SUSE-SU-2024:4315-1
SUSE / openSUSE SLE-15-SP5 kernel-64kbaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-64kb-develaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-azureaarch64 Advisory build 5.14.21-150500.33.75.1 SUSE-SU-2024:4376-1
SUSE / openSUSE SLE-15-SP5 kernel-azurex86_64 Advisory build 5.14.21-150500.33.75.1 SUSE-SU-2024:4376-1
SUSE / openSUSE SLE-15-SP5 kernel-azure-develaarch64 Advisory build 5.14.21-150500.33.75.1 SUSE-SU-2024:4376-1
SUSE / openSUSE SLE-15-SP5 kernel-azure-develx86_64 Advisory build 5.14.21-150500.33.75.1 SUSE-SU-2024:4376-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-defaults390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseaarch64 Advisory build 5.14.21-150500.55.88.1.150500.6.39.4 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseppc64le Advisory build 5.14.21-150500.55.88.1.150500.6.39.4 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-basex86_64 Advisory build 5.14.21-150500.55.88.1.150500.6.39.4 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-devels390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchs390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-devels390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-develnoarch Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-devel-azurenoarch Advisory build 5.14.21-150500.33.75.1 SUSE-SU-2024:4376-1
SUSE / openSUSE SLE-15-SP5 kernel-devel-rtnoarch Advisory build 5.14.21-150500.13.79.1 SUSE-SU-2024:4315-1
SUSE / openSUSE SLE-15-SP5 kernel-docsnoarch Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-livepatch-5_14_21-150500_13_79-rtx86_64 Advisory build 1-150500.11.3.1 SUSE-SU-2024:4315-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

50

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The failure that reaches the out-of-bounds cleanup loop is induced entirely by the remote RTRS server's `max_hdr_size` field in the RDMA-CM connect-response private data, which flows unvalidated into the `kzalloc()` in `rtrs_iu_alloc()`. RTRS/RNBD runs over RoCEv2 and iWARP, which are IP-routable, so the peer need not be link-local. AC:L - The attacker directly controls the exact field (`max_hdr_size`) that makes `alloc_path_reqs()` fail, so the OOB is reached deterministically with no race and no uncontrolled precondition. With `MAX_RECONNECTS = -1` the server can force the reconnect path indefinitely, allowing repeated attempts and heap grooming of the adjacent slab slot. PR:N - The rtrs connection handshake performs only a magic/version/errno check and has no authentication whatsoever, so any host able to answer the client's connect request is implicitly trusted. The attacker holds no credentials or privileges on the victim machine. UI:N - Once an rnbd/rtrs session exists as part of normal storage operation, the server simply drops the link and `rtrs_clt_reconnect_work()` re-enters `init_path()` -> `init_conns()` automatically after the reconnect delay. No administrator or user action is required at exploit time. S:U - The out-of-bounds read and the subsequent wild-pointer dereferences and free all occur within kernel memory managed by the same security authority. No hypervisor, IOMMU, or sandbox boundary is crossed. C:H - `s.con[con_num]` reads uninitialized slab memory past the `kcalloc()`ed array, and that stale value is then dereferenced as a `struct rtrs_clt_con *` through `con->c.cm_id`, `con->c.qp`, `con->c.path`, and `con->rsp_ius`. Combined with the arbitrary-free primitive and the attacker's ability to groom the neighbouring heap slot across repeated reconnects, this is leverageable into kernel memory disclosure. I:H - `destroy_con()` performs `clt_path->s.con[con->c.cid] = NULL` using a wild base pointer and a wild 32-bit index (a semi-arbitrary NULL write) and then `kfree(con)` on the stale pointer, and `destroy_con_cq_qp()` writes through `con->c.path` as well. Arbitrary free plus controlled heap corruption is the standard route to control-flow hijack. A:H - Even without any grooming, treating stale slab data as a `struct rtrs_clt_con *` and calling `rdma_disconnect()`/`ib_drain_qp()`/`rdma_destroy_id()`/`kfree()` on it reliably oopses or panics the kernel. The remote server can retrigger this on every reconnect cycle indefinitely, taking down the storage client host.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6a98d71daea186247005099758af549e6afdd244 to < 0429a4e972082e3a2351da414b1c017daaf8aed2 (affected · git)6a98d71daea186247005099758af549e6afdd244 to < 5ac73f8191f3de41fef4f934d84d97f3aadb301f (affected · git)6a98d71daea186247005099758af549e6afdd244 to < 01b9be936ee8839ab9f83a7e84ee02ac6c8303c4 (affected · git)6a98d71daea186247005099758af549e6afdd244 to < 1c50e0265fa332c94a4a182e4efa0fc70d8fad94 (affected · git)6a98d71daea186247005099758af549e6afdd244 to < c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e (affected · git)6a98d71daea186247005099758af549e6afdd244 to < 3e4289b29e216a55d08a89e126bc0b37cbad9f38 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.8 (affected)0 to < 5.8 (unaffected · semver)5.15.168 through 5.15.* (unaffected · semver)6.1.113 through 6.1.* (unaffected · semver)6.6.54 through 6.6.* (unaffected · semver)6.10.13 through 6.10.* (unaffected · semver)6.11.2 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
e85d6b1962d472872caec7844e4fbc14b36fe3c66d77457e0ca8edab15f8bfd5
Ingested
23 Sep 2026, 08:28:35 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected