unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228 ksys_unshare+0x443/0x9b0 kernel/fork.c:3433 __do_sys_unshare kernel/fork.c:3504 [inline] __se_sys_unshare kernel/fork.c:3502 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3502 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1187 at lib/ref_tracker.c:179 ref_tracker_dir_exit+0x3e3/0x680 lib/ref_tracker.c:179 Modules linked in: CPU: 1 PID: 1187 Comm: kworker/u4:7 Not tainted 6.7.0-rc1-syzkaller-00134-g76df934c6d5f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: netns cleanup_net RIP: 0010:ref_tracker_dir_exit+0x3e3/0x680 lib/ref_tracker.c:179 Code: 0d 02 00 00 4d 39 f5 49 8b 06 4d 89 f7 0f 85 0e ff ff ff 48 8b 2c 24 e8 5b 76 f5 fc 48 8b 74 24 18 48 89 ef e8 1e fb f0 05 90 <0f> 0b 90 e8 45 76 f5 fc 48 8d 5d 44 be 04 00 00 00 48 89 df e8 c4 RSP: 0018:ffffc90005abfb78 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff8accb920 RDI: 0000000000000001 RBP: ffff88806cbb81e0 R08: 0000000000000001 R09: fffffbfff23e33f0 R10: ffffffff91f19f87 R11: ffffffff81304085 R12: ffff88806cbb8230 R13: ffff88806cbb8230 R14: ffff88806cbb8230 R15: ffff88806cbb8230 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffde5c03f3c CR3: 000000003cfb1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: net_free net/core/net_namespace.c:448 [inline] net_free net/core/net_namespace.c:442 [inline] cleanup_net+0x8d4/0xb20 net/core/net_namespace.c:635 process_one_work+0x886/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242