Fix 32-bit overflow in value pointer calculations in BPF array map. And then raise obsolete limit on array map value size. Add selftest making sure this is working as intended. Andrii Nakryiko (4): bpf: fix potential 32-bit overflow when accessing ARRAY map element bpf: make uniform use of array->elem_size everywhere in arraymap.c bpf: remove obsolete KMALLOC_MAX_SIZE restriction on array map value size selftests/bpf: validate .bss section bigger than 8MB is possible now kernel/bpf/arraymap.c | 40 ++++++++++--------- .../selftests/bpf/prog_tests/skeleton.c | 2 + .../selftests/bpf/progs/test_skeleton.c | 4 ++ 3 files changed, 28 insertions(+), 18 deletions(-) -- 2.30.2