diff options
author | Kees Cook <keescook@chromium.org> | 2012-10-25 13:38:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-25 14:37:53 -0700 |
commit | 12176503366885edd542389eed3aaf94be163fdb (patch) | |
tree | 34b48c84987a3f217987106783cac352974af9d2 /lib/bch.c | |
parent | 20f1de659b77364d55d4e7fad2ef657e7730323f (diff) | |
download | op-kernel-dev-12176503366885edd542389eed3aaf94be163fdb.zip op-kernel-dev-12176503366885edd542389eed3aaf94be163fdb.tar.gz |
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 <keescook@chromium.org>
Cc: David Miller <davem@davemloft.net>
Cc: Brad Spengler <spender@grsecurity.net>
Cc: PaX Team <pageexec@freemail.hu>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions