summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-06-20 10:18:31 +0200
committerVasily Gorbik <gor@linux.ibm.com>2019-07-02 16:00:27 +0200
commit20955746320e252b41c6b3505587766012e3e06d (patch)
treef7d92a954c4f78f3b44b4fffd36e4cdf003ebc5b /security
parentac6639cd3db607d386616487902b4cc1850a7be5 (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 'security')
0 files changed, 0 insertions, 0 deletions