rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=5173, q=16 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10501 (4294966937-4294956436), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g5173 f0x2 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:28208 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1613 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1812 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 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: 5076 Comm: syz-executor671 Not tainted 6.6.0-rc7-syzkaller-00137-g750b95887e56 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:find_held_lock+0x1a/0x110 kernel/locking/lockdep.c:5236 Code: 24 20 eb 95 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 57 44 8d 7a ff 49 63 c7 41 56 49 89 ce 48 8d 04 80 41 55 49 89 f5 41 54 55 <89> d5 53 48 8d 9c c7 c8 0a 00 00 48 89 df e8 83 7c d6 08 85 c0 0f RSP: 0018:ffffc90000007ce8 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffc90000007d68 RDX: 0000000000000001 RSI: ffff88807d3f6038 RDI: ffff888024055940 RBP: 1ffff92000000fa5 R08: 0000000000000000 R09: fffffbfff1d983da R10: ffffffff8ecc1ed7 R11: 0000000000000000 R12: ffff88807d3f6038 R13: ffff88807d3f6038 R14: ffffc90000007d68 R15: 0000000000000000 FS: 0000555555ea33c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 000000007b894000 CR4: 0000000000350ef0 Call Trace: __lock_release kernel/locking/lockdep.c:5428 [inline] lock_release+0x1fb/0x680 kernel/locking/lockdep.c:5773 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x1a/0x70 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] unlock_timer kernel/time/posix-timers.c:128 [inline] posix_timer_fn+0x2f2/0x3d0 kernel/time/posix-timers.c:373 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x203/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 da 03 27 f7 48 89 df e8 d2 82 27 f7 e8 8d fd 4c f7 fb bf 01 00 00 00 b2 e7 18 f7 65 8b 05 43 2a c2 75 85 c0 74 02 5b c3 e8 50 ef be RSP: 0018:ffffc90003bbfd00 EFLAGS: 00000202 RAX: 0000000003c14fa7 RBX: ffff88802539d340 RCX: 1ffffffff1d97da9 RDX: 0000000000000000 RSI: ffffffff8a8caca0 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8ecc1ed7 R11: 0000000000000000 R12: ffff88802539d7d8 R13: 0000000000000021 R14: ffff88802539d740 R15: 1ffff92000777faf spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x1899/0x2790 kernel/signal.c:2895 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7c4fcffe79 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 18 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:00007ffd22e9ecc8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f7c4fcffe79 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000555555ea3370 R13: 0000000000000005 R14: 00007ffd22e9ed40 R15: 00007ffd22e9ed30