rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=77361, q=319 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4295041362-4295030860), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g77361 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:24464 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 11644 Comm: syz-executor.3 Not tainted 6.10.0-rc2-syzkaller-00235-g8a92980606e3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5282 Code: c9 50 e8 99 c9 0b 00 48 83 c4 08 4c 89 f7 e8 cd 38 00 00 e9 de 04 00 00 4c 89 f7 e8 60 c7 2a 0a e8 5b f8 36 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0018:ffffc9000e297808 EFLAGS: 00000286 RAX: 3b0419fdbfa4e100 RBX: ffff88802cee5a00 RCX: ffffffff947a3603 RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: ffffffff8c1ff380 RBP: ffffc9000e297850 R08: ffffffff8fad4b6f R09: 1ffffffff1f5a96d R10: dffffc0000000000 R11: fffffbfff1f5a96e R12: 1ffff110172a7ea7 R13: dffffc0000000000 R14: ffff8880b943e7c0 R15: ffff8880b953f538 FS: 0000555591895480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32f22000 CR3: 000000002ee44000 CR4: 0000000000350ef0 Call Trace: context_switch kernel/sched/core.c:5411 [inline] __schedule+0x17f0/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] RIP: 0010:tif_need_resched include/linux/thread_info.h:184 [inline] RIP: 0010:need_resched include/linux/sched.h:2110 [inline] RIP: 0010:__schedule_loop kernel/sched/core.c:6824 [inline] RIP: 0010:schedule+0x155/0x320 kernel/sched/core.c:6837 Code: c1 eb 03 eb 0a 48 f7 45 00 08 00 00 00 74 2c bf 01 00 00 00 e8 dc ce d5 f5 31 ff e8 85 b4 ff ff bf 01 00 00 00 e8 6b d0 d5 f5 <42> 80 3c 23 00 74 d4 48 89 ef e8 7c 1e 6c f6 eb ca 4c 8d 75 2c 4d RSP: 0018:ffffc9000e297be8 EFLAGS: 00000257 RAX: 0000000000000001 RBX: 1ffff110059dcb40 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: 0000000000000001 RBP: ffff88802cee5a00 R08: ffffffff8fad4b6f R09: 1ffffffff1f5a96d R10: dffffc0000000000 R11: fffffbfff1f5a96e R12: dffffc0000000000 R13: ffffc9000e297da0 R14: ffffffff8b8fc9a0 R15: ffff88802cee6c78 do_nanosleep+0x197/0x600 kernel/time/hrtimer.c:2028 hrtimer_nanosleep+0x227/0x470 kernel/time/hrtimer.c:2081 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep+0x32d/0x3c0 kernel/time/posix-timers.c:1373 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd94e8a8375 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 b9 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 4f ba ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffc38ec3430 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 00007fd94e9b3f80 RCX: 00007fd94e8a8375 RDX: 00007ffc38ec3470 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fd94e9b5980 R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 00000000000e4f27 R13: 00007fd94e9b412c R14: 0000000000000032 R15: 00007fd94e9b5980