Re: [PATCH net] tcp: do not inherit mc_list from parent

2017-05-09 Thread David Miller
From: Eric Dumazet Date: Tue, 09 May 2017 06:23:35 -0700 > I will send a V2, putting the fix in inet_csk_clone_lock() so that DCCP > is also fixed ;) Thank you :)

Re: [PATCH net] tcp: do not inherit mc_list from parent

2017-05-09 Thread Eric Dumazet
On Tue, 2017-05-09 at 05:17 -0700, Eric Dumazet wrote: > From: Eric Dumazet > > syzkaller found a way to trigger double frees from ip_mc_drop_socket() > > It turns out that leave a copy of parent mc_list at accept() time, > which is very bad. > > Very similar to commit 8b485ce69876 ("tcp: do no

[PATCH net] tcp: do not inherit mc_list from parent

2017-05-09 Thread Eric Dumazet
From: Eric Dumazet syzkaller found a way to trigger double frees from ip_mc_drop_socket() It turns out that leave a copy of parent mc_list at accept() time, which is very bad. Very similar to commit 8b485ce69876 ("tcp: do not inherit fastopen_req from parent") Initial report from Pray3r, compl