On 09/12/2018 11:06 PM, Alexei Starovoitov wrote:
> Subtraction of pointers was accidentally allowed for unpriv programs
> by commit 82abbf8d2fc4. Revert that part of commit.
>
> Fixes: 82abbf8d2fc4 ("bpf: do not allow root to mangle valid pointers")
> Reported-by: Jann Horn <[email protected]>
> Acked-by: Daniel Borkmann <[email protected]>
> Signed-off-by: Alexei Starovoitov <[email protected]>Applied to bpf, thanks Alexei!
