]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Prevent an arbitrary kernel read. Check the user pointer with access_ok()
authorDan Rosenberg <drosenberg@vsecurity.com>
Sat, 16 Jul 2011 13:30:40 +0000 (23:30 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Jul 2011 05:04:08 +0000 (15:04 +1000)
commitf1ea189457c58bd7e06c001ff1ecfe3219c031c1
treef4a12a9ced340ff05b01035f39e522d5604a80ca
parent0b7addca1822ddf685ec92edf6d2f8fc907ba1ef
Prevent an arbitrary kernel read.  Check the user pointer with access_ok()
before copying data in.

Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com>
Cc: Christian Zankel <chris@zankel.net>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/xtensa/kernel/ptrace.c