diff options
author | Alexei Starovoitov <ast@fb.com> | 2016-04-12 10:26:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-14 01:31:50 -0400 |
commit | d82bccc69041a51f7b7b9b4a36db0772f4cdba21 (patch) | |
tree | e7566bc2ab7ba1ec1bd316b87b62c128dbf63f18 /kernel/kexec_core.c | |
parent | 3dcd493fbebfd631913df6e2773cc295d3bf7d22 (diff) | |
download | op-kernel-dev-d82bccc69041a51f7b7b9b4a36db0772f4cdba21.zip op-kernel-dev-d82bccc69041a51f7b7b9b4a36db0772f4cdba21.tar.gz |
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 'kernel/kexec_core.c')
0 files changed, 0 insertions, 0 deletions