summaryrefslogtreecommitdiff
path: root/arch/arm/lib/copy_to_user.S
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2018-05-13 07:04:29 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2018-05-19 13:35:56 +0300
commit0d73c3f8e7f6ee2aab1bb350f60c180f5ae21a2c (patch)
tree1157529f1984e2f576326efb9fcc5dda67a9da86 /arch/arm/lib/copy_to_user.S
parenteb0146daefdde65665b7f076fbff7b49dade95b9 (diff)
downloadlinux-0d73c3f8e7f6ee2aab1bb350f60c180f5ae21a2c.tar.xz
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>
Diffstat (limited to 'arch/arm/lib/copy_to_user.S')
0 files changed, 0 insertions, 0 deletions