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

From: Greg KH

Date: Mon Aug 03 2026 - 05:23:14 EST


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