Re: [PATCH bpf] bpf, arm64: fix out of bounds access in tail call

2018-02-22 Thread Alexei Starovoitov
On Fri, Feb 23, 2018 at 01:03:43AM +0100, Daniel Borkmann wrote: > I recently noticed a crash on arm64 when feeding a bogus index > into BPF tail call helper. The crash would not occur when the > interpreter is used, but only in case of JIT. Output looks as > follows: > > [ 347.007486] Unable t

[PATCH bpf] bpf, arm64: fix out of bounds access in tail call

2018-02-22 Thread Daniel Borkmann
I recently noticed a crash on arm64 when feeding a bogus index into BPF tail call helper. The crash would not occur when the interpreter is used, but only in case of JIT. Output looks as follows: [ 347.007486] Unable to handle kernel paging request at virtual address fffb850e96492510 [...]