diff options
author | 2021-12-15 18:38:30 -0800 | |
---|---|---|
committer | 2021-12-16 21:18:26 +0100 | |
commit | 433956e91200734d09958673a56df02d00a917c2 (patch) | |
tree | 7c8ba3972352c398cd4c96c1890c712f1c4a4fd2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf, selftests: Add test case trying to taint map value pointer (diff) | |
download | linux-dev-433956e91200734d09958673a56df02d00a917c2.tar.xz linux-dev-433956e91200734d09958673a56df02d00a917c2.zip |
bpf: Fix extable fixup offset.
The prog - start_of_ldx is the offset before the faulting ldx to the location
after it, so this will be used to adjust pt_regs->ip for jumping over it and
continuing, and with old temp it would have been fixed up to the wrong offset,
causing crash.
Fixes: 4c5de127598e ("bpf: Emit explicit NULL pointer checks for PROBE_LDX instructions.")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions