9.8critical
rds: fix out-of-bounds conn_path walks via handshake exthdrs
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 1.10% (higher than 66% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before a5c4de68302e695b097f91e7eb86eb709f68d817, from 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 328dfc8d1947b12c67eb275558de94c28de9a7c3, from 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 67562aea965e0c22f958bd3ab147cfdad30c5958, from 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 4139e84bea83104ac1ea7f80314eef6660f41b70, from 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 42c58653fdab4fe10ade9e11d9a232edf488f09b, from 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 1054a6a377ea03802edc85f9747cd4f28e3673e5, from 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 1402ffd54f2f338b91f4f1765b43e33d107892a3, from 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad before 50f2103fce43922b6e562937b2d2fc62089ff7ec and 1 more Not affected: before 4.10, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.118 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-100051 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-100051 changed 2026-12-01 | Public domain |