diff options
| author | Mykyta Yatsenko <yatsenko@meta.com> | 2026-08-12 07:47:22 -0700 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2026-08-14 18:26:14 +0200 |
| commit | b0e872a31e157d48479507c2821ba8bf6323b7ad (patch) | |
| tree | e231fa72a37f137ffde2a92b0b303470277f5b81 /tools/perf/scripts/python/flamegraph.py | |
| parent | c7e617552938dc5e28d9ad87ae485caa35389be7 (diff) | |
bpf: Fix arm64 KASAN false positive after bpf_throw
arm64 passes zero as the stack pointer while walking BPF frames, so
bpf_throw() leaves stale KASAN stack poison after jumping to the
exception callback.
Use the frame pointer as the fallback stack watermark.
Fixes: e74cb1b42213 ("arm64: stacktrace: Implement arch_bpf_stack_walk() for the BPF JIT")
Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Link: https://lore.kernel.org/bpf/20260812-hello_world-v1-1-c3c2ddcb362d@meta.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
