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.2.33~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bbeedc3110bbb1b5c6b01fc1f027ab5d2eb40d6;p=pandora-kernel.git fs/compat_ioctl.c: VIDEO_SET_SPU_PALETTE missing error check commit 12176503366885edd542389eed3aaf94be163fdb upstream. 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed