mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 12:54:27 +00:00
Subtraction of pointers was accidentally allowed for unpriv programs by commit82abbf8d2f. Revert that part of commit. Fixes:82abbf8d2f("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]> Signed-off-by: Daniel Borkmann <[email protected]>