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 xtensa: enable ARCH_HAS_GCOV_PROFILE_ALL 2022-07-14 00:54:47 -07:00
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 Xtensa updates for v5.20 2022-08-04 15:35:58 -07:00
variants xtensa: add test_kc705_be variant 2018-08-20 12:34:45 -07:00
Kbuild xtensa: move core-y in arch/xtensa/Makefile to arch/xtensa/Kbuild 2021-08-11 11:37:13 -07:00
Kconfig arch: mm: rename FORCE_MAX_ZONEORDER to ARCH_FORCE_MAX_ORDER 2022-09-11 20:25:56 -07:00
Kconfig.debug xtensa: make stack dump size configurable 2019-11-26 11:33:39 -08:00
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00