__sock_create+0x464/0x8d0 net/socket.c:1545 sock_create net/socket.c:1596 [inline] __sys_socket_create net/socket.c:1633 [inline] __sys_socket+0x13a/0x3a0 net/socket.c:1661 __do_sys_socket net/socket.c:1674 [inline] __se_sys_socket net/socket.c:1672 [inline] __x64_sys_socket+0x7a/0x90 net/socket.c:1672 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: 0 PID: 16663 at lib/ref_tracker.c:39 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] WARNING: CPU: 0 PID: 16663 at lib/ref_tracker.c:39 ref_tracker_dir_exit+0x3a8/0x4b0 lib/ref_tracker.c:38 Modules linked in: CPU: 0 PID: 16663 Comm: kworker/u4:57 Not tainted 6.3.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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 83 51 77 fd e9 d3 fe ff ff e8 e9 9a 21 fd 48 8b 2c 24 48 89 ef 48 8b 74 24 20 e8 18 ac 41 06 <0f> 0b eb 16 e8 cf 9a 21 fd 48 8b 2c 24 48 89 ef 48 8b 74 24 20 e8 RSP: 0000:ffffc900116cfb10 EFLAGS: 00010246 RAX: cf52df88286fa300 RBX: ffff8880546ebb90 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8aea7cc0 RDI: 0000000000000001 RBP: ffff8880546ebb40 R08: dffffc0000000000 R09: fffffbfff205c65b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880546ebb90 R13: 1ffff1100909c128 R14: dffffc0000000000 R15: dead000000000100 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055db91e5e950 CR3: 0000000026d82000 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+0x8a0/0x10e0 kernel/workqueue.c:2390 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308