------------[ cut here ]------------ WARNING: CPU: 1 PID: 927 at lib/ref_tracker.c:38 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] WARNING: CPU: 1 PID: 927 at lib/ref_tracker.c:38 ref_tracker_dir_exit.cold+0x137/0x1e3 lib/ref_tracker.c:37 Modules linked in: CPU: 1 PID: 927 Comm: kworker/u4:4 Not tainted 5.17.0-rc1-syzkaller-00569-g52dae93f3bad #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 c3 c5 a8 f8 4c 8b 3c 24 4c 39 fd 49 8b 07 0f 85 b5 00 00 00 e8 ee 54 61 f8 48 8b 74 24 10 4c 89 e7 e8 f1 77 36 00 <0f> 0b e9 7d bf e9 fa 4c 89 ff e8 92 c5 a8 f8 e9 d4 fe ff ff e8 78 RSP: 0018:ffffc900049679c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff88805149e600 R08: 0000000000000001 R09: ffffffff8ffc494f R10: 0000000000000001 R11: 0000000000088078 R12: ffff88805149e5b8 R13: ffff88805149e600 R14: ffff88805149e600 R15: ffff88805149e600 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2db80000 CR3: 000000001b79f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: free_netdev+0x32a/0x5b0 net/core/dev.c:10288 netdev_run_todo+0x8a0/0xaa0 net/core/dev.c:9964 ip6_tnl_exit_batch_net+0x5fa/0x890 net/ipv6/ip6_tunnel.c:2317 ops_exit_list+0x125/0x170 net/core/net_namespace.c:173 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:600 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