Re: race between flush_to_ldisc and pty_cleanup
From: gregkh@xxxxxxxxxxxxxxxxxxx
Date: Fri Feb 01 2019 - 09:21:14 EST
On Fri, Feb 01, 2019 at 07:03:26PM +0530, Maninder Singh wrote:
> Hi,
>
>
> There is some race condition between tty_port_put and flush_to_ldisc
> which lead to use after free case:
> (Kernel 4.1)
Wait, 4.1 is _REALLY_ old and obsolete and broken in numerous known
places.
Can you duplicate this on 4.20, or better yet, 5.0-rc4? Lots of tty and
ldisc fixes has gone into the tree in the past 3 1/2 years since that
kernel was released.
thanks,
greg k-h