rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=f714/1/0x4000000000000000 softirq=333387/333389 fqs=0 (detected by 0, t=10505 jiffies, g=446829, q=127 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1680 Comm: syz-executor.0 Not tainted 6.1.62-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] RIP: 0010:_raw_spin_lock_irqsave+0x89/0x120 kernel/locking/spinlock.c:162 Code: f3 4b 89 44 3d 00 4c 89 e3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 e7 e8 b5 8c 4e f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 <42> 80 3c 3b 00 74 08 4c 89 e7 e8 18 8c 4e f7 4c 8b 64 24 20 fa 41 RSP: 0018:ffffc900001e0b60 EFLAGS: 00000046 RAX: f3f3f300f1f1f1f1 RBX: 1ffff9200003c170 RCX: 0000000000000830 RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffffff91e95e78 RBP: ffffc900001e0bf0 R08: dffffc0000000000 R09: ffffc900001e0c60 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900001e0b80 R13: 1ffff9200003c16c R14: ffffffff91e95e78 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7bd6d98000 CR3: 0000000021f76000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_object_activate+0x16a/0x890 lib/debugobjects.c:706 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x30/0x390 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0x728/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5665 Code: 2b 00 74 08 4c 89 f7 e8 df 7e 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000a367520 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200146ceb0 RCX: ffffffff816b02c5 RDX: dffffc0000000000 RSI: ffffffff8aebf420 RDI: ffffffff8b3cef40 RBP: ffffc9000a367670 R08: dffffc0000000000 R09: fffffbfff209184d R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200146ceac R13: dffffc0000000000 R14: ffffc9000a367580 R15: 0000000000000246 local_lock_acquire include/linux/local_lock_internal.h:29 [inline] lru_add_drain+0x8e/0x3e0 mm/swap.c:772 exit_mmap+0x22b/0x9f0 mm/mmap.c:3222 __mmput+0x115/0x3c0 kernel/fork.c:1199 exit_mm+0x226/0x300 kernel/exit.c:563 do_exit+0x9f6/0x26a0 kernel/exit.c:856 do_group_exit+0x202/0x2b0 kernel/exit.c:1019 get_signal+0x16f7/0x17d0 kernel/signal.c:2862 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7bd6c7cae9 Code: Unable to access opcode bytes at 0x7f7bd6c7cabf. RSP: 002b:00007f7bd79a4178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f7bd6d9bf88 RCX: 00007f7bd6c7cae9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f7bd6d9bf8c RBP: 00007f7bd6d9bf80 R08: 0000000000000010 R09: 00007f7bd79a46c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7bd6d9bf8c R13: 000000000000000b R14: 00007ffc42b00c30 R15: 00007ffc42b00d18 rcu: rcu_preempt kthread timer wakeup didn't happen for 10504 jiffies! g446829 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=238277 rcu: rcu_preempt kthread starved for 10505 jiffies! g446829 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:26680 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2c2/0x1010 kernel/rcu/tree.c:1661 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1860 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 1684 Comm: syz-executor.1 Not tainted 6.1.62-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x1f62/0x33d0 kernel/smp.c:987 Code: 2f 44 89 ee 83 e6 01 31 ff e8 6a 42 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 f5 3e 0b 00 e9 1b ff ff ff f3 90 <42> 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff RSP: 0018:ffffc9000a3074e0 EFLAGS: 00000246 RAX: ffffffff817f4f9d RBX: 1ffff11017328031 RCX: 0000000000040000 RDX: ffffc9000aa4b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000a3078c0 R08: ffffffff817f4f66 R09: fffffbfff2091845 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9940188 FS: 00007f8e80fbc6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200e7000 CR3: 0000000087712000 CR4: 00000000003526f0 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1329 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1529 text_poke_flush arch/x86/kernel/alternative.c:1720 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1727 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_slow_inc_cpuslocked+0x12a/0x220 kernel/jump_label.c:144 static_key_slow_inc+0x16/0x20 kernel/jump_label.c:159 kvm_arch_vcpu_create+0x26e/0x920 arch/x86/kvm/x86.c:11946 kvm_vm_ioctl_create_vcpu+0x30c/0x8e0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3950 kvm_vm_ioctl+0x60b/0xb60 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4722 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8e8247cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8e80fbc0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8e8259c120 RCX: 00007f8e8247cae9 RDX: 0000000000000000 RSI: 000000000000ae41 RDI: 0000000000000006 RBP: 00007f8e824c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f8e8259c120 R15: 00007ffd357870e8