===================================================== BUG: KMSAN: uninit-value in sock_map_delete_elem+0x173/0x250 net/core/sock_map.c:445 sock_map_delete_elem+0x173/0x250 net/core/sock_map.c:445 ____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_run64+0xb5/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:4383 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] vmalloc+0x90/0xb0 mm/vmalloc.c:3916 xt_compat_init_offsets+0x14b/0x310 net/netfilter/x_tables.c:733 compat_table_info+0x9f/0x11a0 net/ipv6/netfilter/ip6_tables.c:950 compat_get_entries net/ipv6/netfilter/ip6_tables.c:1611 [inline] do_ip6t_get_ctl+0xb67/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_run64+0x45/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: 1 PID: 3854 Comm: syz-executor.4 Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 =====================================================