[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170509.151821.971676153599667777.davem@davemloft.net>
Date: Tue, 09 May 2017 15:18:21 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, pray3r.z@...il.com, andreyknvl@...gle.com
Subject: Re: [PATCH v2 net] dccp/tcp: do not inherit mc_list from parent
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 09 May 2017 06:29:19 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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, completed by Andrey one.
> Thanks a lot to them !
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Pray3r <pray3r.z@...il.com>
> Reported-by: Andrey Konovalov <andreyknvl@...gle.com>
> Tested-by: Andrey Konovalov <andreyknvl@...gle.com>
> ---
> v2: fix moved into inet_csk_clone_lock() to fix both DCCP and TCP
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists