Please sign in to comment.
ping: implement proper locking
We got a report of yet another bug in ping http://www.openwall.com/lists/oss-security/2017/03/24/6 ->disconnect() is not called with socket lock held. Fix this by acquiring ping rwlock earlier. Thanks to Daniel, Alexander and Andrey for letting us know this problem. Fixes: c319b4d ("net: ipv4: add IPPROTO_ICMP socket kind") Signed-off-by: Eric Dumazet <email@example.com> Reported-by: Daniel Jiang <firstname.lastname@example.org> Reported-by: Solar Designer <email@example.com> Reported-by: Andrey Konovalov <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
- Loading branch information...