CVE-2026-100051
published critical CVSS 3.1 · 9.8rds: fix out-of-bounds conn_path walks via handshake exthdrs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < a5c4de68302e695b097f91e7eb86eb709f68d817 · 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 328dfc8d1947b12c67eb275558de94c28de9a7c3 · 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 67562aea965e0c22f958bd3ab147cfdad30c5958 · 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 4139e84bea83104ac1ea7f80314eef6660f41b70 · 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 42c58653fdab4fe10ade9e11d9a232edf488f09b · 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 1054a6a377ea03802edc85f9747cd4f28e3673e5 · 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 1402ffd54f2f338b91f4f1765b43e33d107892a3 · 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 50f2103fce43922b6e562937b2d2fc62089ff7ec · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.10 (affected) · 0 to < 4.10 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: rds: fix out-of-bounds conn_path walks via handshake exthdrs Both the lane and the connection-generation negotiation are driven by extension headers in handshake packets, and both are processed unconditionally, even on transports that are not multipath capable. A non-MP connection (t_mp_capable unset) owns exactly one rds_conn_path slot, so a peer claiming up to RDS_MPATH_WORKERS lanes makes every subsequent fan-out walk conn->c_path[0..7] at 504-byte strides past the single allocated slot (KASAN: "Read of size 8 in rds_conn_path_connect_if_down"); the generation negotiation opens a similar out-of-bounds walk on the same array. Only process handshake extension headers when the connection's transport is multipath capable, so a peer can never make us walk lanes that do not exist. Both call sites in rds_recv_incoming() are gated. This is a port of the Oracle UEK fix for the same issue, picked up where Paula's series of the same change left off. This issue was discovered by Tencent CodeBuddy Security.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
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 malformed input is an RDS handshake message (sport/dport probe pair with RDS_EXTHDR_NPATHS and RDS_EXTHDR_GEN_NUM ext headers) sent by the remote RDS/IB peer and delivered via rds_ib_process_recv() to rds_recv_incoming()/rds_recv_hs_exthdrs(); RDS/IB runs over RoCEv2 (rds_ib_add_one accepts any RDMA_NODE_IB_CA), which is routable UDP/IP. AC:L - The attacker opens the RDMA CM connection, sends one probe with NPATHS=8 and then a second with a different GEN_NUM, all from their own side. On any IB conn (single c_path slot) the out-of-bounds walk in rds_conn_peer_gen_update()/rds_start_mprds() follows every time, with no race or victim state involved. PR:N - rds_ib_cm_handle_connect() accepts any peer whose protocol version matches and builds the conn from addresses in the peer's own private data. RDS has no authentication, so the attacker needs no credentials on the victim. UI:N - No victim action is needed: the rds_rdma listener accepts the connection and the receive completion handler processes the crafted handshake headers on its own. S:U - The corruption stays inside the victim kernel's heap (the c_path array and neighbouring kmalloc-512 objects) and crosses no virtualization or hardware isolation boundary. C:H - With c_npaths forced to 8 on a one-slot IB c_path, the code reads cp_conn, cp_state, cp_retrans and cp_wq from up to 7 adjacent 504-byte slots belonging to unrelated heap objects and acts on them as pointers, which is a large out-of-bounds read rather than a few bytes. I:H - For c_path[1..7], rds_conn_peer_gen_update() takes cp_lock, writes cp_next_tx_seq/cp_next_rx_seq and set_bit()s through cp_retrans list pointers, all in adjacent objects. rds_start_mprds() also does test_and_set_bit on cp_flags and queues cp_conn_w on cp_wq taken from out-of-bounds memory, which can hijack control flow. A:H - Following garbage cp_conn or list pointers, spinning on a garbage cp_lock, or queueing a bogus delayed_work causes an oops, hang or panic (KASAN reports an OOB read in rds_conn_path_connect_if_down), and the peer can repeat it at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < a5c4de68302e695b097f91e7eb86eb709f68d817 (affected · git)905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 328dfc8d1947b12c67eb275558de94c28de9a7c3 (affected · git)905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 67562aea965e0c22f958bd3ab147cfdad30c5958 (affected · git)905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 4139e84bea83104ac1ea7f80314eef6660f41b70 (affected · git)905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 42c58653fdab4fe10ade9e11d9a232edf488f09b (affected · git)905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 1054a6a377ea03802edc85f9747cd4f28e3673e5 (affected · git)905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 1402ffd54f2f338b91f4f1765b43e33d107892a3 (affected · git)905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to < 50f2103fce43922b6e562937b2d2fc62089ff7ec (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.10 (affected)0 to < 4.10 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/1054a6a377ea03802edc85f9747cd4f28e3673e5
- https://git.kernel.org/stable/c/1402ffd54f2f338b91f4f1765b43e33d107892a3
- https://git.kernel.org/stable/c/328dfc8d1947b12c67eb275558de94c28de9a7c3
- https://git.kernel.org/stable/c/4139e84bea83104ac1ea7f80314eef6660f41b70
- https://git.kernel.org/stable/c/42c58653fdab4fe10ade9e11d9a232edf488f09b
- https://git.kernel.org/stable/c/50f2103fce43922b6e562937b2d2fc62089ff7ec
- https://git.kernel.org/stable/c/67562aea965e0c22f958bd3ab147cfdad30c5958
- https://git.kernel.org/stable/c/a5c4de68302e695b097f91e7eb86eb709f68d817
Provider assertions
1Linux · cna
rds: fix out-of-bounds conn_path walks via handshake exthdrs
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- edf6985644285fb8619f7af3ab54049fd0617880f27f20e4e8dc3260667ad8e2
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record