CVE-2026-100051: rds: fix out-of-bounds conn_path walks via handshake exthdrs
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-30
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.
Enclave's analysis
A Linux kernel RDS bug lets a remote peer over RDS-over-InfiniBand/RoCE make the kernel walk past a single allocated connection-path slot into unrelated heap memory, just by sending a handshake with a bogus lane count or generation number. No auth or user interaction needed. A researcher reproduced a crash (KASAN OOB write, then a fatal fault) before the fix landed, but only kernels running RDS over IB/RoCE are reachable this way — that's a niche, mostly HPC/Oracle-RAC-style setup, not general internet-facing Linux. Patch to the fixed kernel versions; there's no public exploit tool yet.
Fix
Upgrade Linux kernel to 5.10.275 / 5.15.226 / 6.1.193 / 6.6.163 / 6.12.118 / 6.18.64 / 7.3.4 (or 7.4-rc1 mainline). No fixed version is listed for Linux; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Linux | 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before a5c4de68302e695b097f91e7eb86eb709f68d817 | Not listed |
| Linux | 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 328dfc8d1947b12c67eb275558de94c28de9a7c3 | Not listed |
| Linux | 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 67562aea965e0c22f958bd3ab147cfdad30c5958 | Not listed |
| Linux | 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 4139e84bea83104ac1ea7f80314eef6660f41b70 | Not listed |
| Linux | 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 42c58653fdab4fe10ade9e11d9a232edf488f09b | Not listed |
| Linux | 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 1054a6a377ea03802edc85f9747cd4f28e3673e5 | Not listed |
| Linux | 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 1402ffd54f2f338b91f4f1765b43e33d107892a3 | Not listed |
| Linux | 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 50f2103fce43922b6e562937b2d2fc62089ff7ec | Not listed |
| Linux | 4.10 | Not listed |
| Linux kernel | >=4.10, <5.10.275 | <5.15.226 | <6.1.193 | <6.6.163 | <6.12.118 | <6.18.64 | <7.3.4 | 5.10.275 / 5.15.226 / 6.1.193 / 6.6.163 / 6.12.118 / 6.18.64 / 7.3.4 (or 7.4-rc1 mainline) |