CVE-2026-74575

Source
https://cve.org/CVERecord?id=CVE-2026-74575
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74575.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74575
Downstream
Published
2026-08-15T12:28:13.187Z
Modified
2026-08-17T03:47:36.087652166Z
Summary
thunderbolt: Prevent XDomain delayed work use-after-free on disconnect
Details

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

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

tbxdphandlerequest() runs on systemwq and queues xd->statework via queuedelayedwork() in three request handlers: PROPERTIESCHANGEDREQUEST, UUIDREQUEST (via starthandshake), and LINKSTATECHANGEREQUEST. Similarly, updatexdomain() queues xd->propertieschanged_work when local properties change.

Concurrently, tbxdomainremove() calls stophandshake() which does canceldelayedworksync() on both delayed works. Later, tbxdomainunregister() calls deviceunregister() which eventually frees the xdomain. Since commit 559c1e1e0134 ("thunderbolt: Run tbxdphandlerequest() in system workqueue") moved the request handler off tb->wq, the handler and the remove path are no longer serialized. If queuedelayedwork() executes after canceldelayedwork_sync() but before the xdomain is freed, the delayed work fires on a freed object.

Add xd->removing that tbxdomainremove() sets under xd->lock before calling stophandshake(). Each external queue site holds the same lock and checks removing before calling queuedelayed_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74575.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
559c1e1e013437bf190469efbcbd8bc803285853
Fixed
91b40862a02000f490b63f1d315be3ee31e83871
Fixed
33c0ee18cf8665c974b00f4e0ba769fbc07efe10
Fixed
54a62153c765cd24239cde1f2633f2a2fd005368
Fixed
2aa2cde2cc79a79d8ea4a15be9f4a67fc528ae91
Fixed
2c5d2d3c3f70cde2565d7b279b544893a2035842

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74575.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.2.0
Fixed
6.6.151
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.103
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.44
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74575.json"