Files
linux/net/socket.c
Ben Hutchings e45145b6eb net/compat: Fix minor information leak in siocdevprivate_ioctl()
commit 417c3522b3 upstream.

We don't need to check that ifr_data itself is a valid user pointer,
but we should check &ifr_data is.  Thankfully the copy of ifr_name is
checked, so this can only leak a few bytes from immediately above the
user address limit.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
2014-06-27 10:25:17 +02:00

84 KiB