Re: race between flush_to_ldisc and pty_cleanup

2019-02-02 Thread Keun-O Park
Hi, 02/01/2019 07:31 PM에 Maninder Singh 이(가) 쓴 글: > Hi, > >> 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) >>> >>> [1403.5130] Unable t

RE: race between flush_to_ldisc and pty_cleanup

2019-02-01 Thread Maninder Singh
Hi, >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) >> >> [1403.5130] Unable to handle kernel paging request at virtual address >> 6b6b6b8

Re: race between flush_to_ldisc and pty_cleanup

2019-02-01 Thread gre...@linuxfoundation.org
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) > > [1403.5130] Unable to handle kernel paging request at virtual address 6b6b6b83 > ... > ... > ..

Re: race between flush_to_ldisc and pty_cleanup

2019-02-01 Thread gre...@linuxfoundation.org
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