thunderbolt: Validate XDomain request packet size before type cast
Summary
| CVE | CVE-2026-53147 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-25 09:16:32 UTC |
| Updated | 2026-06-28 08:16:35 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.1 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS: 0.001800000 probability, percentile 0.078160000 (date 2026-06-27)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 8.1 | HIGH | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| 3.1 | CNA | DECLARED | 8.1 | HIGH | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
AdjacentAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected cdae7c07e3e3509eaabc18c1640a55dc5b99c179 a770e62923090d7572f1f5a8507ae551d354a057 git | Not specified |
| CNA | Linux | Linux | affected cdae7c07e3e3509eaabc18c1640a55dc5b99c179 0dd61ba03d05187726ecdf9c0e2175a81b9b24f6 git | Not specified |
| CNA | Linux | Linux | affected cdae7c07e3e3509eaabc18c1640a55dc5b99c179 79235c8add5da4bf27a12f5a5dbb579f300c059e git | Not specified |
| CNA | Linux | Linux | affected cdae7c07e3e3509eaabc18c1640a55dc5b99c179 46da5c3ea011e884028a91cf913db093920a915b git | Not specified |
| CNA | Linux | Linux | affected cdae7c07e3e3509eaabc18c1640a55dc5b99c179 07cd2787cdf8942d24a1a3ef81aa89b526fb6381 git | Not specified |
| CNA | Linux | Linux | affected cdae7c07e3e3509eaabc18c1640a55dc5b99c179 a504b9f2797b739e0304d537e8aa4ce883ecce39 git | Not specified |
| CNA | Linux | Linux | affected 4.15 | Not specified |
| CNA | Linux | Linux | unaffected 4.15 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.176 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.143 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.94 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.36 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.13 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/07cd2787cdf8942d24a1a3ef81aa89b526fb6381 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/46da5c3ea011e884028a91cf913db093920a915b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/a770e62923090d7572f1f5a8507ae551d354a057 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0dd61ba03d05187726ecdf9c0e2175a81b9b24f6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/79235c8add5da4bf27a12f5a5dbb579f300c059e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/a504b9f2797b739e0304d537e8aa4ce883ecce39 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.