Re: [PATCH net] pptp: fix illegal memory access caused by multiple bind()s

2016-01-24 Thread David Miller
From: Hannes Frederic Sowa Date: Fri, 22 Jan 2016 01:39:43 +0100 > Several times already this has been reported as kasan reports caused by > syzkaller and trinity and people always looked at RCU races, but it is > much more simple. :) > > In case we bind a pptp socket multiple times, we simply a

[PATCH net] pptp: fix illegal memory access caused by multiple bind()s

2016-01-21 Thread Hannes Frederic Sowa
Several times already this has been reported as kasan reports caused by syzkaller and trinity and people always looked at RCU races, but it is much more simple. :) In case we bind a pptp socket multiple times, we simply add it to the callid_sock list but don't remove the old binding. Thus the old