Linux/linux 0d73c3farch/arm/include/asm assembler.h, arch/arm/lib getuser.S

ARM: 8772/1: kprobes: Prohibit kprobes on get_user functions

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 at kernel.org>
Cc: stable at vger.kernel.org
Signed-off-by: Russell King <rmk+kernel at armlinux.org.uk>
DeltaFile
+10-0arch/arm/include/asm/assembler.h
+10-0arch/arm/lib/getuser.S
+20-02 files

UnifiedSplitRaw