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
Raw File
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
.gitattributes
*.c   diff=cpp
*.h   diff=cpp
back to top