{"id":"CVE-2026-74441","state":"PUBLISHED","title":"usb: typec: ucsi: Fix race condition and ordering in port unregistration","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: ucsi: Fix race condition and ordering in port unregistration\n\nA synchronization issue exists during port unregistration where pending\npartner work items can race against workqueue destruction, leading to\nuse-after-free conditions:\n\n  cros_ec_ucsi cros_ec_ucsi.3.auto: error -ETIMEDOUT: PPM init failed\n  BUG: kernel NULL pointer dereference, address: 0000000000000000\n  RIP: 0010:__queue_work+0x83/0x4a0\n  Call Trace:\n    <IRQ>\n    __cfi_delayed_work_timer_fn+0x10/0x10\n    run_timer_softirq+0x3b6/0xbd0\n    sched_clock_cpu+0xc/0x110\n    irq_exit_rcu+0x18d/0x330\n    fred_sysvec_apic_timer_interrupt+0x5e/0x80\n\nFix this by ensuring strict ordering and proper serialization during\nteardown:\n\n1. Move ucsi_unregister_partner() to the beginning of the teardown\nsequence and protect it under the connector mutex lock.\n2. Ensure all pending partner tasks are explicitly flushed and finished\nbefore the workqueue is destroyed.\n3. Switch from mod_delayed_work() to a cancel_delayed_work() and\nqueue_delayed_work() sequence. This guarantees that items currently marked\nas pending won't be scheduled an additional time, preventing a double\nrelease of resources which leads to the following crash:\n\n  Oops: general protection fault, probably for non-canonical address\n    0xdead000000000122: 0000 [#1] SMP NOPTI\n  Workqueue: cros_ec_ucsi.3.auto-con2 ucsi_poll_worker\n  RIP: 0010:ucsi_poll_worker+0x65/0x1e0\n  Call Trace:\n  <TASK>\n    process_scheduled_works+0x218/0x6d0\n    worker_thread+0x188/0x3f0\n    __cfi_worker_thread+0x10/0x10\n    kthread+0x226/0x2a0\n\nTo ensure these rules are applied identically across both the normal\nteardown and the ucsi_init() error paths, consolidate the cleanup logic\ninto a new helper, ucsi_unregister_port().","publishedAt":"2026-08-15T12:26:49.359Z","updatedAt":"2026-08-23T12:47:17.900Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"7b63c680ff605f60f056e5f2c323f1a602aee182","versionType":"git"},{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"07f8aaffee705e552c1f723ac8bf7eb137ad59c2","versionType":"git"},{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"11483d80267db97fbe49f2df66385434256cc3b0","versionType":"git"},{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"3f7b3728dd9011c915cbeaea77274ebe8366550d","versionType":"git"},{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"bc7a0f721123ea260a42f1ded06dab844ba49434","versionType":"git"},{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"7aa7d4bf9d3fa9a6a47b640ad103ab433b7ff261","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/ucsi/ucsi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.184","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.151","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.103","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/ucsi/ucsi.c"]}],"references":["https://git.kernel.org/stable/c/7b63c680ff605f60f056e5f2c323f1a602aee182","https://git.kernel.org/stable/c/07f8aaffee705e552c1f723ac8bf7eb137ad59c2","https://git.kernel.org/stable/c/11483d80267db97fbe49f2df66385434256cc3b0","https://git.kernel.org/stable/c/3f7b3728dd9011c915cbeaea77274ebe8366550d","https://git.kernel.org/stable/c/bc7a0f721123ea260a42f1ded06dab844ba49434","https://git.kernel.org/stable/c/7aa7d4bf9d3fa9a6a47b640ad103ab433b7ff261"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74441.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74441","state":"PUBLISHED","datePublished":"2026-08-15T12:26:49.359Z","dateUpdated":"2026-08-23T12:47:17.900Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-15T05:44:03.897Z"},"containers":{"cna":{"title":"usb: typec: ucsi: Fix race condition and ordering in port unregistration","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: ucsi: Fix race condition and ordering in port unregistration\n\nA synchronization issue exists during port unregistration where pending\npartner work items can race against workqueue destruction, leading to\nuse-after-free conditions:\n\n  cros_ec_ucsi cros_ec_ucsi.3.auto: error -ETIMEDOUT: PPM init failed\n  BUG: kernel NULL pointer dereference, address: 0000000000000000\n  RIP: 0010:__queue_work+0x83/0x4a0\n  Call Trace:\n    <IRQ>\n    __cfi_delayed_work_timer_fn+0x10/0x10\n    run_timer_softirq+0x3b6/0xbd0\n    sched_clock_cpu+0xc/0x110\n    irq_exit_rcu+0x18d/0x330\n    fred_sysvec_apic_timer_interrupt+0x5e/0x80\n\nFix this by ensuring strict ordering and proper serialization during\nteardown:\n\n1. Move ucsi_unregister_partner() to the beginning of the teardown\nsequence and protect it under the connector mutex lock.\n2. Ensure all pending partner tasks are explicitly flushed and finished\nbefore the workqueue is destroyed.\n3. Switch from mod_delayed_work() to a cancel_delayed_work() and\nqueue_delayed_work() sequence. This guarantees that items currently marked\nas pending won't be scheduled an additional time, preventing a double\nrelease of resources which leads to the following crash:\n\n  Oops: general protection fault, probably for non-canonical address\n    0xdead000000000122: 0000 [#1] SMP NOPTI\n  Workqueue: cros_ec_ucsi.3.auto-con2 ucsi_poll_worker\n  RIP: 0010:ucsi_poll_worker+0x65/0x1e0\n  Call Trace:\n  <TASK>\n    process_scheduled_works+0x218/0x6d0\n    worker_thread+0x188/0x3f0\n    __cfi_worker_thread+0x10/0x10\n    kthread+0x226/0x2a0\n\nTo ensure these rules are applied identically across both the normal\nteardown and the ucsi_init() error paths, consolidate the cleanup logic\ninto a new helper, ucsi_unregister_port()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"7b63c680ff605f60f056e5f2c323f1a602aee182","versionType":"git"},{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"07f8aaffee705e552c1f723ac8bf7eb137ad59c2","versionType":"git"},{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"11483d80267db97fbe49f2df66385434256cc3b0","versionType":"git"},{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"3f7b3728dd9011c915cbeaea77274ebe8366550d","versionType":"git"},{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"bc7a0f721123ea260a42f1ded06dab844ba49434","versionType":"git"},{"version":"b9aa02ca39a49740926c2c450a1505a4a0f8954a","status":"affected","lessThan":"7aa7d4bf9d3fa9a6a47b640ad103ab433b7ff261","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/ucsi/ucsi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.184","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.151","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.103","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/ucsi/ucsi.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7b63c680ff605f60f056e5f2c323f1a602aee182"},{"url":"https://git.kernel.org/stable/c/07f8aaffee705e552c1f723ac8bf7eb137ad59c2"},{"url":"https://git.kernel.org/stable/c/11483d80267db97fbe49f2df66385434256cc3b0"},{"url":"https://git.kernel.org/stable/c/3f7b3728dd9011c915cbeaea77274ebe8366550d"},{"url":"https://git.kernel.org/stable/c/bc7a0f721123ea260a42f1ded06dab844ba49434"},{"url":"https://git.kernel.org/stable/c/7aa7d4bf9d3fa9a6a47b640ad103ab433b7ff261"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-23T12:47:17.900Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.184"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.6.151"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.12.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.18.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"7.1.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}