]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 4 Sep 2019 06:16:38 +0000 (02:16 -0400)
commitf040df2ab1a65e20ec2b4f765e141a998e693783
tree86d8d09379ff12dbcf24e5eb3ea5f492766e9c5d
parentb74c694eee36e351a97ab39171a86fd926fdd0ad
arm64: unwind: Prohibit probing on return_address()

BugLink: https://bugs.launchpad.net/bugs/1841652
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/arm64/kernel/return_address.c
arch/arm64/kernel/stacktrace.c