https://github.com/torvalds/linux
Revision ef72f3110d8b19f4c098a0bff7ed7d11945e70c6 authored by Helge Deller on 08 April 2016, 16:18:48 UTC, committed by Helge Deller on 08 April 2016, 20:14:04 UTC
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>
1 parent e389302
History
Tip revision: ef72f3110d8b19f4c098a0bff7ed7d11945e70c6 authored by Helge Deller on 08 April 2016, 16:18:48 UTC
parisc: Fix kernel crash with reversed copy_from_user()
Tip revision: ef72f31
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.5 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 95.4 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 343.8 KB
Makefile -rw-r--r-- 55.0 KB
README -rw-r--r-- 18.1 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top