Skip to content
Heist/ feed
High

thunderbolt: Prevent XDomain delayed work use-after-free on disconnect

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Prevent XDomain delayed work use-after-free on disconnect tb_xdp_handle_request() runs on system_wq and queues xd->state_work via queue_delayed_work() in three request handlers: PROPERTIES_CHANGED_REQUEST, UUID_REQUEST (via start_handshake), and LINK_STATE_CHANGE_REQUEST. Similarly, update_xdomain() queues xd->properties_changed_work when local properties change. Concurrently, tb_xdomain_remove() calls stop_handshake() which does cancel_delayed_work_sync() on both delayed works. Later, tb_xdomain_unregister() calls device_unregister() which eventually frees the xdomain. Since commit 559c1e1e0134 ("thunderbolt: Run tb_xdp_handle_request() in system workqueue") moved the request handler off tb->wq, the handler and the remove path are no longer serialized. If queue_delayed_work() executes after cancel_delayed_work_sync() but before the xdomain is freed, the delayed work fires on a freed object. Add xd->removing that tb_xdomain_remove() sets under xd->lock before calling stop_handshake(). Each external queue site holds the same lock and checks removing before calling queue_delayed_work(). This provides the mutual exclusion needed: either the queue site acquires the lock first and queues work that the subsequent cancel will see, or the remove path acquires the lock first and the queue site observes removing == true and skips the queue.

Announced Source revision 1
Original source ↗

CVE-2026-74575

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-74575

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "559c1e1e013437bf190469efbcbd8bc803285853",
        "lessThan": "d4fa0d544c04dea636bf821ff5582cd7d63e2c34",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "559c1e1e013437bf190469efbcbd8bc803285853",
        "lessThan": "cfbd2dba3d862c9be8c92bea2a357d9ed828a54a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "559c1e1e013437bf190469efbcbd8bc803285853",
        "lessThan": "dc11d5118f9da6ea28487ffe055de5a0d0734125",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "559c1e1e013437bf190469efbcbd8bc803285853",
        "lessThan": "91b40862a02000f490b63f1d315be3ee31e83871",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "559c1e1e013437bf190469efbcbd8bc803285853",
        "lessThan": "33c0ee18cf8665c974b00f4e0ba769fbc07efe10",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "559c1e1e013437bf190469efbcbd8bc803285853",
        "lessThan": "54a62153c765cd24239cde1f2633f2a2fd005368",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "559c1e1e013437bf190469efbcbd8bc803285853",
        "lessThan": "2aa2cde2cc79a79d8ea4a15be9f4a67fc528ae91",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "559c1e1e013437bf190469efbcbd8bc803285853",
        "lessThan": "2c5d2d3c3f70cde2565d7b279b544893a2035842",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/thunderbolt/xdomain.c",
      "include/linux/thunderbolt.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.2"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.2",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.266",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.217",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.184",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.151",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.103",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.44",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.8",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/thunderbolt/xdomain.c",
      "include/linux/thunderbolt.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-74575

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#33214 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement