Re: [PATCH v3] usb: typec: ucsi: Fix workqueue destruction race during connector cleanup

From: Greg Kroah-Hartman
Date: Wed Dec 17 2025 - 09:50:33 EST


On Fri, Oct 17, 2025 at 03:22:50PM +0800, Chia-Lin Kao (AceLan) wrote:
> During UCSI initialization and operation, there is a race condition where
> delayed work items can be scheduled but attempt to queue work after the
> workqueue has been destroyed. This occurs in multiple code paths.
>
> The race occurs when:
> 1. ucsi_partner_task() or ucsi_poll_worker() schedule delayed work
> 2. Connector cleanup paths call destroy_workqueue()
> 3. Previously scheduled delayed work timers fire after destruction
> 4. This triggers warnings and crashes in __queue_work()

<snip>

What ever happened to this? If it's still needed, can you rebase
against 6.19-rc1 and resend?

thanks,
greg k-h