thunderbolt: Bound the DROM dual link port number before indexing sw->ports
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.265, 5.15.216, 6.1.183, 6.12.104, 6.18.45, 6.6.152, 7.1.9
- CVEs
- CVE-2026-74585
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 05:16 UTC · Revision 1
Source evidence
thunderbolt: Bound the DROM dual link port number before indexing sw->ports
core-osv · Original sourcePublished 22 Aug 2026, 15:31 UTC
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.
osv:CVE-2026-74585
Kernel
Fixed versions: 5.10.265, 5.15.216, 6.1.183, 6.6.152, 6.12.104, 6.18.45, 7.1.9
Complete source record
{
"id": "a554bdff534e570338363332894b0ba133cfd107c597a84956c8149c3682d16a",
"url": "https://osv.dev/vulnerability/CVE-2026-74585",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "thunderbolt: Bound the DROM dual link port number before indexing sw->ports",
"summary": "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.",
"evidence": "osv:CVE-2026-74585",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.265",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.216",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.183",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.152",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.104",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.45",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-74585",
"aliases": [
"CVE-2026-74585"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6"
},
{
"fixed": "6c892ed9f4129ae40ef0f92e1bb31aa0b0ddc72c"
},
{
"fixed": "3d3c212b70633332ab71672aa2bc6af257d2ec83"
},
{
"fixed": "b98e1e28bd95b0fa33164eec1e763d26c7058b39"
},
{
"fixed": "50f0c8dd8c3390f851cfb97ca13116f9ee6469d1"
},
{
"fixed": "f28066057134aa9294caa597b670daf505ad9dce"
},
{
"fixed": "40d2ffb74094cf36edbe05855566a4c58b6ce808"
},
{
"fixed": "f32c3a9a77cfb50934a60b05d5407649af062535"
},
{
"fixed": "d6764992f17b23d91ff93ce905ab53c2aa7191f0"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74585.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.17.0"
},
{
"fixed": "5.10.265"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.216"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.183"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.152"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.104"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.45"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74585.json"
}
}
],
"modified": "2026-10-28T02:30:26.256874279Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/3d3c212b70633332ab71672aa2bc6af257d2ec83",
"https://git.kernel.org/stable/c/40d2ffb74094cf36edbe05855566a4c58b6ce808",
"https://git.kernel.org/stable/c/50f0c8dd8c3390f851cfb97ca13116f9ee6469d1",
"https://git.kernel.org/stable/c/6c892ed9f4129ae40ef0f92e1bb31aa0b0ddc72c",
"https://git.kernel.org/stable/c/b98e1e28bd95b0fa33164eec1e763d26c7058b39",
"https://git.kernel.org/stable/c/d6764992f17b23d91ff93ce905ab53c2aa7191f0",
"https://git.kernel.org/stable/c/f28066057134aa9294caa597b670daf505ad9dce",
"https://git.kernel.org/stable/c/f32c3a9a77cfb50934a60b05d5407649af062535",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74585.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-74585",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74585.json"
}
},
"related_cves": [
{
"value": "CVE-2026-74585",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 492676,
"published_at": "2026-08-22T15:31:38.339+00:00"
}