Files
kernel_amazon_mt8127-common/arch/parisc/kernel
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
..
2014-02-06 11:08:17 -08:00
2012-05-07 11:38:46 +02:00
2012-12-14 13:06:43 +10:30
2013-05-05 00:10:41 -04:00
2013-01-15 22:30:15 -08:00
2013-04-08 17:39:27 +02:00
2016-02-19 14:22:38 -08:00