------------[ cut here ]------------ WARNING: CPU: 0 PID: 5622 at lib/ref_tracker.c:38 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] WARNING: CPU: 0 PID: 5622 at lib/ref_tracker.c:38 ref_tracker_dir_exit.cold+0x137/0x1e3 lib/ref_tracker.c:37 Modules linked in: CPU: 0 PID: 5622 Comm: kworker/u4:12 Not tainted 5.17.0-rc2-syzkaller-00071-g1f2cfdd349b7 #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 f7 25 a9 f8 4c 8b 3c 24 4c 39 fd 49 8b 07 0f 85 b5 00 00 00 e8 12 df 61 f8 48 8b 74 24 10 4c 89 e7 e8 55 78 36 00 <0f> 0b e9 41 2a ea fa 4c 89 ff e8 c6 25 a9 f8 e9 d4 fe ff ff e8 ac RSP: 0018:ffffc90004247978 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff888025650600 R08: 0000000000000001 R09: ffffffff8ffbd94f R10: 0000000000000001 R11: 0000000000088078 R12: ffff8880256505b8 R13: ffff888025650600 R14: ffff888025650600 R15: ffff888025650600 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feda64e0028 CR3: 0000000019fe2000 CR4: 0000000000350ef0 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