aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorAndrey Ignatov <[email protected]>2019-04-03 23:22:37 -0700
committerDaniel Borkmann <[email protected]>2019-04-05 16:50:07 +0200
commitf2bcd05ec7b839ff826d2008506ad2d2dff46a59 (patch)
treedcd402f6de719741c4e554a45ec7610d6971b1e9 /tools/perf/scripts/python/compaction-times.py
parent636e78b1cdb40b77a79b143dbd9d94847b360efa (diff)
bpf: Reject indirect var_off stack access in raw mode
It's hard to guarantee that whole memory is marked as initialized on helper return if uninitialized stack is accessed with variable offset since specific bounds are unknown to verifier. This may cause uninitialized stack leaking. Reject such an access in check_stack_boundary to prevent possible leaking. There are no known use-cases for indirect uninitialized stack access with variable offset so it shouldn't break anything. Fixes: 2011fccfb61b ("bpf: Support variable offset stack access from helpers") Reported-by: Daniel Borkmann <[email protected]> Signed-off-by: Andrey Ignatov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions