Files
linux/net/ipv4
Eric Dumazet db8ebc6da8 dccp/tcp: do not inherit mc_list from parent
[ Upstream commit 657831ffc3 ]

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 8b485ce698 ("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@google.com>
Reported-by: Pray3r <pray3r.z@gmail.com>
Reported-by: Andrey Konovalov <andreyknvl@google.com>
Tested-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-07 12:09:58 +02:00
..
2017-02-13 22:15:03 -05:00
2017-02-27 18:43:47 -08:00
2016-10-20 14:32:22 -04:00
2017-01-13 22:37:16 -05:00
2017-04-17 12:46:50 -04:00
2017-02-15 11:04:11 +01:00
2017-03-24 20:50:28 -07:00
2017-05-14 14:06:01 +02:00
2016-06-10 23:07:49 -07:00
2016-09-21 00:23:00 -04:00
2017-02-15 11:04:11 +01:00
2017-01-10 10:57:12 +01:00