thunderbolt: Bound the DROM dual link port number before indexing sw->ports
Summary
| CVE | CVE-2026-74585 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-22 16:16:30 UTC |
| Updated | 2026-08-22 16:16:30 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Bound the DROM dual link port number before indexing sw->ports tb_drom_parse_entry_port() validates the device-supplied header->index against sw->config.max_port_number before indexing sw->ports[], but the sibling field entry->dual_link_port_nr -- a 6-bit value also read from the DROM -- indexes the same array with no such check. A malicious or malformed Thunderbolt device can set dual_link_port_nr beyond the allocated sw->ports[] (max_port_number + 1 entries), producing an out-of-bounds tb_port pointer that is stored and later dereferenced. Reject a port entry whose dual_link_port_nr exceeds max_port_number, the same bound already applied to header->index. |
Risk And Classification
EPSS: 0.002200000 probability, percentile 0.127380000 (date 2026-08-23)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 6c892ed9f4129ae40ef0f92e1bb31aa0b0ddc72c git | Not specified |
| CNA | Linux | Linux | affected cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 3d3c212b70633332ab71672aa2bc6af257d2ec83 git | Not specified |
| CNA | Linux | Linux | affected cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 b98e1e28bd95b0fa33164eec1e763d26c7058b39 git | Not specified |
| CNA | Linux | Linux | affected cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 50f0c8dd8c3390f851cfb97ca13116f9ee6469d1 git | Not specified |
| CNA | Linux | Linux | affected cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 f28066057134aa9294caa597b670daf505ad9dce git | Not specified |
| CNA | Linux | Linux | affected cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 40d2ffb74094cf36edbe05855566a4c58b6ce808 git | Not specified |
| CNA | Linux | Linux | affected cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 f32c3a9a77cfb50934a60b05d5407649af062535 git | Not specified |
| CNA | Linux | Linux | affected cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 d6764992f17b23d91ff93ce905ab53c2aa7191f0 git | Not specified |
| CNA | Linux | Linux | affected 3.17 | Not specified |
| CNA | Linux | Linux | unaffected 3.17 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.265 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.216 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.183 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.152 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.104 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.45 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1.9 7.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/f32c3a9a77cfb50934a60b05d5407649af062535 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b98e1e28bd95b0fa33164eec1e763d26c7058b39 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d6764992f17b23d91ff93ce905ab53c2aa7191f0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6c892ed9f4129ae40ef0f92e1bb31aa0b0ddc72c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f28066057134aa9294caa597b670daf505ad9dce | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/3d3c212b70633332ab71672aa2bc6af257d2ec83 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/50f0c8dd8c3390f851cfb97ca13116f9ee6469d1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/40d2ffb74094cf36edbe05855566a4c58b6ce808 | 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.