Re: net: pptp: bad RCU usage and use after free

2014-04-06 Thread Sasha Levin
On 04/06/2014 03:01 AM, Oleg A. Arkhangelsky wrote: > > > 05.04.2014, 19:53, "Sasha Levin" : > >> My guess is that we're racing the synchronize_rcu() in del_chan() with >> the RCU protected read in lookup_chan_dst(): >> >> pptp_release() >> del_chan() lookup_chan_dst() >>

net: pptp: bad RCU usage and use after free

2014-04-05 Thread Sasha Levin
Hi all, I've stumbled on the following spew: [ 2513.440938] BUG: unable to handle kernel paging request at 88006dca0e78 [ 2513.442119] IP: pptp_connect (drivers/net/ppp/pptp.c:125 drivers/net/ppp/pptp.c:447) [ 2513.443062] PGD 3c91c067 PUD 102fc82067 PMD 102fb13067 PTE 80006dca0060 [ 251