rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=ecec/1/0x4000000000000000 softirq=137829/137830 fqs=1 rcu: (detected by 0, t=10502 jiffies, g=90413, q=307 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5477 Comm: dhcpcd Not tainted 6.15.0-rc4-syzkaller-00147-gebd297a2affa #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:109 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:127 [inline] RIP: 0010:lock_acquire kernel/locking/lockdep.c:5862 [inline] RIP: 0010:lock_acquire+0x130/0x350 kernel/locking/lockdep.c:5823 Code: b1 00 00 00 65 8b 05 f7 0a 0c 12 85 c0 0f 85 a2 00 00 00 65 48 8b 05 77 cd 0b 12 8b 90 ec 0a 00 00 85 d2 0f 85 8c 00 00 00 9c <8f> 04 24 fa 48 c7 c7 fb 16 cd 8d e8 00 9a d4 09 45 89 e0 89 e9 44 RSP: 0018:ffffc90000a08db0 EFLAGS: 00000046 RAX: ffff888033634880 RBX: ffff8880b8527858 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8b6f38b6 RDI: ffffed10170a4f0b RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f80462b4740(0000) GS:ffff888124ae2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcdc47d378 CR3: 0000000024b82000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1765 [inline] __hrtimer_run_queues+0x2bc/0xad0 kernel/time/hrtimer.c:1825 hrtimer_interrupt+0x397/0x8e0 kernel/time/hrtimer.c:1887 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x108/0x3f0 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0xb/0x350 kernel/locking/lockdep.c:5826 Code: 7f d4 09 eb c3 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 41 57 4d 89 cf 41 56 <41> 89 f6 41 55 41 89 d5 41 54 45 89 c4 55 89 cd 53 48 89 fb 48 83 RSP: 0018:ffffc9000412f900 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880322c0008 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880322c0078 RBP: 1ffff92000825f24 R08: 0000000000000001 R09: 0000000000000000 R10: ffff88804f43b540 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff88804f43c500 R14: ffff8880322c0000 R15: 0000000000000000 down_write+0x92/0x200 kernel/locking/rwsem.c:1577 lock_anon_vma_root mm/rmap.c:250 [inline] anon_vma_clone+0x143/0x5c0 mm/rmap.c:297 anon_vma_fork+0x7a/0x620 mm/rmap.c:351 dup_mmap kernel/fork.c:689 [inline] dup_mm kernel/fork.c:1734 [inline] copy_mm kernel/fork.c:1786 [inline] copy_process+0x88be/0x91a0 kernel/fork.c:2429 kernel_clone+0xfc/0x960 kernel/fork.c:2844 __do_sys_clone+0xce/0x120 kernel/fork.c:2987 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8046364a12 Code: 41 5d 41 5e 41 5f c3 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 e7 43 0f 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffcdc45ca48 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 000055e36a342f01 RCX: 00007f8046364a12 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffcdc47cfb8 R08: 0000000000000000 R09: 000055e36a342fb0 R10: 00007f80462b4a10 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 000055e36a342fe4 rcu: rcu_preempt kthread starved for 10500 jiffies! g90413 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:27704 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x116f/0x5de0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:6860 schedule_timeout+0x123/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1ea/0xb00 kernel/rcu/tree.c:2046 rcu_gp_kthread+0x270/0x380 kernel/rcu/tree.c:2248 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 21486 Comm: syz.8.3298 Not tainted 6.15.0-rc4-syzkaller-00147-gebd297a2affa #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_single+0x1bf/0x580 kernel/smp.c:679 Code: 5c 24 40 66 44 89 6c 24 4e 48 89 de 66 89 44 24 4c e8 b5 fa ff ff 41 89 c5 0f 1f 44 00 00 e8 b8 f3 0b 00 eb 07 e8 b1 f3 0b 00 90 8b 5c 24 48 31 ff 83 e3 01 89 de e8 df ee 0b 00 85 db 75 e5 RSP: 0018:ffffc90003c1fbc0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81af3f51 RDX: ffff88805dd28000 RSI: ffffffff81af3f3f RDI: 0000000000000005 RBP: ffffc90003c1fc90 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 1ffff92000783f7c R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000 FS: 00005555793e8500(0000) GS:ffff8881249e2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c33966b CR3: 000000005cdf6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_barrier kernel/rcu/tree.c:3826 [inline] rcu_barrier+0x28d/0x6e0 kernel/rcu/tree.c:3763 kvm_mmu_uninit_vm+0x5b/0x60 arch/x86/kvm/mmu/mmu.c:6705 kvm_arch_destroy_vm+0x207/0x2f0 arch/x86/kvm/x86.c:12901 kvm_destroy_vm virt/kvm/kvm_main.c:1310 [inline] kvm_put_kvm+0x4f2/0xb40 virt/kvm/kvm_main.c:1346 kvm_vm_release+0x3c/0x50 virt/kvm/kvm_main.c:1369 __fput+0x3ff/0xb70 fs/file_table.c:465 task_work_run+0x14d/0x240 kernel/task_work.c:227 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+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x260 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f34b6d8e969 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:00007ffd4dd8c438 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 000000000010e38f RCX: 00007f34b6d8e969 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f34b6fb7ba0 R08: 0000000000000001 R09: 0000000f4dd8c72f R10: 00007f34b6c00000 R11: 0000000000000246 R12: 00007f34b6fb5fac R13: 00007f34b6fb5fa0 R14: ffffffffffffffff R15: 00007ffd4dd8c550