diff options
author | James Morse <james.morse@arm.com> | 2015-12-10 13:22:40 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-12-10 15:08:09 +0300 |
commit | 1ffe199b1c9b72a8e752a9ae2a7af10128ab2ca1 (patch) | |
tree | d8b18acfe73ce9bfaaae71927c41c4b44b088388 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | aa4d5d3cbc258c355151a3903211b27359390ec5 (diff) | |
download | linux-1ffe199b1c9b72a8e752a9ae2a7af10128ab2ca1.tar.xz |
arm64: when walking onto the task stack, check sp & fp are in current->stack
When unwind_frame() reaches the bottom of the irq_stack, the last fp
points to the original task stack. unwind_frame() uses
IRQ_STACK_TO_TASK_STACK() to find the sp value. If either values is
wrong, we may end up walking a corrupt stack.
Check these values are sane by testing if they are both on the stack
pointed to by current->stack.
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions