------------[ cut here ]------------ WARNING: CPU: 0 PID: 5236 at lib/ref_tracker.c:38 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] WARNING: CPU: 0 PID: 5236 at lib/ref_tracker.c:38 ref_tracker_dir_exit.cold+0x137/0x1e3 lib/ref_tracker.c:37 Modules linked in: CPU: 0 PID: 5236 Comm: kworker/u4:7 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.cold+0x137/0x1e3 lib/ref_tracker.c:38 Code: 4c 89 ef e8 13 d7 a7 f8 4c 8b 3c 24 4c 39 fd 49 8b 07 0f 85 b5 00 00 00 e8 ee 13 61 f8 48 8b 74 24 10 4c 89 e7 e8 41 82 36 00 <0f> 0b e9 6d f2 e9 fa 4c 89 ff e8 e2 d6 a7 f8 e9 d4 fe ff ff e8 c8 RSP: 0018:ffffc90005eb7978 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff888073cea600 R08: 0000000000000001 R09: ffffffff8ffc294f R10: 0000000000000001 R11: 0000000000088078 R12: ffff888073cea5b8 R13: ffff888073cea600 R14: ffff888073cea600 R15: ffff888073cea600 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd094fc8300 CR3: 000000000b88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: free_netdev+0x32a/0x5b0 net/core/dev.c:10288 netdev_run_todo+0x8a0/0xaa0 net/core/dev.c:9964 default_device_exit_batch+0x2ff/0x3c0 net/core/dev.c:10946 ops_exit_list+0x125/0x170 net/core/net_namespace.c:173 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:597 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295