On 6/28/17 6:04 PM, Daniel Borkmann wrote:
Prevent this by checking xadd src reg for pointer types. Also add a couple of test cases related to this.Fixes: 1be7f75d1668 ("bpf: enable non-root eBPF programs") Fixes: 17a5267067f3 ("bpf: verifier (add verifier core)") Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
