rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=1b8c/0/0x1 softirq=6315/6315 fqs=0 (detected by 0, t=10502 jiffies, g=5605, q=138 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.0.0-rc7-syzkaller-00387-g46452d3786a8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:228 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:240 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:390 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:965 [inline] RIP: 0010:trace_hrtimer_cancel include/trace/events/timer.h:293 [inline] RIP: 0010:debug_deactivate kernel/time/hrtimer.c:482 [inline] RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1653 [inline] RIP: 0010:__hrtimer_run_queues+0x441/0xe40 kernel/time/hrtimer.c:1749 Code: 00 00 e8 22 eb 0f 00 89 ed be 08 00 00 00 48 89 e8 48 c1 e8 06 48 8d 3c c5 50 42 de 8d e8 57 92 5b 00 48 0f a3 2d 2f f6 72 0c <40> 0f 92 c5 31 ff 89 ee e8 72 e7 0f 00 40 84 ed 0f 85 0f 06 00 00 RSP: 0018:ffffc900003f8e40 EFLAGS: 00000047 RAX: 0000000000000001 RBX: ffff888021973340 RCX: ffffffff816b4c19 RDX: fffffbfff1bbc84b RSI: 0000000000000008 RDI: ffffffff8dde4250 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8dde4257 R10: fffffbfff1bbc84a R11: 0000000000000000 R12: 17ef2b2fafde565f R13: ffff8880b9b2a640 R14: ffff8880b9b2a540 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000051b730 CR3: 00000000171f1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [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:113 [inline] RIP: 0010:acpi_idle_do_entry+0x1fd/0x2a0 drivers/acpi/processor_idle.c:572 Code: 89 de e8 76 10 f8 f7 84 db 75 ac e8 ed 13 f8 f7 e8 48 8b fe f7 66 90 e8 e1 13 f8 f7 0f 00 2d 1a 95 d1 00 e8 d5 13 f8 f7 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 a0 10 f8 f7 48 85 db RSP: 0018:ffffc9000038fd18 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880121f0200 RSI: ffffffff8983234b RDI: 0000000000000000 RBP: ffff888017706064 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: ffff888017706000 R14: ffff888017706064 R15: ffff888146899004 acpi_idle_enter+0x364/0x500 drivers/acpi/processor_idle.c:709 cpuidle_enter_state+0x1ab/0xd30 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x4a/0xa0 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3e8/0x590 kernel/sched/idle.c:303 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:400 start_secondary+0x21d/0x2b0 arch/x86/kernel/smpboot.c:262 secondary_startup_64_no_verify+0xce/0xdb rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g5605 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=1547 rcu: rcu_preempt kthread starved for 10502 jiffies! g5605 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 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:28928 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6494 schedule+0xda/0x1b0 kernel/sched/core.c:6570 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1657 rcu_gp_kthread+0x236/0x360 kernel/rcu/tree.c:1854 kthread+0x2e4/0x3a0 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.0.0-rc7-syzkaller-00387-g46452d3786a8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:hlock_class kernel/locking/lockdep.c:222 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4752 [inline] RIP: 0010:__lock_acquire+0x6cb/0x56d0 kernel/locking/lockdep.c:5003 Code: 00 00 49 63 c4 48 8d 04 80 49 8d 1c c6 48 8d 7b 20 48 89 fa 48 c1 ea 03 42 0f b6 14 3a 84 d2 74 09 80 fa 03 0f 8e af 27 00 00 <0f> b7 53 20 66 81 e2 ff 1f 0f b7 da be 08 00 00 00 48 89 d8 48 c1 RSP: 0018:ffffc900003f8ab8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff8880121f0c78 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000040 RDI: ffff8880121f0c98 RBP: 0000000000000002 R08: 0000000000000000 R09: dffffc0000000000 R10: fffffbfff211c328 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880121f0200 R14: ffff8880121f0c78 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000051b730 CR3: 00000000171f1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5666 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5631 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:658 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x27/0x3e0 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0xaf3/0xe40 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [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:113 [inline] RIP: 0010:acpi_idle_do_entry+0x1fd/0x2a0 drivers/acpi/processor_idle.c:572 Code: 89 de e8 76 10 f8 f7 84 db 75 ac e8 ed 13 f8 f7 e8 48 8b fe f7 66 90 e8 e1 13 f8 f7 0f 00 2d 1a 95 d1 00 e8 d5 13 f8 f7 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 a0 10 f8 f7 48 85 db RSP: 0018:ffffc9000038fd18 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880121f0200 RSI: ffffffff8983234b RDI: 0000000000000000 RBP: ffff888017706064 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: ffff888017706000 R14: ffff888017706064 R15: ffff888146899004 acpi_idle_enter+0x364/0x500 drivers/acpi/processor_idle.c:709 cpuidle_enter_state+0x1ab/0xd30 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x4a/0xa0 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3e8/0x590 kernel/sched/idle.c:303 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:400 start_secondary+0x21d/0x2b0 arch/x86/kernel/smpboot.c:262 secondary_startup_64_no_verify+0xce/0xdb