===================================================== BUG: KMSAN: uninit-value in spin_lock_bh include/linux/spinlock.h:356 [inline] BUG: KMSAN: uninit-value in sock_hash_delete_elem+0x239/0x710 net/core/sock_map.c:945 spin_lock_bh include/linux/spinlock.h:356 [inline] sock_hash_delete_elem+0x239/0x710 net/core/sock_map.c:945 ____bpf_map_delete_elem kernel/bpf/helpers.c:77 [inline] bpf_map_delete_elem+0x5c/0x80 kernel/bpf/helpers.c:73 ___bpf_prog_run+0x13fe/0xe0f0 kernel/bpf/core.c:1997 __bpf_prog_run32+0xb2/0xe0 kernel/bpf/core.c:2236 bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:657 [inline] bpf_prog_run include/linux/filter.h:664 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2381 [inline] bpf_trace_run2+0x116/0x300 kernel/trace/bpf_trace.c:2420 __bpf_trace_kfree+0x29/0x40 include/trace/events/kmem.h:94 trace_kfree include/trace/events/kmem.h:94 [inline] kfree+0x69e/0xa60 mm/slub.c:4450 kmsan_vmap_pages_range_noflush+0x33f/0x3e0 mm/kmsan/shadow.c:271 vmap_pages_range_noflush mm/vmalloc.c:628 [inline] vmap_pages_range mm/vmalloc.c:653 [inline] __vmalloc_area_node mm/vmalloc.c:3680 [inline] __vmalloc_node_range+0x2179/0x28b0 mm/vmalloc.c:3818 __vmalloc_node mm/vmalloc.c:3883 [inline] vzalloc+0x90/0xb0 mm/vmalloc.c:3956 alloc_counters+0x7f/0x810 net/ipv4/netfilter/ip_tables.c:799 compat_copy_entries_to_user+0x84/0xb30 net/ipv6/netfilter/ip6_tables.c:1570 compat_get_entries net/ipv6/netfilter/ip6_tables.c:1613 [inline] do_ip6t_get_ctl+0x1f19/0x20b0 net/ipv6/netfilter/ip6_tables.c:1674 nf_getsockopt+0x429/0x480 net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x331/0x4e0 net/ipv6/ipv6_sockglue.c:1494 tcp_getsockopt+0x15c/0x1a0 net/ipv4/tcp.c:4375 sock_common_getsockopt+0xa1/0xe0 net/core/sock.c:3700 do_sock_getsockopt+0x544/0xa00 net/socket.c:2373 __sys_getsockopt+0x3ca/0x540 net/socket.c:2402 __do_compat_sys_socketcall net/compat.c:494 [inline] __se_compat_sys_socketcall+0x3ff/0x1a20 net/compat.c:423 __ia32_compat_sys_socketcall+0x6b/0xa0 net/compat.c:423 ia32_sys_call+0x1bce/0x40a0 arch/x86/include/generated/asm/syscalls_32.h:103 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb4/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Local variable stack created at: __bpf_prog_run32+0x43/0xe0 kernel/bpf/core.c:2236 bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:657 [inline] bpf_prog_run include/linux/filter.h:664 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2381 [inline] bpf_trace_run2+0x116/0x300 kernel/trace/bpf_trace.c:2420 CPU: 0 PID: 5081 Comm: syz-executor.0 Not tainted 6.9.0-syzkaller-02339-g101b7a97143a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 =====================================================