CVE-2026-97508 (GCVE-0-2026-97508)
Vulnerability from cvelistv5
Published
2026-09-24 16:04
Modified
2026-10-03 10:59
Summary
In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Set tb->root_switch to NULL when domain is stopped Similarly what we do with the firmware connection manager. This makes tb_xdp_handle_request() return error to the remote host. However, we need to make sure we keep the uuid alive so that we can reply until the whole domain is released.
Impacted products
Vendor Product Version
Linux Linux Version: d1ff70241a275133e1a0258b7c23588b122276c8
Version: d1ff70241a275133e1a0258b7c23588b122276c8
Version: d1ff70241a275133e1a0258b7c23588b122276c8
Version: d1ff70241a275133e1a0258b7c23588b122276c8
Version: d1ff70241a275133e1a0258b7c23588b122276c8
Version: d1ff70241a275133e1a0258b7c23588b122276c8
Version: d1ff70241a275133e1a0258b7c23588b122276c8
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/thunderbolt/tb.c",
            "drivers/thunderbolt/xdomain.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d9a638e7bc87e0e6fe3a75517ac481e72fc0058c",
              "status": "affected",
              "version": "d1ff70241a275133e1a0258b7c23588b122276c8",
              "versionType": "git"
            },
            {
              "lessThan": "66b0fe27e277713c2b9f3c452c76330ed0bd7eaf",
              "status": "affected",
              "version": "d1ff70241a275133e1a0258b7c23588b122276c8",
              "versionType": "git"
            },
            {
              "lessThan": "54ad3415cc211ca0d64ae1bf3234d6eb5c6aedd0",
              "status": "affected",
              "version": "d1ff70241a275133e1a0258b7c23588b122276c8",
              "versionType": "git"
            },
            {
              "lessThan": "83d1af5b1b6e6c96ffa633ca2c9a77f6f4c93efa",
              "status": "affected",
              "version": "d1ff70241a275133e1a0258b7c23588b122276c8",
              "versionType": "git"
            },
            {
              "lessThan": "f06e9fbae78a51832211b4495a19412c7d49ecb4",
              "status": "affected",
              "version": "d1ff70241a275133e1a0258b7c23588b122276c8",
              "versionType": "git"
            },
            {
              "lessThan": "99f019d2e9eb79adc485fef8aa8ada2cd0c843e9",
              "status": "affected",
              "version": "d1ff70241a275133e1a0258b7c23588b122276c8",
              "versionType": "git"
            },
            {
              "lessThan": "e56249d8a68e712f3b60e1f3fdbb5b4fea146468",
              "status": "affected",
              "version": "d1ff70241a275133e1a0258b7c23588b122276c8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/thunderbolt/tb.c",
            "drivers/thunderbolt/xdomain.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.15"
            },
            {
              "lessThan": "4.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nthunderbolt: Set tb-\u003eroot_switch to NULL when domain is stopped\n\nSimilarly what we do with the firmware connection manager. This makes\ntb_xdp_handle_request() return error to the remote host. However, we\nneed to make sure we keep the uuid alive so that we can reply until the\nwhole domain is released."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - XDomain discovery packets (TB_CFG_PKG_XDOMAIN_REQ) from a connected Thunderbolt/USB4 peer enter via tb_ctl_rx_callback \u2192 tb_domain_event_cb \u2192 tb_xdomain_handle_request \u2192 tb_xdp_schedule_request and are handled in tb_xdp_handle_request, which then reads tb-\u003eroot_switch after software-CM tb_stop(). This is a local Thunderbolt fabric, not a routable IP protocol.\nAC:H - The UAF requires software-CM tb_stop() to have already run tb_switch_remove(tb-\u003eroot_switch) without clearing the pointer. tb_stop() is only called from tb_domain_remove() in nhi_pci_remove (NHI unbind/PCI removal), which a Thunderbolt peer cannot induce; UUID_REQUEST and other XDomain messages only queue system_wq work that then races that teardown.\nPR:N - tb_domain_event_cb dispatches TB_CFG_PKG_XDOMAIN_REQ to tb_xdomain_handle_request whenever tb_is_xdomain_enabled() (default-on xdomain module param plus ACPI OSC), with no device authorization or local credentials; UUID_REQUEST is answered even when tb_xdomain_find_by_route_locked() finds no xdomain.\nUI:N - Once a Thunderbolt/USB4 link exists, the peer injects XDomain control packets itself and tb_xdp_handle_request runs with no mount, sysfs write, or authorization dialog. Domain teardown is an attacker-independent condition and is scored as AC:H rather than a required victim UI step.\nS:U - The dangling tb-\u003eroot_switch and sw-\u003euuid accesses corrupt host kernel heap state inside the Thunderbolt driver; this does not cross a VM, IOMMU, or sandbox boundary.\nC:H - After tb_stop() frees the host switch, tb_xdp_handle_request still holds tb-\u003eroot_switch-\u003euuid and tb_xdp_uuid_response() uuid_copy()s those 16 bytes into a UUID_RESPONSE sent back to the peer; UAF of struct tb_switch is also a kernel disclosure primitive.\nI:H - tb_xdomain_find_by_route() calls switch_find_xdomain(tb-\u003eroot_switch) which walks the freed host switch via tb_switch_for_each_port, and later request handlers may operate on a reallocated tb_xdomain; that slab UAF can be sprayed into an arbitrary write or control-flow hijack.\nA:H - Dereferencing the freed root switch in tb_xdp_handle_request (uuid load) or switch_find_xdomain (port walk) oopses the system_wq kworker, crashing the host."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-03T10:59:06.059Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d9a638e7bc87e0e6fe3a75517ac481e72fc0058c"
        },
        {
          "url": "https://git.kernel.org/stable/c/66b0fe27e277713c2b9f3c452c76330ed0bd7eaf"
        },
        {
          "url": "https://git.kernel.org/stable/c/54ad3415cc211ca0d64ae1bf3234d6eb5c6aedd0"
        },
        {
          "url": "https://git.kernel.org/stable/c/83d1af5b1b6e6c96ffa633ca2c9a77f6f4c93efa"
        },
        {
          "url": "https://git.kernel.org/stable/c/f06e9fbae78a51832211b4495a19412c7d49ecb4"
        },
        {
          "url": "https://git.kernel.org/stable/c/99f019d2e9eb79adc485fef8aa8ada2cd0c843e9"
        },
        {
          "url": "https://git.kernel.org/stable/c/e56249d8a68e712f3b60e1f3fdbb5b4fea146468"
        }
      ],
      "title": "thunderbolt: Set tb-\u003eroot_switch to NULL when domain is stopped",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-97508",
    "datePublished": "2026-09-24T16:04:58.740Z",
    "dateReserved": "2026-09-24T16:01:01.151Z",
    "dateUpdated": "2026-10-03T10:59:06.059Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…