android_kernel_sony_sdm845/tools
Repository files (latest commit first)
Filename Latest commit message Latest commit date
William Tu b92813587e BACKPORT: bpf: enable verifier to add 0 to packet ptr
The patch fixes the case when adding a zero value to the packet
pointer.  The zero value could come from src_reg equals type
BPF_K or CONST_IMM.  The patch fixes both, otherwise the verifer
reports the following error:
  [...]
    R0=imm0,min_value=0,max_value=0
    R1=pkt(id=0,off=0,r=4)
    R2=pkt_end R3=fp-12
    R4=imm4,min_value=4,max_value=4
    R5=pkt(id=0,off=4,r=4)
  269: (bf) r2 = r0     // r2 becomes imm0
  270: (77) r2 >>= 3
  271: (bf) r4 = r1     // r4 becomes pkt ptr
  272: (0f) r4 += r2    // r4 += 0
  addition of negative constant to packet pointer is not allowed

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: Mihai Budiu <mbudiu@vmware.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:54:25 +07:00
..
accounting This is the 4.9.219 stable release 2020-04-13 13:00:22 +02:00
arch x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE 2022-03-11 10:03:30 +01:00
build tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts 2022-04-20 09:06:44 +02:00
cgroup
firewire
gpio tools: gpio-hammer: Avoid potential overflow in main 2020-10-01 20:40:10 +02:00
hv Tools: hv: kvp: eliminate 'may be used uninitialized' warning 2019-09-10 10:31:02 +01:00
iio tools: iio: iio_utils: fix digit calculation 2022-11-03 23:49:16 +09:00
include BACKPORT: tools lib bpf: Sync {tools,}/include/uapi/linux/bpf.h 2026-05-15 17:54:22 +07:00
kvm/kvm_stat tweewide: Fix most Shebang lines 2021-06-03 08:23:27 +02:00
laptop
lguest
lib libsubcmd: Fix use-after-free for realloc(..., 0) 2022-02-23 11:56:40 +01:00
net
nfsd
objtool objtool: Don't fail on missing symbol table 2021-02-10 09:09:24 +01:00
pcmcia
perf cgroup: make perf_event controller work on cgroup2 hierarchy 2026-05-15 17:50:32 +07:00
power cpupower: avoid multiple definition with gcc -fno-common 2020-04-02 17:20:31 +02:00
scripts tools: Let O= makes handle a relative path with -C option 2020-04-02 17:20:36 +02:00
spi
testing BACKPORT: bpf: enable verifier to add 0 to packet ptr 2026-05-15 17:54:25 +07:00
thermal/tmon tools/thermal: tmon: fix for segfault 2018-05-30 07:50:43 +02:00
time
usb usb: testusb: Fix for showing the connection speed 2021-10-09 13:25:59 +02:00
virtio ptr_ring: fix up after recent ptr_ring changes 2018-11-10 07:42:50 -08:00
vm tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep" 2022-12-08 11:15:41 +01:00
Makefile