In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Bound the DROM dual link port number before indexing sw->ports… (CVE-2026-74585)
A vulnerability in the Linux kernel's Thunderbolt driver allowed an out-of-bounds array access due to insufficient validation of the dual_link_port_nr field from device-supplied data. This could lead to dereferencing invalid pointers. The issue was resolved by adding bounds checking for dual_link_port_nr against the maximum port number.
AI Analysis
Technical Summary
The Linux kernel Thunderbolt driver function tb_drom_parse_entry_port() originally validated the device-supplied header->index against sw->config.max_port_number before indexing the sw->ports array. However, the sibling field entry->dual_link_port_nr, a 6-bit value also read from the device's DROM, was used to index the same array without bounds checking. A malicious or malformed Thunderbolt device could set dual_link_port_nr beyond the allocated array size, causing an out-of-bounds pointer to be stored and later dereferenced. The fix adds a check to reject port entries where dual_link_port_nr exceeds max_port_number, preventing out-of-bounds access.
Potential Impact
This vulnerability could allow a malicious or malformed Thunderbolt device to cause out-of-bounds memory access in the kernel by providing an invalid dual_link_port_nr value. This may lead to kernel memory corruption or crashes. No known exploits in the wild have been reported. The impact is limited to systems with Thunderbolt support and vulnerable kernel versions.
Mitigation Recommendations
A fix has been applied to the Linux kernel to add bounds checking for the dual_link_port_nr field, preventing out-of-bounds indexing. Users should update their Linux kernel to a version that includes this fix once available. Patch status is not yet confirmed from vendor advisory; check the official Linux kernel release notes or advisories for the fixed version and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Bound the DROM dual link port number before indexing sw->ports… (CVE-2026-74585)
Description
A vulnerability in the Linux kernel's Thunderbolt driver allowed an out-of-bounds array access due to insufficient validation of the dual_link_port_nr field from device-supplied data. This could lead to dereferencing invalid pointers. The issue was resolved by adding bounds checking for dual_link_port_nr against the maximum port number.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel Thunderbolt driver function tb_drom_parse_entry_port() originally validated the device-supplied header->index against sw->config.max_port_number before indexing the sw->ports array. However, the sibling field entry->dual_link_port_nr, a 6-bit value also read from the device's DROM, was used to index the same array without bounds checking. A malicious or malformed Thunderbolt device could set dual_link_port_nr beyond the allocated array size, causing an out-of-bounds pointer to be stored and later dereferenced. The fix adds a check to reject port entries where dual_link_port_nr exceeds max_port_number, preventing out-of-bounds access.
Potential Impact
This vulnerability could allow a malicious or malformed Thunderbolt device to cause out-of-bounds memory access in the kernel by providing an invalid dual_link_port_nr value. This may lead to kernel memory corruption or crashes. No known exploits in the wild have been reported. The impact is limited to systems with Thunderbolt support and vulnerable kernel versions.
Mitigation Recommendations
A fix has been applied to the Linux kernel to add bounds checking for the dual_link_port_nr field, preventing out-of-bounds indexing. Users should update their Linux kernel to a version that includes this fix once available. Patch status is not yet confirmed from vendor advisory; check the official Linux kernel release notes or advisories for the fixed version and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2wmm-p327-9hx6
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74585"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f3acd9273b499bc8ca
Added to database: 08/22/2026, 22:51:31 UTC
Last enriched: 08/22/2026, 22:54:00 UTC
Last updated: 08/23/2026, 01:46:19 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.