rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=24021, q=475 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294975112-4294964610), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g24021 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: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 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:preempt_count_add+0x34/0x190 kernel/sched/core.c:5865 Code: fb 48 c7 c0 e0 36 7a 94 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 ed 00 00 00 83 3d fc 9c 14 13 00 <75> 07 65 8b 05 1b 3b 9e 7e 65 01 1d 14 3b 9e 7e 48 c7 c0 e0 36 7a RSP: 0018:ffffc90000167b48 EFLAGS: 00000246 RAX: 0000000000000004 RBX: 0000000000000001 RCX: ffffffff947a3603 RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: 0000000000000001 RBP: ffff8880176c8000 R08: ffffffff8fad50af R09: 1ffffffff1f5aa15 R10: dffffc0000000000 R11: fffffbfff1f5aa16 R12: dffffc0000000000 R13: 1ffff9200002cf74 R14: ffffffff8b8fda00 R15: dffffc0000000000 __schedule_loop kernel/sched/core.c:6821 [inline] schedule+0x144/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: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7437 Comm: syz-executor.1 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:232 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:239 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:571 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:1181 [inline] RIP: 0010:trace_rseq_update include/trace/events/rseq.h:11 [inline] RIP: 0010:rseq_update_cpu_node_id kernel/rseq.c:108 [inline] RIP: 0010:__rseq_handle_notify_resume+0x322/0x14e0 kernel/rseq.c:333 Code: 8f be 08 00 00 00 e8 ad e2 30 00 31 db 4c 0f a3 35 6b 45 e2 0d 41 0f 92 c6 0f 92 c3 bf 02 00 00 00 89 de e8 b0 1e cb ff 31 ff <89> de e8 a7 1e cb ff 45 84 f6 0f 84 b8 00 00 00 e8 b9 4b b1 ff 84 RSP: 0018:ffffc900094ffda0 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffffffff81cb0b33 RDX: ffff888023058000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900094ffec8 R08: ffffffff81cb0b50 R09: 1ffffffff1f5aa15 R10: dffffc0000000000 R11: fffffbfff1f5aa16 R12: 00007f946dfcdfe0 R13: 00007f946dfce000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f946dfcd6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f946dfedf00 CR3: 000000005a0e4000 CR4: 0000000000350ef0 Call Trace: rseq_handle_notify_resume include/linux/rseq.h:38 [inline] resume_user_mode_work include/linux/resume_user_mode.h:62 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x114/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f946d2a4630 Code: 83 c0 16 83 e0 f7 74 12 50 48 8d 3d 5a 9b 04 00 e8 35 78 fa ff 0f 1f 44 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <83> ff 21 74 0b c3 66 2e 0f 1f 84 00 00 00 00 00 55 53 48 89 f3 48 RSP: 002b:00007f946dfccbb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 00007f946d3b4058 RCX: 00007f946d27cea9 RDX: 00007f946dfccbc0 RSI: 00007f946dfcccf0 RDI: 0000000000000021 RBP: 00007f946d3b4050 R08: 00007f946dfcd6c0 R09: 00007f946dfcd6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f946d3b405c R13: 000000000000006e R14: 00007ffd5ab374f0 R15: 00007ffd5ab375d8