Description
In the Linux kernel, the following vulnerability has been resolved:

thunderbolt: Hold a router reference for each allocated HopID

tb_stop() drops the reference to all DP tunnels but does not deactivate
them, thus nothing cancels a dprx_work still in flight (which holds its
own tunnel reference) and the tunnel can outlive tb_switch_remove(). The
HopID releases in tb_path_free() then operate on freed IDAs and trigger
warnings like

ida_free called for id=8 which is not allocated.

This can be triggered by unbinding the driver while a DP tunnel is still
waiting for the DPRX capabilities read to finish. On the Apple NHI
unplugging the cable runs into just that reliably because the read can
never finish right now and because the unplug powers down the entire
USB4 complex and removes the NHI device.

Take a router reference whenever an input or output HopID is allocated
and drop it again after the HopID is released. This keeps the ports and
their HopID IDAs alive for as long as they are used.

The KUnit tests allocate routers without ever registering their devices
so initialize the embedded struct device there as well and drop its
initial reference when the test is finished.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Use‑after‑free memory corruption in the Linux thunderbolt driver that could lead to kernel memory corruption and privilege escalation.
Action: Immediate Patch
AI Analysis

Impact

The vulnerability resides in the Linux kernel's thunderbolt subsystem where a router reference is omitted for each allocated HopID. As a result, tb_stop drops references without deactivating DP tunnels, allowing tunnels to outlive the router objects and trigger use‑after‑free errors such as "ida_free called for id=… which is not allocated." An attacker can provoke the flaw by unbinding the thunderbolt driver while a DP tunnel is still awaiting a DPRX capability read, a scenario that can occur when a USB‑4 cable is unplugged on an Apple NHI device. The memory corruption could enable an attacker to gain kernel privileges or execute arbitrary code.

Affected Systems

Linux kernel builds that include the thunderbolt driver but predates the commit introducing the router reference fix are affected. The CNA data lists Linux kernels generically; no specific version numbers are provided. Any distribution running an older kernel that has not yet incorporated the commit is potentially vulnerable.

Risk and Exploitability

No CVSS or EPSS score is available, and the flaw is not listed in the CISA KEV catalog, indicating limited evidence of exploitation. The attack vector appears to require local control or privileged access to unbind the driver, and the vulnerability manifests as kernel memory corruption. Until a patched kernel is deployed, the risk is theoretical but could be high if an attacker can manipulate the driver state.

Generated by OpenCVE AI on October 18, 2026 at 19:35 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the patch referenced in the kernel commit logs for the thunderbolt subsystem.
  • Avoid unbinding or reconfiguring the thunderbolt driver while DP tunnels are active; pause tunnel activity before disconnecting the physical cable.
  • Monitor system logs for "ida_free called for id=…" warnings and reboot the system if such messages appear, as they indicate a potential use‑after‑free condition.

Generated by OpenCVE AI on October 18, 2026 at 19:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Hold a router reference for each allocated HopID tb_stop() drops the reference to all DP tunnels but does not deactivate them, thus nothing cancels a dprx_work still in flight (which holds its own tunnel reference) and the tunnel can outlive tb_switch_remove(). The HopID releases in tb_path_free() then operate on freed IDAs and trigger warnings like ida_free called for id=8 which is not allocated. This can be triggered by unbinding the driver while a DP tunnel is still waiting for the DPRX capabilities read to finish. On the Apple NHI unplugging the cable runs into just that reliably because the read can never finish right now and because the unplug powers down the entire USB4 complex and removes the NHI device. Take a router reference whenever an input or output HopID is allocated and drop it again after the HopID is released. This keeps the ports and their HopID IDAs alive for as long as they are used. The KUnit tests allocate routers without ever registering their devices so initialize the embedded struct device there as well and drop its initial reference when the test is finished.
Title thunderbolt: Hold a router reference for each allocated HopID
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-10-18T15:46:17.742Z

Reserved: 2026-09-25T10:25:14.364Z

Link: CVE-2026-98693

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:22.727

Modified: 2026-10-18T16:17:22.727

Link: CVE-2026-98693

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T20:00:12Z

Weaknesses