Skip to content
Heist/ feed
Back to feed
UnratedFix available

thunderbolt: Hold a router reference for each allocated HopID

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.56, 7.2.10
CVEs
CVE-2026-98693
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:18 UTC · Revision 1

Source evidence

thunderbolt: Hold a router reference for each allocated HopID

core-osv · Original source

Published 18 Oct 2026, 15:46 UTC

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.

osv:CVE-2026-98693

Kernel

Fixed versions: 6.18.56, 7.2.10

Complete source record
{
  "id": "18ecd907d7bdb645f9d6ee4931c24e4d8e01ffda7e4cfda68b7493f0d3eb0421",
  "url": "https://osv.dev/vulnerability/CVE-2026-98693",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "thunderbolt: Hold a router reference for each allocated HopID",
    "summary": "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.",
    "evidence": "osv:CVE-2026-98693",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.56",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98693",
      "aliases": [
        "CVE-2026-98693"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d6d458d42e1e1544a18f37f1d5c840e00d5261b9"
                },
                {
                  "fixed": "c444d2c17dc236680324fd989232199680a6c419"
                },
                {
                  "fixed": "2b5f976119d8f099a03cbf700df3d9c8690fe33d"
                },
                {
                  "fixed": "032c59c7681c661b63123231824170c025afb7e7"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98693.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.14.0"
                },
                {
                  "fixed": "6.18.56"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98693.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.842464551Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/032c59c7681c661b63123231824170c025afb7e7",
        "https://git.kernel.org/stable/c/2b5f976119d8f099a03cbf700df3d9c8690fe33d",
        "https://git.kernel.org/stable/c/c444d2c17dc236680324fd989232199680a6c419",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98693.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98693",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98693.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98693",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 510662,
  "published_at": "2026-10-18T15:46:17.742+00:00"
}