sock_create net/socket.c:1566 [inline] __sys_socket_create net/socket.c:1603 [inline] __sys_socket+0x137/0x3a0 net/socket.c:1636 __do_sys_socket net/socket.c:1649 [inline] __se_sys_socket net/socket.c:1647 [inline] __x64_sys_socket+0x76/0x80 net/socket.c:1647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd ------------[ cut here ]------------ WARNING: CPU: 0 PID: 17881 at lib/ref_tracker.c:39 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] WARNING: CPU: 0 PID: 17881 at lib/ref_tracker.c:39 ref_tracker_dir_exit+0x3b8/0x4c0 lib/ref_tracker.c:38 Modules linked in: CPU: 0 PID: 17881 Comm: kworker/u4:58 Not tainted 6.2.0-rc7-syzkaller-00002-gd2d11f342b17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: netns cleanup_net RIP: 0010:ref_tracker_dir_exit+0x3b8/0x4c0 lib/ref_tracker.c:39 Code: 80 c1 03 38 c1 0f 8c ca fe ff ff 48 89 ef e8 ff f0 5e fd e9 bd fe ff ff e8 c5 1d 08 fd 48 89 ef 48 8b 74 24 18 e8 98 a5 4c 06 <0f> 0b eb 12 e8 af 1d 08 fd 48 89 ef 48 8b 74 24 18 e8 82 a5 4c 06 RSP: 0018:ffffc9000cbb7af0 EFLAGS: 00010246 RAX: ab051825a85ec400 RBX: ffff88802afc1ed0 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8b0d97e0 RDI: 0000000000000001 RBP: ffff88802afc1e80 R08: dffffc0000000000 R09: fffffbfff212f653 R10: fffffbfff212f653 R11: 1ffffffff212f652 R12: ffff88802afc1ed0 R13: 1ffff1100fc068e8 R14: dffffc0000000000 R15: dead000000000100 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6394775300 CR3: 000000002992d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: net_free net/core/net_namespace.c:442 [inline] cleanup_net+0xb8c/0xc60 net/core/net_namespace.c:627 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308