===================================================== 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 kvfree+0x69/0x80 mm/util.c:680 vfree+0x821/0x8c0 mm/vmalloc.c:3344 copy_entries_to_user net/ipv4/netfilter/ip_tables.c:866 [inline] get_entries net/ipv4/netfilter/ip_tables.c:1022 [inline] do_ipt_get_ctl+0x1605/0x20a0 net/ipv4/netfilter/ip_tables.c:1668 nf_getsockopt+0x429/0x480 net/netfilter/nf_sockopt.c:116 ip_getsockopt+0x2ba/0x410 net/ipv4/ip_sockglue.c:1777 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_sys_getsockopt net/socket.c:2412 [inline] __se_sys_getsockopt net/socket.c:2409 [inline] __x64_sys_getsockopt+0xe9/0x170 net/socket.c:2409 x64_sys_call+0x3ae2/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:56 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f 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: 0 PID: 5061 Comm: syz-executor.2 Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 =====================================================