https://github.com/torvalds/linux
Revision 56b88a3bf97a39d3f4f010509917b76a865a6dc8 authored by Richard Weinberger on 09 August 2015, 20:26:33 UTC, committed by Richard Weinberger on 19 October 2015, 20:53:37 UTC
We have to exclude memory locations <= PAGE_SIZE from
the condition and let the kernel mode fault path catch it.
Otherwise a kernel NULL pointer exception will be reported
as a kernel user space access.

Fixes: d2313084e2c (um: Catch unprotected user memory access)
Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent 6b18733
History
Tip revision: 56b88a3bf97a39d3f4f010509917b76a865a6dc8 authored by Richard Weinberger on 09 August 2015, 20:26:33 UTC
um: Fix kernel mode fault condition
Tip revision: 56b88a3
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.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 320.4 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top