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.
Published: 2026-08-22
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel Thunderbolt driver contains an unchecked array index: the six‑bit field dual_link_port_nr read from a device’s DROM may exceed the allocated sw->ports[] array. This allows a malicious or malformed Thunderbolt device to cause an out‑of‑bounds pointer write that is later dereferenced, potentially corrupting kernel memory and giving the attacker arbitrary code execution or a system crash.

Affected Systems

Any Linux kernel build that includes the Thunderbolt driver and has not yet been updated with the patch is vulnerable. The exact versions are not listed, but all kernels running the unpatched driver are affected.

Risk and Exploitability

Because the flaw permits out‑of‑bounds memory writes in kernel space, exploitation could lead to privilege escalation. The attacker would need physical access to a Thunderbolt device that can provide a malicious DROM payload. No CVSS score or EPSS data is available, but the inherent nature of the vulnerability—unbounded array indexing in the kernel—indicates a high severity. This vulnerability is not yet listed in CISA’s KEV, suggesting no widespread exploitation, but the risk remains significant if a compromised device is attached.

Generated by OpenCVE AI on August 22, 2026 at 16:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the bound‑check patch for dual_link_port_nr.
  • If updating is not immediately possible, rebuild or load the kernel without Thunderbolt support to eliminate the attack surface.
  • Restrict Thunderbolt device connections to trusted hardware and verify that all connected devices present valid DROM entries before allowing the driver to use them.

Generated by OpenCVE AI on August 22, 2026 at 16:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-788

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title thunderbolt: Bound the DROM dual link port number before indexing sw->ports
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-22T15:31:38.339Z

Reserved: 2026-08-15T05:44:03.918Z

Link: CVE-2026-74585

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:30.560

Modified: 2026-08-22T16:16:30.560

Link: CVE-2026-74585

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T16:30:05Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-788

    Access of Memory Location After End of Buffer