Re: [RFC PATCH 6.6.y 0/4] misc: ti-st: close transport removal races

Greg KH <[email protected]> Mon, 3 Aug 2026 11:14:37 +0200
Newsgroups org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <2026080323-peso-hesitate-9920@gregkh>
On Fri, Jul 24, 2026 at 01:28:38PM +0800, Hongyan Xu wrote:
> The TI shared transport is published before probe completes and remains
> published while remove tears its core down.  The exported protocol entry
> points can retain the raw core pointer across that teardown.  An attached
> N_TI_WL line discipline and its write-wakeup work provide another path to
> the same freed core.
> 
> This series publishes only fully initialized transports, accounts users of
> the published pointer, withdraws and drains that pointer on remove, and
> synchronously closes an attached TTY before freeing the core.
> 
> This is an RFC for the 6.6 stable tree because the driver is still present
> there but was removed from mainline by commit 78fe66360ed6 ("misc: ti-st:
> st_kim: remove the driver").  There is consequently no current mainline
> code location through which these fixes can first be merged.

Great, then you shouldn't worry about this driver as obviously no one
uses it :)

thanks,

greg k-h