commit | 0d73c3f8e7f6ee2aab1bb350f60c180f5ae21a2c | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <mhiramat@kernel.org> | Sun May 13 05:04:29 2018 +0100 |
committer | Russell King <rmk+kernel@armlinux.org.uk> | Sat May 19 11:35:56 2018 +0100 |
tree | 1157529f1984e2f576326efb9fcc5dda67a9da86 | |
parent | eb0146daefdde65665b7f076fbff7b49dade95b9 [diff] |
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@kernel.org> Cc: stable@vger.kernel.org Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>