android_kernel_sony_sdm845/include/uapi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexei Starovoitov 2d7ff548fa BACKPORT: bpf: fix bpf_tail_call() x64 JIT
- bpf prog_array just like all other types of bpf array accepts 32-bit index.
  Clarify that in the comment.
- fix x64 JIT of bpf_tail_call which was incorrectly loading 8 instead of 4 bytes
- tighten corresponding check in the interpreter to stay consistent

The JIT bug can be triggered after introduction of BPF_F_NUMA_NODE flag
in commit 96eabe7a40aa in 4.14. Before that the map_flags would stay zero and
though JIT code is wrong it will check bounds correctly.
Hence two fixes tags. All other JITs don't have this problem.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Fixes: 96eabe7a40aa ("bpf: Allow selecting numa node during map creation")
Fixes: b52f00e6a7 ("x86: bpf_jit: implement bpf_tail_call() helper")
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:55:23 +07:00
..
asm-generic BACKPORT: sock: add SOCK_ZEROCOPY sockopt 2026-05-15 17:55:02 +07:00
drm drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI 2021-09-27 05:59:33 -07:00
linux BACKPORT: bpf: fix bpf_tail_call() x64 JIT 2026-05-15 17:55:23 +07:00
media msm: vidc: add delta QP support for P and B frames in ROI 2021-01-26 22:32:47 -08:00
miniISP media: platform: Altek AL6100 driver release 2019-07-24 20:25:30 +08:00
misc uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
mtd uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
rdma Kbuild : Use no-export-headers to avoid exporting headers 2020-04-09 16:08:34 +05:30
scsi uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
sound Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-20 2023-01-19 15:42:12 +01:00
video Kbuild : Use no-export-headers to avoid exporting headers 2020-04-09 16:08:34 +05:30
xen uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30