linux/arch/arm/include
Masami Hiramatsu 365f12db3d ARM: 8772/1: kprobes: Prohibit kprobes on get_user functions
commit 0d73c3f8e7 upstream.

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: 24ba613c9d ("ARM kprobes: core code")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
[bwh: Backported to 3.16: Drop changes to __get_user_{8,32_t_8,64t_{1,2,4}}]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2018-10-21 08:46:15 +01:00
..
asm ARM: 8772/1: kprobes: Prohibit kprobes on get_user functions 2018-10-21 08:46:15 +01:00
debug Samsung Exynos updates for 3.16 2014-05-30 21:44:49 -07:00
uapi/asm ARM: 8097/1: unistd.h: relocate comments back to place 2014-09-05 16:36:28 -07:00