__do_sys_unshare kernel/fork.c:3499 [inline] __se_sys_unshare kernel/fork.c:3497 [inline] __arm64_sys_unshare+0x3c/0x50 kernel/fork.c:3497 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 40 at lib/ref_tracker.c:179 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] WARNING: CPU: 0 PID: 40 at lib/ref_tracker.c:179 ref_tracker_dir_exit+0x390/0x4b4 lib/ref_tracker.c:178 Modules linked in: CPU: 0 PID: 40 Comm: kworker/u4:2 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: netns cleanup_net pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ref_tracker_dir_exit+0x390/0x4b4 include/linux/spinlock.h:406 lr : spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] lr : ref_tracker_dir_exit+0x390/0x4b4 lib/ref_tracker.c:178 sp : ffff800093e67980 x29: ffff800093e67a00 x28: ffff0000eafd1ea0 x27: 1ffff000127ccf34 x26: dfff800000000000 x25: ffff0000eafd1ef0 x24: dead000000000100 x23: ffff0000eafd1ef0 x22: ffff0000eafd1ea0 x21: ffff0000eafd1ef0 x20: ffff0000eafd1ef0 x19: 1fffe0001b2fd328 x18: ffff800093e67120 x17: ffff800088efc574 x16: ffff800080276f8c x15: 0000000000000001 x14: 1fffe0001d5fa3d4 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000000 x9 : 1fffe000183d8781 x8 : 0000000100000000 x7 : ffff8000809fd088 x6 : ffff8000809f9f7c x5 : ffff0000c964a330 x4 : ffff800093e676b0 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80008aedea60 x0 : 0000000000000001 Call trace: spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] ref_tracker_dir_exit+0x390/0x4b4 lib/ref_tracker.c:178 net_free+0x80/0xf4 net/core/net_namespace.c:452 cleanup_net+0x82c/0x8d0 net/core/net_namespace.c:639 process_one_work+0x694/0x1204 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x938/0xef4 kernel/workqueue.c:2787 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 1247166 hardirqs last enabled at (1247165): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (1247165): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (1247166): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (1247150): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (1247150): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (1247107): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]---