__sock_create+0x421/0x860 net/socket.c:1518 sock_create net/socket.c:1569 [inline] __sys_socket_create net/socket.c:1606 [inline] __sys_socket+0x13a/0x3a0 net/socket.c:1639 __do_sys_socket net/socket.c:1652 [inline] __se_sys_socket net/socket.c:1650 [inline] __x64_sys_socket+0x7a/0x90 net/socket.c:1650 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5810 at lib/ref_tracker.c:39 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] WARNING: CPU: 1 PID: 5810 at lib/ref_tracker.c:39 ref_tracker_dir_exit+0x3a8/0x4b0 lib/ref_tracker.c:38 Modules linked in: CPU: 1 PID: 5810 Comm: kworker/u4:8 Not tainted 6.2.0-rc8-syzkaller-00083-g3ac88fa4605e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: netns cleanup_net RIP: 0010:ref_tracker_dir_exit+0x3a8/0x4b0 lib/ref_tracker.c:39 Code: c1 0f 8c e0 fe ff ff 48 89 ef e8 03 ca 6e fd e9 d3 fe ff ff e8 c9 90 19 fd 48 8b 2c 24 48 89 ef 48 8b 74 24 20 e8 c8 8f 3f 06 <0f> 0b eb 16 e8 af 90 19 fd 48 8b 2c 24 48 89 ef 48 8b 74 24 20 e8 RSP: 0018:ffffc900149ffb10 EFLAGS: 00010246 RAX: bba8d5587012b100 RBX: ffff888075989ed0 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8aea6f40 RDI: 0000000000000001 RBP: ffff888075989e80 R08: dffffc0000000000 R09: fffffbfff203f651 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888075989ed0 R13: 1ffff1100f3bd870 R14: dffffc0000000000 R15: dead000000000100 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe99f29b9ee CR3: 0000000026b1d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: net_free net/core/net_namespace.c:447 [inline] cleanup_net+0xabb/0xb80 net/core/net_namespace.c:634 process_one_work+0x8fa/0x1370 kernel/workqueue.c:2289 worker_thread+0xa63/0x1210 kernel/workqueue.c:2436 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308