Helge Deller ef72f3110d parisc: Fix kernel crash with reversed copy_from_user()
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: stable@vger.kernel.org
Cc: Kees Cook <keescook@chromium.org>
2016-04-08 22:14:04 +02:00
..
2013-11-07 22:27:20 +01:00
2016-01-20 17:09:18 -08:00
2013-11-07 22:27:20 +01:00
2005-04-16 15:20:36 -07:00
2016-01-20 17:09:18 -08:00
2013-05-05 00:10:41 -04:00
2008-10-10 16:32:28 +00:00
2015-12-21 10:16:18 +01:00