aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2018-11-22 10:49:56 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-11-22 21:29:40 +0100
commit813961de3ee6474dd5703e883471fd941d6c8f69 (patch)
treec96784f1ab86f2fcdf98c420fd1f7fcb714e7107 /tools
parenttools: bpftool: fix potential NULL pointer dereference in do_load (diff)
downloadlinux-dev-813961de3ee6474dd5703e883471fd941d6c8f69.tar.xz
linux-dev-813961de3ee6474dd5703e883471fd941d6c8f69.zip
bpf: fix integer overflow in queue_stack_map
Fix the following issues: - allow queue_stack_map for root only - fix u32 max_entries overflow - disallow value_size == 0 Fixes: f1a2e44a3aec ("bpf: add queue and stack maps") Reported-by: Wei Wu <ww9210@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Cc: Mauricio Vasquez B <mauricio.vasquez@polito.it> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions