diff options
author | Alexei Starovoitov <ast@fb.com> | 2016-04-12 19:26:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-14 07:31:50 +0200 |
commit | d82bccc69041a51f7b7b9b4a36db0772f4cdba21 (patch) | |
tree | e7566bc2ab7ba1ec1bd316b87b62c128dbf63f18 /net | |
parent | net: sched: do not requeue a NULL skb (diff) | |
download | linux-d82bccc69041a51f7b7b9b4a36db0772f4cdba21.tar.xz linux-d82bccc69041a51f7b7b9b4a36db0772f4cdba21.zip |
bpf/verifier: reject invalid LD_ABS | BPF_DW instruction
verifier must check for reserved size bits in instruction opcode and
reject BPF_LD | BPF_ABS | BPF_DW and BPF_LD | BPF_IND | BPF_DW instructions,
otherwise interpreter will WARN_RATELIMIT on them during execution.
Fixes: ddd872bc3098 ("bpf: verifier: add checks for BPF_ABS | BPF_IND instructions")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions