diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2019-06-20 10:18:31 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2019-07-02 16:00:27 +0200 |
commit | 20955746320e252b41c6b3505587766012e3e06d (patch) | |
tree | f7d92a954c4f78f3b44b4fffd36e4cdf003ebc5b /mm | |
parent | ac6639cd3db607d386616487902b4cc1850a7be5 (diff) |
s390/kasan: avoid false positives during stack unwind
Avoid kasan false positive when current task is interrupted in-between
stack frame allocation and backchain write instructions leaving new stack
frame backchain invalid. In particular if backchain is 0 the unwinder
tries to read pt_regs from the stack and might hit kasan poisoned bytes,
leading to kasan "stack-out-of-bounds" report.
Disable kasan instrumentation of unwinder stack reads, since this
limitation couldn't be handled otherwise with current backchain unwinder
implementation.
Fixes: 78c98f907413 ("s390/unwind: introduce stack unwind API")
Reported-by: Julian Wiedmann <jwi@linux.ibm.com>
Tested-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions