Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 3c872db4 authored by Chris Wright's avatar Chris Wright Committed by Adrian Bunk
Browse files

[IPV6] fix ipv6_getsockopt_sticky copy_to_user leak


User supplied len < 0 can cause leak of kernel memory.
Use unsigned compare instead.

Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 6d2c0df7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment