summaryrefslogtreecommitdiffstats
path: root/lib/bch.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2012-10-25 13:38:16 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-25 14:37:53 -0700
commit12176503366885edd542389eed3aaf94be163fdb (patch)
tree34b48c84987a3f217987106783cac352974af9d2 /lib/bch.c
parent20f1de659b77364d55d4e7fad2ef657e7730323f (diff)
downloadop-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
OpenPOWER on IntegriCloud