android_kernel_samsung_msm8976/arch/parisc
Helge Deller 247ed0d395 parisc: Fix kernel crash with reversed copy_from_user()
commit ef72f3110d8b19f4c098a0bff7ed7d11945e70c6 upstream.

The kernel module testcase (lib/test_user_copy.c) exhibited a kernel
crash on parisc if the parameters for copy_from_user were reversed
("illegal reversed copy_to_user" testcase).

Fix this potential crash by checking the fault handler if the faulting
address is in the exception table.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2016-06-07 10:42:48 +02:00
..
configs kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
hpux [PARISC] hpux: Remove obsolete regs parameter from do_execve() in hpux_execve() 2013-01-30 13:26:57 +11:00
include parisc: Fix __ARCH_SI_PREAMBLE_SIZE 2016-02-19 14:22:38 -08:00
kernel parisc: Fix kernel crash with reversed copy_from_user() 2016-06-07 10:42:48 +02:00
lib parisc: Fix gcc miscompilation in pa_memcpy() 2013-07-21 18:21:26 -07:00
math-emu parisc: avoid undefined shift in cnv_float.h 2013-01-07 23:06:22 +01:00
mm vm: add VM_FAULT_SIGSEGV handling support 2015-04-29 10:34:00 +02:00
oprofile
Kconfig parisc: implement irq stacks - part 2 (v2) 2013-05-11 21:10:15 +02:00
Kconfig.debug parisc: add kernel stack overflow check 2013-05-07 21:34:07 +02:00
Makefile parisc: Only use -mfast-indirect-calls option for 32-bit kernel builds 2014-10-05 14:54:14 -07:00
defpalo.conf
install.sh kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
nm