linux-stable/arch/xtensa
Max Filippov f5229f09bf xtensa: fix KASAN report for show_stack
commit 1d3b7a788c upstream.

show_stack dumps raw stack contents which may trigger an unnecessary
KASAN report. Fix it by copying stack contents to a temporary buffer
with __memcpy and then printing that buffer instead of passing stack
pointer directly to the print_hex_dump.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-06 12:12:45 +02:00
..
boot
configs Xtensa updates for v6.2 2022-12-13 15:25:08 -08:00
include xtensa: drop unused members of struct thread_struct 2023-01-06 23:33:11 -08:00
kernel xtensa: fix KASAN report for show_stack 2023-04-06 12:12:45 +02:00
lib xtensa: add __umulsidi3 helper 2022-12-06 16:21:26 -08:00
mm xtensa: drop unused members of struct thread_struct 2023-01-06 23:33:11 -08:00
platforms
variants
Kbuild
Kconfig arch: mm: rename FORCE_MAX_ZONEORDER to ARCH_FORCE_MAX_ORDER 2022-09-11 20:25:56 -07:00
Kconfig.debug
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00