__do_sys_socket net/socket.c:1649 [inline] __se_sys_socket net/socket.c:1647 [inline] __ia32_sys_socket+0x73/0xb0 net/socket.c:1647 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 ------------[ cut here ]------------ WARNING: CPU: 3 PID: 10 at lib/ref_tracker.c:39 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] WARNING: CPU: 3 PID: 10 at lib/ref_tracker.c:39 ref_tracker_dir_exit.cold+0x137/0x1e3 lib/ref_tracker.c:38 Modules linked in: CPU: 3 PID: 10 Comm: kworker/u16:0 Not tainted 6.2.0-rc6-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: netns cleanup_net RIP: 0010:ref_tracker_dir_exit.cold+0x137/0x1e3 lib/ref_tracker.c:39 Code: 4c 89 ef e8 5d cc fd f7 4c 8b 3c 24 4c 39 fd 49 8b 07 0f 85 b5 00 00 00 e8 38 c1 af f7 48 8b 74 24 10 4c 89 e7 e8 ab 2d 38 00 <0f> 0b e9 9d 7f 68 fa 4c 89 ff e8 2c cc fd f7 e9 d4 fe ff ff e8 02 RSP: 0018:ffffc900003bfc00 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880557e9ed0 R08: 0000000000000001 R09: ffffffff91338bcf R10: 0000000000000001 R11: 0000000000094001 R12: ffff8880557e9e80 R13: ffff8880557e9ed0 R14: ffff8880557e9ed0 R15: ffff8880557e9ed0 FS: 0000000000000000(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c27a9b1950 CR3: 0000000024097000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: net_free net/core/net_namespace.c:442 [inline] net_free net/core/net_namespace.c:436 [inline] cleanup_net+0x8bb/0xb10 net/core/net_namespace.c:627 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308