rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=6601, q=75) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294954604-4294944102), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g6601 f0x2 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:27352 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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: 4313 Comm: syz.2.20 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:197 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4711 [inline] RIP: 0010:__lock_acquire+0x7ab/0x1ff0 kernel/locking/lockdep.c:4962 Code: 00 41 8b 5d 00 81 e3 ff 1f 00 00 89 d8 c1 e8 06 48 8d 3c c5 00 81 98 90 be 08 00 00 00 e8 ed 82 67 00 48 0f a3 1d 75 b6 35 0f <73> 1b 48 8d 04 5b 48 c1 e0 06 48 8d 98 c0 ff 30 90 48 ba 00 00 00 RSP: 0018:ffffc90000dd08a0 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000892 RCX: ffffffff8162ca83 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90988210 RBP: ffff8880271a28d0 R08: dffffc0000000000 R09: fffffbfff2131043 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8880271a28d0 R14: 0000000000000000 R15: ffff8880271a2902 FS: 00007f0787e186c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 0000000063442000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reacquire_held_locks+0x3a2/0x660 kernel/locking/lockdep.c:5150 __lock_release kernel/locking/lockdep.c:5339 [inline] lock_release+0x369/0x9a0 kernel/locking/lockdep.c:5643 rcu_read_unlock include/linux/rcupdate.h:772 [inline] __lock_task_sighand+0x26a/0x290 kernel/signal.c:1409 lock_task_sighand include/linux/sched/signal.h:710 [inline] send_sigqueue+0x1f4/0x6f0 kernel/signal.c:1975 posix_timer_event kernel/time/posix-timers.c:359 [inline] posix_timer_fn+0x186/0x390 kernel/time/posix-timers.c:385 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: 31 61 f6 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 1e a5 1a f7 48 89 df e8 76 f9 1b f7 e8 31 b4 3e f7 fb bf 01 00 00 00 d6 3e 0f f7 65 8b 05 f7 31 ba 75 85 c0 74 02 5b c3 e8 c4 4e b8 RSP: 0018:ffffc9000316fbc0 EFLAGS: 00000282 RAX: 61c132ffd9c22500 RBX: ffff88802aa3e5c0 RCX: ffffffff96a8ef03 RDX: dffffc0000000000 RSI: ffffffff8aab2a80 RDI: 0000000000000001 RBP: 0000000000000000 R08: ffffffff8186f220 R09: ffffed1005547cb9 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000021 R13: dffffc0000000000 R14: ffff88802aa3ea58 R15: ffff88802aa3e5c0 spin_unlock_irq include/linux/spinlock.h:413 [inline] get_signal+0x13ee/0x14e0 kernel/signal.c:2903 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0789fa2847 Code: ff ff 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 RSP: 002b:00007f0787e180e8 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007f078a167fa8 RCX: 00007f0789fa2849 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f078a167fa8 RBP: 00007f078a167fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f078a167fac R13: 0000000000000000 R14: 00007ffebfdeca50 R15: 00007ffebfdecb38