aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/kernel/stacktrace.c
diff options
context:
space:
mode:
authorVasily Gorbik <[email protected]>2019-08-13 19:23:51 +0200
committerVasily Gorbik <[email protected]>2019-08-21 12:58:53 +0200
commit2c7fa8a11cc528e49e88352fce8cf083104b3797 (patch)
tree5bdb4f2c07e83410c0cdd0b299aed23e489fb3b3 /arch/s390/kernel/stacktrace.c
parent8769f610fe6d473e5e8e221709c3ac402037da6c (diff)
s390/kasan: avoid report in get_wchan
Reading other running task's stack can be a dangerous endeavor. Kasan stack memory access instrumentation includes special prologue and epilogue to mark/remove red zones in shadow memory between stack variables. For that reason there is always a race between a task reading value in other task's stack and that other task returning from a function and entering another one generating different red zones pattern. To avoid kasan reports simply perform uninstrumented memory reads. Acked-by: Ilya Leoshkevich <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'arch/s390/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions