From: Kees Cook Date: Thu, 25 Oct 2012 20:38:16 +0000 (-0700) Subject: fs/compat_ioctl.c: VIDEO_SET_SPU_PALETTE missing error check X-Git-Tag: v3.7-rc3~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12176503366885edd542389eed3aaf94be163fdb;p=pandora-kernel.git fs/compat_ioctl.c: VIDEO_SET_SPU_PALETTE missing error check The compat ioctl for VIDEO_SET_SPU_PALETTE was missing an error check while converting ioctl arguments. This could lead to leaking kernel stack contents into userspace. Patch extracted from existing fix in grsecurity. Signed-off-by: Kees Cook Cc: David Miller Cc: Brad Spengler Cc: PaX Team Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed