Files
Eric Dumazet 0aa89f1b07 net: ping: do not abuse udp_poll()
[ Upstream commit 77d4b1d369 ]

Alexander reported various KASAN messages triggered in recent kernels

The problem is that ping sockets should not use udp_poll() in the first
place, and recent changes in UDP stack finally exposed this old bug.

Fixes: c319b4d76b ("net: ipv4: add IPPROTO_ICMP socket kind")
Fixes: 6d0bfe2261 ("net: ipv6: Add IPv6 support to the ping socket.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Sasha Levin <alexander.levin@verizon.com>
Cc: Solar Designer <solar@openwall.com>
Cc: Vasiliy Kulikov <segoon@openwall.com>
Cc: Lorenzo Colitti <lorenzo@google.com>
Acked-By: Lorenzo Colitti <lorenzo@google.com>
Tested-By: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-14 15:05:52 +02:00
..
2016-09-27 21:15:21 -04:00
2016-06-27 15:06:17 -04:00
2016-07-08 12:20:57 +02:00
2016-06-09 23:41:03 -07:00
2016-08-26 11:55:18 -07:00
2016-09-23 08:38:50 -04:00
2017-06-07 12:07:46 +02:00
2016-06-08 11:36:02 -07:00
2016-05-20 18:03:16 -04:00
2016-10-14 10:59:15 -04:00
2016-05-20 18:03:17 -04:00
2017-06-14 15:05:52 +02:00
2016-08-17 19:36:23 -04:00
2016-10-26 08:01:07 +02:00
2016-10-03 02:00:22 -04:00
2016-10-04 02:11:51 -04:00
2016-06-15 20:41:23 -07:00
2016-05-16 13:46:23 -04:00
2016-07-08 12:20:57 +02:00
2016-09-10 23:12:53 -07:00
2016-11-03 16:16:50 -04:00
2016-10-29 20:56:31 -04:00