Re: [PATCH net] bpf/verifier: reject invalid LD_ABS | BPF_DW instruction

2016-04-13 Thread David Miller
From: Alexei Starovoitov Date: Tue, 12 Apr 2016 10:26:19 -0700 > 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: dd

[PATCH net] bpf/verifier: reject invalid LD_ABS | BPF_DW instruction

2016-04-12 Thread Alexei Starovoitov
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"