rds: fix out-of-bounds conn_path walks via handshake exthdrs

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to before a5c4de68302e695b097f91e7eb86eb709f68d817 Affected905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to before 328dfc8d1947b12c67eb275558de94c28de9a7c3 Affected905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to before 67562aea965e0c22f958bd3ab147cfdad30c5958 Affected905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to before 4139e84bea83104ac1ea7f80314eef6660f41b70 Affected905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to before 42c58653fdab4fe10ade9e11d9a232edf488f09b Affected905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to before 1054a6a377ea03802edc85f9747cd4f28e3673e5 Affected905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to before 1402ffd54f2f338b91f4f1765b43e33d107892a3 Affected905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad to before 50f2103fce43922b6e562937b2d2fc62089ff7ec Affected
Linux Linux4.10 Affectedbefore 4.10 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.118 through 6.12.* Not Affected6.18.64 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.