diff options
author | Alexei Starovoitov <ast@fb.com> | 2016-04-12 17:26:19 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-14 05:31:50 (GMT) |
commit | d82bccc69041a51f7b7b9b4a36db0772f4cdba21 (patch) | |
tree | e7566bc2ab7ba1ec1bd316b87b62c128dbf63f18 /Documentation/kcov.txt | |
parent | 3dcd493fbebfd631913df6e2773cc295d3bf7d22 (diff) | |
download | linux-d82bccc69041a51f7b7b9b4a36db0772f4cdba21.tar.xz |
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 'Documentation/kcov.txt')
0 files changed, 0 insertions, 0 deletions