__sock_create+0x355/0x790 net/socket.c:1515 sock_create net/socket.c:1566 [inline] __sys_socket_create net/socket.c:1603 [inline] __sys_socket_create net/socket.c:1588 [inline] __sys_socket+0x12f/0x240 net/socket.c:1636 __do_sys_socket net/socket.c:1649 [inline] __se_sys_socket net/socket.c:1647 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd ------------[ cut here ]------------ WARNING: CPU: 0 PID: 46 at lib/ref_tracker.c:39 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] WARNING: CPU: 0 PID: 46 at lib/ref_tracker.c:39 ref_tracker_dir_exit.cold+0x137/0x1e3 lib/ref_tracker.c:38 Modules linked in: CPU: 0 PID: 46 Comm: kworker/u4:3 Not tainted 6.1.0-rc2-syzkaller-00199-g6143eca3578f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Workqueue: netns cleanup_net RIP: 0010:ref_tracker_dir_exit.cold+0x137/0x1e3 lib/ref_tracker.c:39 Code: 4c 89 ef e8 49 17 6e f8 4c 8b 3c 24 4c 39 fd 49 8b 07 0f 85 b5 00 00 00 e8 24 c7 21 f8 48 8b 74 24 10 4c 89 e7 e8 77 db 36 00 <0f> 0b e9 65 8b cb fa 4c 89 ff e8 18 17 6e f8 e9 d4 fe ff ff e8 fe RSP: 0018:ffffc90000b77c00 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff888026cfbb90 R08: 0000000000000000 R09: 0000000000000000 R10: ffffed1004d9f768 R11: 000000000008c07e R12: ffff888026cfbb40 R13: ffff888026cfbb90 R14: ffff888026cfbb90 R15: ffff888026cfbb90 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4d1cea02b0 CR3: 00000000279e0000 CR4: 00000000003506f0 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+0x8b7/0xb10 net/core/net_namespace.c:627 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306