Linux/linux eb0146darch/arm/kernel traps.c

ARM: 8771/1: kprobes: Prohibit kprobes on do_undefinstr

Prohibit kprobes on do_undefinstr because kprobes on
arm is implemented by undefined instruction. This means
if we probe do_undefinstr(), it can cause infinit
recursive exception.

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
+4-1arch/arm/kernel/traps.c
+4-11 files

UnifiedSplitRaw