https://github.com/torvalds/linux
Revision 0d73c3f8e7f6ee2aab1bb350f60c180f5ae21a2c authored by Masami Hiramatsu on 13 May 2018, 04:04:29 UTC, committed by Russell King on 19 May 2018, 10:35:56 UTC
Since do_undefinstr() uses get_user to get the undefined
instruction, it can be called before kprobes processes
recursive check. This can cause an infinit recursive
exception.
Prohibit probing on get_user functions.

Fixes: 24ba613c9d6c ("ARM kprobes: core code")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
1 parent eb0146d
History
Tip revision: 0d73c3f8e7f6ee2aab1bb350f60c180f5ae21a2c authored by Masami Hiramatsu on 13 May 2018, 04:04:29 UTC
ARM: 8772/1: kprobes: Prohibit kprobes on get_user functions
Tip revision: 0d73c3f
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 12.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.5 KB
.mailmap -rw-r--r-- 9.2 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 96.3 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 287 bytes
MAINTAINERS -rw-r--r-- 441.8 KB
Makefile -rw-r--r-- 61.0 KB
README -rw-r--r-- 800 bytes

README

back to top