diff options
author | Alexei Starovoitov <ast@kernel.org> | 2018-11-22 19:49:56 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-11-22 21:29:40 +0100 |
commit | 813961de3ee6474dd5703e883471fd941d6c8f69 (patch) | |
tree | c96784f1ab86f2fcdf98c420fd1f7fcb714e7107 /Documentation/rapidio | |
parent | tools: bpftool: fix potential NULL pointer dereference in do_load (diff) | |
download | linux-813961de3ee6474dd5703e883471fd941d6c8f69.tar.xz linux-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 'Documentation/rapidio')
0 files changed, 0 insertions, 0 deletions