genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x81a/0x9f0 net/netlink/af_netlink.c:1343 netlink_sendmsg+0xaec/0xe60 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg net/socket.c:725 [inline] ____sys_sendmsg+0x5b9/0x910 net/socket.c:2413 ___sys_sendmsg net/socket.c:2467 [inline] __sys_sendmsg+0x280/0x370 net/socket.c:2496 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae ------------[ cut here ]------------ WARNING: CPU: 0 PID: 54 at lib/ref_tracker.c:38 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] WARNING: CPU: 0 PID: 54 at lib/ref_tracker.c:38 ref_tracker_dir_exit+0x432/0x470 lib/ref_tracker.c:37 Modules linked in: CPU: 0 PID: 54 Comm: kworker/u4:3 Not tainted 5.17.0-rc2-syzkaller-00167-gdcb85f85fa6f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:ref_tracker_dir_exit+0x432/0x470 lib/ref_tracker.c:38 Code: c1 0f 8c b9 fe ff ff 48 89 df e8 c9 ba 8a fd e9 ac fe ff ff e8 ef 25 3f fd 48 8b 1c 24 48 89 df 48 8b 74 24 18 e8 0e c0 ce 05 <0f> 0b e9 d9 fd ff ff e8 d2 25 3f fd 0f 0b e9 0d fe ff ff 89 d9 80 RSP: 0018:ffffc90001a2f860 EFLAGS: 00010246 RAX: 09cb1a792a665900 RBX: ffff8880781f05b8 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: dead000000000100 R08: dffffc0000000000 R09: fffffbfff1ffc1c6 R10: fffffbfff1ffc1c6 R11: 0000000000000000 R12: ffff8880781f0600 R13: dead000000000122 R14: dffffc0000000000 R15: ffff8880781f0600 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007eff9e1d9ff8 CR3: 000000007865d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000b8fecd19 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: free_netdev+0x2c4/0x480 net/core/dev.c:10288 netdev_run_todo+0xafe/0xd00 net/core/dev.c:9964 default_device_exit_batch+0x450/0x4b0 net/core/dev.c:10946 ops_exit_list net/core/net_namespace.c:173 [inline] cleanup_net+0x80c/0xc70 net/core/net_namespace.c:597 process_one_work+0x850/0x1130 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30