From: Ben Hutchings Date: Mon, 18 Nov 2013 17:04:58 +0000 (+0000) Subject: net/compat: Fix minor information leak in siocdevprivate_ioctl() X-Git-Tag: v3.14-rc1~94^2~622^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=417c3522b3202dacce4873cfb0190459fbce95c5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed