{"id":"CVE-2026-74575","title":"thunderbolt: Prevent XDomain delayed work use-after-free on disconnect","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nthunderbolt: Prevent XDomain delayed work use-after-free on disconnect\n\ntb_xdp_handle_request() runs on system_wq and queues\nxd->state_work via queue_delayed_work() in …","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","vendor":"Linux","product":"Linux","affected":["Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < d4fa0d544c04dea636bf821ff5582cd7d63e2c34","Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < cfbd2dba3d862c9be8c92bea2a357d9ed828a54a","Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < dc11d5118f9da6ea28487ffe055de5a0d0734125","Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < 91b40862a02000f490b63f1d315be3ee31e83871","Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < 33c0ee18cf8665c974b00f4e0ba769fbc07efe10","Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < 54a62153c765cd24239cde1f2633f2a2fd005368","Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < 2aa2cde2cc79a79d8ea4a15be9f4a67fc528ae91","Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < 2c5d2d3c3f70cde2565d7b279b544893a2035842","Linux 5.2"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T19:00:47.186848Z"},"published":"2026-08-15","updated":"2026-10-16","sourceUpdated":"2026-10-16T19:05:57.276Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74575","references":[{"url":"https://git.kernel.org/stable/c/d4fa0d544c04dea636bf821ff5582cd7d63e2c34"},{"url":"https://git.kernel.org/stable/c/cfbd2dba3d862c9be8c92bea2a357d9ed828a54a"},{"url":"https://git.kernel.org/stable/c/dc11d5118f9da6ea28487ffe055de5a0d0734125"},{"url":"https://git.kernel.org/stable/c/91b40862a02000f490b63f1d315be3ee31e83871"},{"url":"https://git.kernel.org/stable/c/33c0ee18cf8665c974b00f4e0ba769fbc07efe10"},{"url":"https://git.kernel.org/stable/c/54a62153c765cd24239cde1f2633f2a2fd005368"},{"url":"https://git.kernel.org/stable/c/2aa2cde2cc79a79d8ea4a15be9f4a67fc528ae91"},{"url":"https://git.kernel.org/stable/c/2c5d2d3c3f70cde2565d7b279b544893a2035842"}],"tags":["cve.org"],"epss":0.00238,"epssPercentile":0.1376,"ingestedAt":"2026-10-16T19:46:24.342Z","slug":"CVE-2026-74575","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nthunderbolt: Prevent XDomain delayed work use-after-free on disconnect\n\ntb_xdp_handle_request() runs on system_wq and queues\nxd->state_work via queue_delayed_work() in three request handlers:\nPROPERTIES_CHANGED_REQUEST, UUID_REQUEST (via start_handshake),\nand LINK_STATE_CHANGE_REQUEST.  Similarly, update_xdomain() queues\nxd->properties_changed_work when local properties change.\n\nConcurrently, tb_xdomain_remove() calls stop_handshake() which does\ncancel_delayed_work_sync() on both delayed works.  Later,\ntb_xdomain_unregister() calls device_unregister() which eventually\nfrees the xdomain.  Since commit 559c1e1e0134 (\"thunderbolt: Run\ntb_xdp_handle_request() in system workqueue\") moved the request\nhandler off tb->wq, the handler and the remove path are no longer\nserialized.  If queue_delayed_work() executes after\ncancel_delayed_work_sync() but before the xdomain is freed, the\ndelayed work fires on a freed object.\n\nAdd xd->removing that tb_xdomain_remove() sets under xd->lock\nbefore calling stop_handshake().  Each external queue site holds\nthe same lock and checks removing before calling\nqueue_delayed_work().  This provides the mutual exclusion needed:\neither the queue site acquires the lock first and queues work that\nthe subsequent cancel will see, or the remove path acquires the\nlock first and the queue site observes removing == true and skips\nthe queue.\n\n## Affected\n\n- `Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < d4fa0d544c04dea636bf821ff5582cd7d63e2c34`\n- `Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < cfbd2dba3d862c9be8c92bea2a357d9ed828a54a`\n- `Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < dc11d5118f9da6ea28487ffe055de5a0d0734125`\n- `Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < 91b40862a02000f490b63f1d315be3ee31e83871`\n- `Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < 33c0ee18cf8665c974b00f4e0ba769fbc07efe10`\n- `Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < 54a62153c765cd24239cde1f2633f2a2fd005368`\n- `Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < 2aa2cde2cc79a79d8ea4a15be9f4a67fc528ae91`\n- `Linux >= 559c1e1e013437bf190469efbcbd8bc803285853 < 2c5d2d3c3f70cde2565d7b279b544893a2035842`\n- `Linux 5.2`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":48,"depthScoreParts":{"impact":48.4,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}