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

CVE-2026-100051
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 1.10 % · percentile 67 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad < a5c4de68302e695b097f91e7eb86eb709f68d817
affected : ≥ 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad < 328dfc8d1947b12c67eb275558de94c28de9a7c3
affected : ≥ 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad < 67562aea965e0c22f958bd3ab147cfdad30c5958
affected : ≥ 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad < 4139e84bea83104ac1ea7f80314eef6660f41b70
affected : ≥ 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad < 42c58653fdab4fe10ade9e11d9a232edf488f09b
affected : ≥ 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad < 1054a6a377ea03802edc85f9747cd4f28e3673e5
affected : ≥ 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad < 1402ffd54f2f338b91f4f1765b43e33d107892a3
affected : ≥ 905dd4184e0732de41d6ee3c7b06e0cfdd9f0aad < 50f2103fce43922b6e562937b2d2fc62089ff7ec
Other versions : unaffected
Linux · Linux
affected : 4.10
unaffected : ≥ 0 < 4.10
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.4 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD