__sock_create+0x380/0x850 net/socket.c:1545 sock_create net/socket.c:1596 [inline] __sys_socket_create net/socket.c:1633 [inline] __sys_socket_create net/socket.c:1618 [inline] __sys_socket+0x133/0x250 net/socket.c:1661 __do_sys_socket net/socket.c:1674 [inline] __se_sys_socket net/socket.c:1672 [inline] __x64_sys_socket+0x73/0xb0 net/socket.c:1672 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6792 at lib/ref_tracker.c:39 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] WARNING: CPU: 0 PID: 6792 at lib/ref_tracker.c:39 ref_tracker_dir_exit+0x3a2/0x600 lib/ref_tracker.c:38 Modules linked in: CPU: 0 PID: 6792 Comm: kworker/u4:10 Not tainted 6.3.0-rc5-syzkaller-01282-g9bc11460bea7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: netns cleanup_net RIP: 0010:ref_tracker_dir_exit+0x3a2/0x600 lib/ref_tracker.c:39 Code: 0f 84 c3 fe ff ff e8 dd da 43 fd 44 89 ff e8 c5 f9 ff ff e9 b1 fe ff ff e8 cb da 43 fd 48 8b 74 24 10 4c 89 ef e8 0e 1e c8 05 <0f> 0b e8 b7 da 43 fd 49 8d 6d 44 be 04 00 00 00 48 89 ef e8 56 2a RSP: 0018:ffffc9000c467c00 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff88807a949ed0 R08: 0000000000000001 R09: ffffffff914e0c87 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88807a949ed0 R13: ffff88807a949e80 R14: ffff88807a949ed0 R15: ffff8880210de748 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6b9c2d35c0 CR3: 000000009b7ab000 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] net_free net/core/net_namespace.c:441 [inline] cleanup_net+0x8bb/0xb10 net/core/net_namespace.c:634 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308