rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10499 ticks this GP) idle=2144/0/0x1 softirq=16294/16294 fqs=0 (t=10501 jiffies g=18201 q=199 ncpus=2) rcu: rcu_preempt kthread starved for 10502 jiffies! g18201 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:25528 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 schedule+0xbf/0x180 kernel/sched/core.c:6637 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5577 Comm: syz.0.509 Not tainted 6.1.100-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:122 [inline] RIP: 0010:lock_release+0x124/0xa20 kernel/locking/lockdep.c:5675 Code: 09 0d 00 0f 84 2b 05 00 00 65 8b 05 66 e4 97 7e 85 c0 0f 85 1c 05 00 00 65 4c 8b 35 d6 da 97 7e 49 8d 9e dc 0a 00 00 48 89 d8 <48> c1 e8 03 42 0f b6 04 38 84 c0 0f 85 da 05 00 00 83 3b 00 0f 85 RSP: 0018:ffffc90000007a40 EFLAGS: 00000046 RAX: ffff88807ea8a89c RBX: ffff88807ea8a89c RCX: ffffffff816a9417 RDX: 0000000000000000 RSI: ffffffff8b3d4880 RDI: ffffffff8b3d4840 RBP: ffffc90000007b70 R08: dffffc0000000000 R09: fffffbfff1ce7086 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000f54 R13: ffffffff8156966b R14: ffff88807ea89dc0 R15: dffffc0000000000 FS: 0000555555bc1500(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 0000000075001000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x75/0x130 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] unlock_task_sighand include/linux/sched/signal.h:753 [inline] send_sigqueue+0x4cb/0x720 kernel/signal.c:2007 posix_timer_event kernel/time/posix-timers.c:354 [inline] posix_timer_fn+0x186/0x390 kernel/time/posix-timers.c:380 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 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:653 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: d1 bc f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 8e f6 d4 f6 48 89 df e8 f6 33 d6 f6 e8 51 c0 fb f6 fb bf 01 00 00 00 a6 c6 c8 f6 65 8b 05 67 d2 6c 75 85 c0 74 02 5b c3 e8 14 f6 6a RSP: 0018:ffffc90013dcfb30 EFLAGS: 00000286 RAX: 995c719154a20300 RBX: ffff88807f051bc0 RCX: ffffffff91c94103 RDX: dffffc0000000000 RSI: ffffffff8aec0240 RDI: 0000000000000001 RBP: ffffc90013dcfc70 R08: dffffc0000000000 R09: ffffed100fe0a379 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100fe0a40b R13: 000000001c000004 R14: 0000000000000021 R15: ffff88807f052058 spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x154b/0x17d0 kernel/signal.c:2865 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f140c975b59 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:00007fffd42f8ac8 EFLAGS: 00000246 RAX: fffffffffffffffc RBX: 0000000000028e33 RCX: 00007f140c975b59 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f140cb06044 RBP: 0000000000028e01 R08: 0000000000000010 R09: 0000001ad42f8def R10: 00007fffd42f8bb0 R11: 0000000000000246 R12: 00007f140cb06044 R13: 0000000000000032 R14: 00007fffd42f8bd0 R15: 00007fffd42f8bb0 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.100-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:567 Code: 0b f5 f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 f4 c9 fb f6 0f 1f 44 00 00 e8 4a 07 f5 f6 0f 00 2d 63 d5 b1 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 3b 8f 4c f7 RSP: 0018:ffffc90000177b80 EFLAGS: 000002d3 RAX: ffffffff8a959336 RBX: 0000000000000000 RCX: ffff888012739dc0 RDX: 0000000000000000 RSI: ffffffff8aec0240 RDI: ffffffff8b3d48a0 RBP: ffffc90000177c10 R08: ffffffff8a959318 R09: ffffed10024e73b9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200002ef70 R13: ffff888014b94004 R14: ffffc90000177ba0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000075001000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:704 cpuidle_enter_state+0x516/0xf80 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3ce/0x680 kernel/sched/idle.c:303 cpu_startup_entry+0x3d/0x60 kernel/sched/idle.c:401 start_secondary+0xe4/0xf0 arch/x86/kernel/smpboot.c:281 secondary_startup_64_no_verify+0xcf/0xdb