rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10499 ticks this GP) idle=9f2c/1/0x4000000000000000 softirq=19869/19869 fqs=324 (t=10500 jiffies g=22581 q=6503 ncpus=2) rcu: rcu_preempt kthread starved for 9783 jiffies! g22581 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:25088 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.108-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4724 [inline] RIP: 0010:__lock_acquire+0x538/0x1f80 kernel/locking/lockdep.c:4999 Code: 04 10 84 c0 0f 85 5e 12 00 00 0f b6 2b 41 0f b6 04 17 84 c0 0f 85 72 12 00 00 41 8b 1e 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 <48> 8d 3c c5 20 b2 1d 91 be 08 00 00 00 e8 26 a2 77 00 48 0f a3 1d RSP: 0018:ffffc900001e09e0 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 0000000000000048 RCX: ffffffff816a8d85 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff911db228 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff223b646 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888017f62898 R13: ffff888017f61dc0 R14: ffff888017f628c0 R15: 1ffff11002fec518 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555717fd5c8 CR3: 0000000063fa6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 seqcount_lockdep_reader_access+0xf8/0x220 include/linux/seqlock.h:102 timekeeping_get_delta kernel/time/timekeeping.c:254 [inline] timekeeping_get_ns kernel/time/timekeeping.c:388 [inline] ktime_get+0x7f/0x270 kernel/time/timekeeping.c:848 tick_sched_timer+0x34/0x550 kernel/time/tick-sched.c:1492 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5a7/0xe50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815 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: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: ce d9 f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 f4 8c e0 f6 0f 1f 44 00 00 e8 2a ca d9 f6 0f 00 2d d3 aa b6 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 eb 4a 31 f7 RSP: 0018:ffffc90000177b80 EFLAGS: 000002d3 RAX: ffffffff8ab0e446 RBX: 0000000000000000 RCX: ffff888017f61dc0 RDX: 0000000000000000 RSI: ffffffff8b0c0260 RDI: ffffffff8b5d69c0 RBP: ffffc90000177c10 R08: ffffffff8ab0e428 R09: ffffed1002fec3b9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200002ef70 R13: ffff888018dff804 R14: ffffc90000177ba0 R15: dffffc0000000000 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 CPU: 0 PID: 5453 Comm: syz.3.329 Not tainted 6.1.108-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 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: 91 9d f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 9e ba b9 f6 48 89 df e8 06 f8 ba f6 e8 51 83 e0 f6 fb bf 01 00 00 00 a6 88 ad f6 65 8b 05 57 81 51 75 85 c0 74 02 5b c3 e8 04 a5 4f RSP: 0018:ffffc900045bfb30 EFLAGS: 00000286 RAX: e3340f605e6cac00 RBX: ffff88802d462e40 RCX: ffffffff97332103 RDX: dffffc0000000000 RSI: ffffffff8b0c0260 RDI: 0000000000000001 RBP: ffffc900045bfc70 R08: dffffc0000000000 R09: ffffed1005a8c5c9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11005a8c65b R13: 000000001c000004 R14: 0000000000000021 R15: ffff88802d4632d8 FS: 000055557334d500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000606c0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x154b/0x17d0 kernel/signal.c:2873 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:0x7f2b521aefe5 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 c6 57 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 1f 58 ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffd152a68a0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 00007f2b52335f80 RCX: 00007f2b521aefe5 RDX: 00007ffd152a68e0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f2b52337a80 R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000030f12 R13: 00007ffd152a6a10 R14: 0000000000000032 R15: ffffffffffffffff