===================================================== BUG: KMSAN: uninit-value in trie_delete_elem+0xc0/0xbe0 kernel/bpf/lpm_trie.c:448 trie_delete_elem+0xc0/0xbe0 kernel/bpf/lpm_trie.c:448 ____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_run160+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_run3+0x132/0x320 kernel/trace/bpf_trace.c:2421 __bpf_trace_percpu_free_percpu+0x34/0x50 include/trace/events/percpu.h:54 trace_percpu_free_percpu include/trace/events/percpu.h:54 [inline] free_percpu+0x1c75/0x2310 mm/percpu.c:2325 xt_percpu_counter_free+0x121/0x160 net/netfilter/x_tables.c:1951 cleanup_entry+0x472/0x4a0 net/ipv4/netfilter/ip_tables.c:654 __do_replace+0xa38/0xf10 net/ipv4/netfilter/ip_tables.c:1082 do_replace net/ipv4/netfilter/ip_tables.c:1141 [inline] do_ipt_set_ctl+0x1935/0x1be0 net/ipv4/netfilter/ip_tables.c:1635 nf_setsockopt+0x497/0x4f0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0x1f1/0x210 net/ipv4/ip_sockglue.c:1424 tcp_setsockopt+0x153/0x190 net/ipv4/tcp.c:3737 sock_common_setsockopt+0xf9/0x140 net/core/sock.c:3727 do_sock_setsockopt+0x4bb/0x7d0 net/socket.c:2311 __sys_setsockopt+0x33a/0x4b0 net/socket.c:2334 __do_sys_setsockopt net/socket.c:2343 [inline] __se_sys_setsockopt net/socket.c:2340 [inline] __x64_sys_setsockopt+0xe8/0x170 net/socket.c:2340 x64_sys_call+0x13bb/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:55 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_run160+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_run3+0x132/0x320 kernel/trace/bpf_trace.c:2421 CPU: 1 PID: 5975 Comm: syz-executor.1 Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 =====================================================