CVE-2026-74585
JSON

Not scored

thunderbolt: Bound the DROM dual link port number before indexing sw->ports

Severity
Not scored
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 before 6c892ed9f4129ae40ef0f92e1bb31aa0b0ddc72c, from cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 before 3d3c212b70633332ab71672aa2bc6af257d2ec83, from cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 before b98e1e28bd95b0fa33164eec1e763d26c7058b39, from cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 before 50f0c8dd8c3390f851cfb97ca13116f9ee6469d1, from cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 before f28066057134aa9294caa597b670daf505ad9dce, from cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 before 40d2ffb74094cf36edbe05855566a4c58b6ce808, from cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 before f32c3a9a77cfb50934a60b05d5407649af062535, from cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 before d6764992f17b23d91ff93ce905ab53c2aa7191f0 and 1 more
Not affected: before 3.17, from 5.10.265 up to 5.10.*, from 5.15.216 up to 5.15.*, from 6.1.183 up to 6.1.*, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.*
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: thunderbolt: Limitar el número de puerto de enlace dual DROM antes de indexar sw -> ports tb_drom_parse_entry_port() valida el header -> index proporcionado por el dispositivo contra sw -> config.max_port_number antes de indexar sw -> ports[], pero el campo hermano entry -> dual_link_port_nr -- un valor de 6 bits también leído del DROM -- indexa el mismo array sin dicha comprobación. Un dispositivo Thunderbolt malicioso o malformado puede establecer dual_link_port_nr más allá del sw -> ports[] asignado (max_port_number + 1 entradas), produciendo un puntero tb_port fuera de límites que se almacena y luego se desreferencia. Rechazar una entrada de puerto cuyo dual_link_port_nr excede max_port_number, el mismo límite ya aplicado a header -> index.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74585 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-74585 changed 2026-11-06Public domain