[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025121707-subwoofer-theme-ebe3@gregkh>
Date: Wed, 17 Dec 2025 14:19:25 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: "Chia-Lin Kao (AceLan)" <acelan.kao@...onical.com>
Cc: Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>,
Andrei Kuchynski <akuchynski@...omium.org>,
Ćukasz Bartosik <ukaszb@...omium.org>,
Venkat Jayaraman <venkat.jayaraman@...el.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] usb: typec: ucsi: Fix workqueue destruction race
during connector cleanup
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
Powered by blists - more mailing lists