CVE-2026-100051: rds: fix out-of-bounds conn_path walks via handshake exthdrs
In the Linux kernel, the following vulnerability has been resolved:
rds: fix out-of-bounds connpath 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 (tmpcapable unset) owns exactly one rdsconnpath slot, so a peer claiming up to RDSMPATHWORKERS lanes makes every subsequent fan-out walk conn->cpath[0..7] at 504-byte strides past the single allocated slot (KASAN: "Read of size 8 in rdsconnpathconnectifdown"); 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 rdsrecvincoming() 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.118-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.118-1Fixed in 7.3.4-1 - Compensating control
Gate processing of handshake extension headers on the connection’s transport being multipath capable.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Linux systems using RDS connections on transports that are not multipath capable are affected by the vulnerable behavior. Such connections have only one connection-path slot.
What does an attacker need to do to trigger the out-of-bounds access?
A peer must send handshake packets containing extension headers that negotiate lanes or connection generation. By claiming multiple lanes on a non-multipath connection, the peer can cause walks beyond the single allocated connection-path slot.
What change addresses the issue?
The fix processes handshake extension headers only when the connection transport is multipath capable. It gates both relevant processing paths in rds_recv_incoming(), preventing peers from requesting lanes that do not exist.
How can I determine whether a connection is in the affected configuration?
The affected configuration is an RDS connection whose transport does not have multipath capability enabled (t_mp_capable unset). These connections own exactly one rds_conn_path slot.