__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x48/0x114 arch/arm64/kernel/syscall.c:52 el0_svc_common.constprop.0+0x44/0xec arch/arm64/kernel/syscall.c:142 do_el0_svc+0x70/0x90 arch/arm64/kernel/syscall.c:181 el0_svc+0x20/0x80 arch/arm64/kernel/entry-common.c:603 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 10 at lib/ref_tracker.c:38 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] WARNING: CPU: 0 PID: 10 at lib/ref_tracker.c:38 ref_tracker_dir_exit+0x170/0x190 lib/ref_tracker.c:37 Modules linked in: CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.17.0-rc2-syzkaller-00353-g90c9e950c0de #0 Hardware name: linux,dummy-virt (DT) Workqueue: netns cleanup_net pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ref_tracker_dir_exit+0x170/0x190 lib/ref_tracker.c:38 lr : spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] lr : ref_tracker_dir_exit+0x170/0x190 lib/ref_tracker.c:37 sp : ffff80000a683b20 x29: ffff80000a683b20 x28: f0ff000002818000 x27: dead000000000100 x26: dead000000000122 x25: 0000000000000000 x24: ffff800009e9a1d8 x23: f9ff000006f224e0 x22: f9ff000006f224e0 x21: f9ff000006f224d0 x20: f9ff000006f224e0 x19: f9ff000006f224e0 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 00005feb2565b658 x14: 000000000000036f x13: 000000000000036f x12: ffff800009e540c0 x11: ffff80000a25feb8 x10: c5533bf0c658766f x9 : 01055468238a051b x8 : fcff000002929ef8 x7 : ffff00007fbc4940 x6 : 000000000285bf35 x5 : 00000000000f0510 x4 : 0000000000c0000e x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000008 Call trace: spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] ref_tracker_dir_exit+0x170/0x190 lib/ref_tracker.c:37 free_netdev+0xe8/0x1c0 net/core/dev.c:10288 wg_destruct+0x110/0x124 drivers/net/wireguard/device.c:253 netdev_run_todo+0x220/0x2fc net/core/dev.c:9962 rtnl_unlock+0x10/0x20 net/core/rtnetlink.c:112 default_device_exit_batch+0x154/0x184 net/core/dev.c:10946 ops_exit_list+0x64/0x80 net/core/net_namespace.c:173 cleanup_net+0x23c/0x434 net/core/net_namespace.c:597 process_one_work+0x1dc/0x370 kernel/workqueue.c:2307 worker_thread+0x70/0x430 kernel/workqueue.c:2454 kthread+0x108/0x10c kernel/kthread.c:377 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:756 ---[ end trace 0000000000000000 ]---