Searched hist:"417 c3522" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/ |
H A D | socket.c | 417c3522 Mon Nov 18 11:04:58 CST 2013 Ben Hutchings <bhutchings@solarflare.com> net/compat: Fix minor information leak in siocdevprivate_ioctl()
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> 417c3522 Mon Nov 18 11:04:58 CST 2013 Ben Hutchings <bhutchings@solarflare.com> net/compat: Fix minor information leak in siocdevprivate_ioctl() 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>
|