]> www.infradead.org Git - users/dwmw2/linux.git/commit
arm64: unwind: Prohibit probing on return_address()
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 25 Jul 2019 08:16:05 +0000 (17:16 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:50:15 +0000 (10:50 +0200)
commit5afb0d801471140c48286b29d65803c44f1f4d9b
tree819deeb100fb8de8c006621f001137b242c49b0d
parent1c14951e1ea6b9432fd9e83c8c79091d58f818da
arm64: unwind: Prohibit probing on return_address()

[ Upstream commit ee07b93e7721ccd5d5b9fa6f0c10cb3fe2f1f4f9 ]

Prohibit probing on return_address() and subroutines which
is called from return_address(), since the it is invoked from
trace_hardirqs_off() which is also kprobe blacklisted.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/kernel/return_address.c
arch/arm64/kernel/stacktrace.c