CVE-2026-53147

thunderbolt: Validate XDomain request packet size before type cast

State
Published
Severity
8.1 High
Published
Jun 25, 2026
Updated
Oct 19, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

thunderbolt: Validate XDomain request packet size before type cast

tb_xdp_handle_request() casts the received packet buffer to protocol-specific structs without verifying that the allocation is large enough for the target type. A peer can send a minimal XDomain packet that passes the generic header length check but is shorter than the struct accessed after the cast, causing out-of- bounds reads from the kmemdup allocation.

Plumb the packet length through xdomain_request_work and validate it against the expected struct size before each cast.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before a770e62923090d7572f1f5a8507ae551d354a057Affected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before 0dd61ba03d05187726ecdf9c0e2175a81b9b24f6Affected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before 79235c8add5da4bf27a12f5a5dbb579f300c059eAffected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before 46da5c3ea011e884028a91cf913db093920a915bAffected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before 07cd2787cdf8942d24a1a3ef81aa89b526fb6381Affected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before a504b9f2797b739e0304d537e8aa4ce883ecce39Affected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.94 through 6.12.*Not affected
  • 6.18.36 through 6.18.*Not affected
  • 7.0.13 through 7.0.*Not affected
  • 7.1 and laterNot affected

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.