===================================================== BUG: KMSAN: uninit-value in __list_del_entry_valid+0x194/0x410 lib/list_debug.c:45 CPU: 1 PID: 13775 Comm: syz-executor.4 Not tainted 5.6.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x220 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 __list_del_entry_valid+0x194/0x410 lib/list_debug.c:45 __list_del_entry include/linux/list.h:132 [inline] list_del_init include/linux/list.h:204 [inline] netif_napi_del+0x292/0x1040 net/core/dev.c:6544 free_netdev+0x300/0x5b0 net/core/dev.c:9888 netdev_run_todo+0x1240/0x1570 net/core/dev.c:9637 rtnl_unlock net/core/rtnetlink.c:112 [inline] rtnetlink_rcv_msg+0x11f8/0x1570 net/core/rtnetlink.c:5437 netlink_rcv_skb+0x451/0x650 net/netlink/af_netlink.c:2478 rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:5454 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0xf9e/0x1100 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x1246/0x14d0 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x12b6/0x1350 net/socket.c:2343 ___sys_sendmsg net/socket.c:2397 [inline] __sys_sendmsg+0x451/0x5f0 net/socket.c:2430 __compat_sys_sendmsg net/compat.c:642 [inline] __do_compat_sys_sendmsg net/compat.c:649 [inline] __se_compat_sys_sendmsg net/compat.c:646 [inline] __ia32_compat_sys_sendmsg+0xed/0x130 net/compat.c:646 do_syscall_32_irqs_on arch/x86/entry/common.c:339 [inline] do_fast_syscall_32+0x3c7/0x6e0 arch/x86/entry/common.c:410 entry_SYSENTER_compat+0x68/0x77 arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f8cd99 Code: 90 e8 0b 00 00 00 f3 90 0f ae e8 eb f9 8d 74 26 00 89 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f7f660cc EFLAGS: 00000296 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000020000140 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_poison_shadow+0x66/0xd0 mm/kmsan/kmsan.c:127 kmsan_slab_alloc+0x8a/0xe0 mm/kmsan/kmsan_hooks.c:82 slab_alloc_node mm/slub.c:2793 [inline] __kmalloc_node_track_caller+0xb40/0x1200 mm/slub.c:4401 __kmalloc_reserve net/core/skbuff.c:142 [inline] __alloc_skb+0x2fd/0xac0 net/core/skbuff.c:210 alloc_skb include/linux/skbuff.h:1081 [inline] nlmsg_new include/net/netlink.h:888 [inline] rtmsg_ifinfo_build_skb+0x165/0x430 net/core/rtnetlink.c:3681 rollback_registered_many+0x17dc/0x25f0 net/core/dev.c:8814 rollback_registered net/core/dev.c:8855 [inline] unregister_netdevice_queue+0x58b/0xaa0 net/core/dev.c:9947 unregister_netdevice include/linux/netdevice.h:2715 [inline] __tun_detach+0x226e/0x2c30 drivers/net/tun.c:723 tun_detach drivers/net/tun.c:740 [inline] tun_chr_close+0xda/0x1c0 drivers/net/tun.c:3459 __fput+0x4c7/0xb90 fs/file_table.c:280 ____fput+0x37/0x40 fs/file_table.c:313 task_work_run+0x214/0x2b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:164 [inline] prepare_exit_to_usermode+0x3c8/0x520 arch/x86/entry/common.c:195 syscall_return_slowpath+0x95/0x5f0 arch/x86/entry/common.c:278 do_syscall_32_irqs_on arch/x86/entry/common.c:354 [inline] do_fast_syscall_32+0x422/0x6e0 arch/x86/entry/common.c:410 entry_SYSENTER_compat+0x68/0x77 arch/x86/entry/entry_64_compat.S:139 =====================================================