{"id":"CVE-2026-74575","revision":"b51a55c7b6c04325897debdb4499b99c","records":[{"revision":"b51a55c7b6c04325897debdb4499b99c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-74575","aliases":[],"title":"thunderbolt: Prevent XDomain delayed work use-after-free on disconnect","description":"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 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.","state":0,"publishedAt":"2026-08-15T12:28:13.187+00:00","modifiedAt":"2026-10-16T19:05:57.276+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/thunderbolt/xdomain.c\",\n                        \"include/linux/thunderbolt.h\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"559c1e1e013437bf190469efbcbd8bc803285853\",\n                            \"lessThan\": \"d4fa0d544c04dea636bf821ff5582cd7d63e2c34\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"559c1e1e013437bf190469efbcbd8bc803285853\",\n                            \"lessThan\": \"cfbd2dba3d862c9be8c92bea2a357d9ed828a54a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"559c1e1e013437bf190469efbcbd8bc803285853\",\n                            \"lessThan\": \"dc11d5118f9da6ea28487ffe055de5a0d0734125\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"559c1e1e013437bf190469efbcbd8bc803285853\",\n                            \"lessThan\": \"91b40862a02000f490b63f1d315be3ee31e83871\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"559c1e1e013437bf190469efbcbd8bc803285853\",\n                            \"lessThan\": \"33c0ee18cf8665c974b00f4e0ba769fbc07efe10\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"559c1e1e013437bf190469efbcbd8bc803285853\",\n                            \"lessThan\": \"54a62153c765cd24239cde1f2633f2a2fd005368\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"559c1e1e013437bf190469efbcbd8bc803285853\",\n                            \"lessThan\": \"2aa2cde2cc79a79d8ea4a15be9f4a67fc528ae91\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"559c1e1e013437bf190469efbcbd8bc803285853\",\n                            \"lessThan\": \"2c5d2d3c3f70cde2565d7b279b544893a2035842\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/thunderbolt/xdomain.c\",\n                        \"include/linux/thunderbolt.h\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.2\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.266\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.217\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.184\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.151\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.103\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.44\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.8\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/d4fa0d544c04dea636bf821ff5582cd7d63e2c34","https://git.kernel.org/stable/c/cfbd2dba3d862c9be8c92bea2a357d9ed828a54a","https://git.kernel.org/stable/c/dc11d5118f9da6ea28487ffe055de5a0d0734125","https://git.kernel.org/stable/c/91b40862a02000f490b63f1d315be3ee31e83871","https://git.kernel.org/stable/c/33c0ee18cf8665c974b00f4e0ba769fbc07efe10","https://git.kernel.org/stable/c/54a62153c765cd24239cde1f2633f2a2fd005368","https://git.kernel.org/stable/c/2aa2cde2cc79a79d8ea4a15be9f4a67fc528ae91","https://git.kernel.org/stable/c/2c5d2d3c3f70cde2565d7b279b544893a2035842"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74575","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-74575","identifiers":["CVE-2026-74575"]},"retained":false,"historicalAffected":[]}],"coverage":[]}