===================================================== 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 __addrconf_sysctl_unregister net/ipv6/addrconf.c:7248 [inline] addrconf_sysctl_unregister net/ipv6/addrconf.c:7274 [inline] addrconf_ifdown+0x2dc7/0x3230 net/ipv6/addrconf.c:4007 addrconf_notify+0x18f/0x1c40 net/ipv6/addrconf.c:3777 notifier_call_chain kernel/notifier.c:93 [inline] raw_notifier_call_chain+0xe8/0x440 kernel/notifier.c:461 call_netdevice_notifiers_info+0x1be/0x2b0 net/core/dev.c:1950 call_netdevice_notifiers_extack net/core/dev.c:1988 [inline] call_netdevice_notifiers net/core/dev.c:2002 [inline] unregister_netdevice_many_notify+0x18d8/0x2ee0 net/core/dev.c:11105 unregister_netdevice_many net/core/dev.c:11163 [inline] unregister_netdevice_queue+0x598/0x5f0 net/core/dev.c:11042 unregister_netdevice include/linux/netdevice.h:3115 [inline] __tun_detach+0x184a/0x1f90 drivers/net/tun.c:685 tun_detach drivers/net/tun.c:701 [inline] tun_chr_close+0xbf/0x280 drivers/net/tun.c:3500 __fput+0x6a1/0x10c0 fs/file_table.c:422 __fput_sync+0x74/0x90 fs/file_table.c:507 __do_sys_close fs/open.c:1556 [inline] __se_sys_close+0x290/0x4d0 fs/open.c:1541 __x64_sys_close+0x48/0x60 fs/open.c:1541 x64_sys_call+0x2c48/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:4 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_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: 1 PID: 5270 Comm: syz-executor.2 Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 =====================================================