summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2018-05-13 07:04:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-25 11:54:57 +0300
commit21bcf304a8b9dfadf7fcaccaa44f41110edd21cb (patch)
tree25e9d0742c70bdf0e5f7e6ff87c61358584b2e1f /net/ipv4
parente5f28fe3c6acd1195007132cc33f5d4fa058be32 (diff)
downloadlinux-21bcf304a8b9dfadf7fcaccaa44f41110edd21cb.tar.xz
ARM: 8772/1: kprobes: Prohibit kprobes on get_user functions
commit 0d73c3f8e7f6ee2aab1bb350f60c180f5ae21a2c upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions