[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56955577.4060905@iogearbox.net>
Date: Tue, 12 Jan 2016 20:35:19 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Rabin Vincent <rabin@....in>, davem@...emloft.net
CC: netdev@...r.kernel.org, ast@...nel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCHv2] net: bpf: reject invalid shifts
On 01/12/2016 08:17 PM, Rabin Vincent wrote:
> On ARM64, a BUG() is triggered in the eBPF JIT if a filter with a
> constant shift that can't be encoded in the immediate field of the
> UBFM/SBFM instructions is passed to the JIT. Since these shifts
> amounts, which are negative or >= regsize, are invalid, reject them in
> the eBPF verifier and the classic BPF filter checker, for all
> architectures.
>
> Signed-off-by: Rabin Vincent <rabin@....in>
Fine with me as well, thanks for following up!
Acked-by: Daniel Borkmann <daniel@...earbox.net>
Powered by blists - more mailing lists