rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 ticks this GP) idle=869c/1/0x4000000000000000 softirq=29000/29000 fqs=0 rcu: (detected by 1, t=10503 jiffies, g=31349, q=1035 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8709 Comm: syz.0.736 Not tainted 6.13.0-rc5-syzkaller-00161-g63676eefb7a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__raw_callee_save___pv_queued_spin_unlock+0x10/0x18 Code: 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 52 b8 01 00 00 00 31 d2 f0 0f b0 17 <75> 06 5a c3 cc cc cc cc 56 0f b6 f0 e8 9f ff ff ff 5e 5a c3 cc cc RSP: 0018:ffffc90000007b10 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffffffff34bdb07 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff9a5ed830 RBP: dffffc0000000000 R08: ffffffff9a5ed833 R09: 1ffffffff34bdb06 R10: dffffc0000000000 R11: fffffbfff34bdb07 R12: 1ffffffff34bdb08 R13: ffffffff9a5ed840 R14: ffffffff9a5ed838 R15: ffffffff9a5ed830 FS: 000055556b0e0500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe1823fef98 CR3: 000000003604c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:589 [inline] queued_spin_unlock arch/x86/include/asm/qspinlock.h:57 [inline] do_raw_spin_unlock+0x13c/0x8b0 kernel/locking/spinlock_debug.c:142 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock_irqrestore+0x81/0x140 kernel/locking/spinlock.c:194 debug_object_deactivate+0x2d5/0x390 lib/debugobjects.c:888 debug_hrtimer_deactivate kernel/time/hrtimer.c:433 [inline] debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:475 __run_hrtimer kernel/time/hrtimer.c:1707 [inline] __hrtimer_run_queues+0x305/0xd30 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_schedule_irq+0xf6/0x1c0 kernel/sched/core.c:7078 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 8b 00 00 00 bf 01 00 00 00 e8 55 84 ab f5 e8 b0 31 e5 f5 fb bf 01 00 00 00 d5 ab ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 35 55 41 f6 48 RSP: 0018:ffffc9000bfd7700 EFLAGS: 00000286 RAX: 188c727f883af000 RBX: 1ffff920017faee8 RCX: ffffffff817b273a RDX: dffffc0000000000 RSI: ffffffff8c0a98e0 RDI: 0000000000000001 RBP: ffffc9000bfd77c0 R08: ffffffff9427188f R09: 1ffffffff284e311 R10: dffffc0000000000 R11: fffffbfff284e312 R12: 1ffff920017faee0 R13: 1ffff920017faee4 R14: ffffc9000bfd7720 R15: dffffc0000000000 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:lockdep_unregister_key+0x56d/0x610 kernel/locking/lockdep.c:6593 Code: 22 94 48 c7 c6 70 05 7b 81 e8 2f 26 0a 00 e8 9a 3a 0a 00 e9 e5 fb ff ff e8 10 d6 45 0a 41 f7 c7 00 02 00 00 74 d0 fb 45 84 f6 <75> cf eb e0 90 0f 0b 90 45 31 f6 e9 62 ff ff ff 90 0f 0b 90 e9 a1 RSP: 0018:ffffc9000bfd7880 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 1ffff920017faf18 RCX: ffffffff9a378903 RDX: 0000000000000001 RSI: ffffffff8c0aa620 RDI: ffffffff8c5edd60 RBP: ffffc9000bfd7958 R08: ffffffff9424337f R09: 1ffffffff284866f R10: dffffc0000000000 R11: fffffbfff2848670 R12: ffffc9000bfd78c0 R13: 1ffff920017faf14 R14: 0000000000000000 R15: 0000000000000206 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1085 netdev_for_each_tx_queue include/linux/netdevice.h:2562 [inline] dev_shutdown+0x9b/0x450 net/sched/sch_generic.c:1496 unregister_netdevice_many_notify+0x995/0x1da0 net/core/dev.c:11517 unregister_netdevice_many net/core/dev.c:11592 [inline] unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11464 unregister_netdevice include/linux/netdevice.h:3192 [inline] __tun_detach+0x6b9/0x1600 drivers/net/tun.c:685 tun_detach drivers/net/tun.c:701 [inline] tun_chr_close+0x105/0x1b0 drivers/net/tun.c:3517 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0e01585d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff0151ded8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f0e01777ba0 RCX: 00007f0e01585d29 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f0e01777ba0 R08: 0000000000010e4c R09: 00007fff0151e1cf R10: 00000000005ee4a4 R11: 0000000000000246 R12: 000000000005b7a8 R13: 00007fff0151dfe0 R14: 0000000000000032 R15: ffffffffffffffff rcu: rcu_preempt kthread timer wakeup didn't happen for 10502 jiffies! g31349 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=19022 rcu: rcu_preempt kthread starved for 10503 jiffies! g31349 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:I stack:26264 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244