do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 unregister_netdevice: waiting for veth0_vlan to become free. Usage count = 2 leaked reference. ===================================================== BUG: KMSAN: uninit-value in stack_trace_print+0xf9/0x110 kernel/stacktrace.c:33 stack_trace_print+0xf9/0x110 kernel/stacktrace.c:33 stack_depot_print+0x55/0x60 lib/stackdepot.c:351 ref_tracker_dir_print+0x15c/0x2b0 lib/ref_tracker.c:57 netdev_wait_allrefs_any net/core/dev.c:10268 [inline] netdev_run_todo+0x1122/0x1910 net/core/dev.c:10341 rtnl_unlock+0x13/0x20 net/core/rtnetlink.c:148 default_device_exit_batch+0xb59/0xc20 net/core/dev.c:11349 ops_exit_list net/core/net_namespace.c:174 [inline] cleanup_net+0xdea/0x18e0 net/core/net_namespace.c:606 process_one_work+0xb27/0x13e0 kernel/workqueue.c:2289 worker_thread+0x1076/0x1d60 kernel/workqueue.c:2436 kthread+0x31b/0x430 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Uninit was created at: __alloc_pages+0x9f1/0xe80 mm/page_alloc.c:5572 alloc_pages+0xaae/0xd80 mm/mempolicy.c:2286 __stack_depot_save+0x43c/0x4b0 lib/stackdepot.c:474 stack_depot_save+0x13/0x20 lib/stackdepot.c:533 ref_tracker_alloc+0x1fc/0x6f0 lib/ref_tracker.c:92 __netdev_tracker_alloc include/linux/netdevice.h:4020 [inline] netdev_hold include/linux/netdevice.h:4049 [inline] inetdev_init+0x4e6/0x890 net/ipv4/devinet.c:282 inetdev_event+0xb9b/0x1f10 net/ipv4/devinet.c:1535 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xbc/0x240 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:1944 [inline] call_netdevice_notifiers_extack net/core/dev.c:1982 [inline] call_netdevice_notifiers+0x1f6/0x2f0 net/core/dev.c:1996 register_netdevice+0x2026/0x2200 net/core/dev.c:10078 hsr_dev_finalize+0x44f/0x890 net/hsr/hsr_device.c:534 hsr_newlink+0x955/0x990 net/hsr/hsr_netlink.c:102 rtnl_newlink_create net/core/rtnetlink.c:3407 [inline] __rtnl_newlink net/core/rtnetlink.c:3624 [inline] rtnl_newlink+0x2cbc/0x4140 net/core/rtnetlink.c:3637 rtnetlink_rcv_msg+0x16c9/0x1860 net/core/rtnetlink.c:6141 netlink_rcv_skb+0x3f1/0x750 net/netlink/af_netlink.c:2574 rtnetlink_rcv+0x30/0x40 net/core/rtnetlink.c:6159 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0xf3b/0x1270 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x127d/0x1430 net/netlink/af_netlink.c:1942 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] __sys_sendto+0x7f2/0xa60 net/socket.c:2117 __do_compat_sys_socketcall net/compat.c:474 [inline] __se_compat_sys_socketcall+0x925/0x1a90 net/compat.c:422 __ia32_compat_sys_socketcall+0x67/0x90 net/compat.c:422 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 0 PID: 11051 Comm: kworker/u4:25 Tainted: G W 6.2.0-rc6-syzkaller-80422-geda666ff2276 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: netns cleanup_net =====================================================