rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=6a7c/1/0x4000000000000000 softirq=28942/28943 fqs=1 rcu: (detected by 0, t=10505 jiffies, g=25921, q=520 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 9163 Comm: syz.3.760 Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__this_cpu_preempt_check+0x0/0x20 lib/smp_processor_id.c:65 Code: 09 46 f5 e8 a2 a3 48 f5 eb a8 e8 ab e0 ff ff 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 90 0f 1e fa 48 89 fe 48 c7 c7 60 dd 5e 8c e9 bd fe ff ff 66 2e 0f RSP: 0018:ffffc90000a18c20 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff88801cb45a00 RDX: ffff88801cb45a00 RSI: ffff88807d4f4300 RDI: ffffffff8c0aaae0 RBP: 0000000000000000 R08: ffffffff89c5e301 R09: fffff5200014317c R10: dffffc0000000000 R11: fffff5200014317c R12: 0000000000000046 R13: ffff88801cb45a00 R14: 00000000ffffffff R15: ffff88807d4f4300 FS: 00007f7b7f0986c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7b7e169160 CR3: 000000003048e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] lock_is_held_type+0x101/0x190 kernel/locking/lockdep.c:5922 lock_is_held include/linux/lockdep.h:249 [inline] advance_sched+0x148/0xca0 net/sched/sch_taprio.c:927 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/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:syscall_enter_from_user_mode_work include/linux/entry-common.h:168 [inline] RIP: 0010:syscall_enter_from_user_mode include/linux/entry-common.h:199 [inline] RIP: 0010:do_syscall_64+0xbc/0x230 arch/x86/entry/common.c:79 Code: ed 00 00 00 48 8b 7d 08 e8 41 65 00 00 0f 1f 44 00 00 0f 1f 44 00 00 90 e8 21 b7 e6 f5 90 90 e8 ca b6 e6 f5 fb 49 8b 54 24 08 c2 3f 74 0e 4c 89 f7 4c 89 fe e8 a4 bc c8 f5 49 89 c7 90 90 41 RSP: 0018:ffffc9000be1ff10 EFLAGS: 00000282 RAX: 58321a41351d2b00 RBX: ffffc9000be1ff10 RCX: ffffffff9a378903 RDX: 0000000000000000 RSI: ffffffff8c0a98e0 RDI: ffffffff8c5edd60 RBP: ffffc9000be1ff48 R08: ffffffff901856b7 R09: 1ffffffff2030ad6 R10: dffffc0000000000 R11: fffffbfff2030ad7 R12: ffff88801cb45a00 R13: 0000000000000000 R14: ffffc9000be1ff58 R15: 0000000000000029 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7b7e185d29 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:00007f7b7f098038 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007f7b7e375fa0 RCX: 00007f7b7e185d29 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 000000000000002a RBP: 00007f7b7e201b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f7b7e375fa0 R15: 00007ffd2d118378 rcu: rcu_preempt kthread starved for 10500 jiffies! g25921 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:25360 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 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 9107 Comm: syz.4.749 Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f3/0x2c60 kernel/smp.c:884 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 56 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 e5 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 e5 e4 RSP: 0018:ffffc90004b07740 EFLAGS: 00000293 RAX: ffffffff81938eeb RBX: 1ffff110170e88b9 RCX: ffff88802f019e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004b07940 R08: ffffffff81938eba R09: 1ffffffff284e310 R10: dffffc0000000000 R11: fffffbfff284e311 R12: dffffc0000000000 R13: ffff8880b87445c8 R14: ffff8880b863f940 R15: 0000000000000001 FS: 0000555568e17500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffda2141fa8 CR3: 0000000060456000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 __static_key_slow_dec_cpuslocked+0xc4/0x110 kernel/jump_label.c:315 __static_key_slow_dec kernel/jump_label.c:321 [inline] static_key_slow_dec+0x51/0xa0 kernel/jump_label.c:336 kvm_arch_vcpu_destroy+0x101/0x240 arch/x86/kvm/x86.c:12364 kvm_vcpu_destroy virt/kvm/kvm_main.c:470 [inline] kvm_destroy_vcpus+0xf7/0x280 virt/kvm/kvm_main.c:490 kvm_arch_destroy_vm+0x344/0x430 arch/x86/kvm/x86.c:12874 kvm_destroy_vm virt/kvm/kvm_main.c:1304 [inline] kvm_put_kvm+0xb75/0xf60 virt/kvm/kvm_main.c:1340 kvm_vm_release+0x43/0x50 virt/kvm/kvm_main.c:1363 __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:0x7fdc63b85d29 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:00007ffc1eb39078 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fdc63d77ba0 RCX: 00007fdc63b85d29 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fdc63d77ba0 R08: 00000000000001fc R09: 00007ffc1eb3936f R10: 00007fdc63d77ac0 R11: 0000000000000246 R12: 00000000000473ff R13: 00007fdc63d76080 R14: 0000000000000032 R15: ffffffffffffffff