Files
twx-linux/net/ipv4
Eric Dumazet 45202cd219 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 13:16:19 +02:00
..
2017-06-14 13:16:19 +02:00
…
2016-11-15 07:46:38 +01:00
2016-11-15 07:46:38 +01:00
2015-11-02 22:47:14 -05:00
2017-02-26 11:07:50 +01:00
…
…
2015-10-21 07:00:48 -07:00
2017-04-30 05:49:29 +02:00
…
…
…
2017-03-22 12:04:17 +01:00
2017-05-14 13:32:58 +02:00
2015-10-21 07:00:53 -07:00
…
2016-11-15 07:46:38 +01:00
2016-11-15 07:46:39 +01:00
…