rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=24493, q=535 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294965549-4294955047), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g24493 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:26008 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 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:__schedule_loop kernel/sched/core.c:6608 [inline] RIP: 0010:schedule+0x138/0x320 kernel/sched/core.c:6621 Code: be 01 00 00 00 e8 68 e5 fa f8 48 c7 c7 60 22 1f 8e 4c 89 f6 e8 c9 74 db f5 48 89 eb 48 c1 eb 03 eb 0a 48 f7 45 00 08 00 00 00 <74> 2c bf 01 00 00 00 e8 3c 82 ce f5 31 ff e8 85 b4 ff ff bf 01 00 RSP: 0018:ffffc90000167b68 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 1ffff11002ed3000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcac1a0 RDI: 0000000000000001 RBP: ffff888017698000 R08: ffffffff8fae04af R09: 1ffffffff1f5c095 R10: dffffc0000000000 R11: fffffbfff1f5c096 R12: dffffc0000000000 R13: 1ffff9200002cf74 R14: ffffffff8b93edc0 R15: ffff888017699278 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2029 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2231 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.10.0-rc3-next-20240611-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:check_preemption_disabled+0x19/0x120 lib/smp_processor_id.c:14 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 <65> 8b 1d fc 0e 79 74 65 8b 05 f1 0e 79 74 a9 ff ff ff 7f 74 26 65 RSP: 0018:ffffc90000a189f8 EFLAGS: 00000082 RAX: 733f5cb3aeac6800 RBX: 0000000000000001 RCX: dffffc0000000000 RDX: 0000000080010005 RSI: ffffffff8bcad320 RDI: ffffffff8c200760 RBP: 0000000000000002 R08: ffffffff81354d81 R09: fffff52000143144 R10: dffffc0000000000 R11: fffff52000143144 R12: 0000000000000046 R13: ffff8880176b0000 R14: 00000000ffffffff R15: ffff8880b943e8d8 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f70d236ef00 CR3: 000000001f046000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:468 [inline] lock_is_held_type+0x101/0x190 kernel/locking/lockdep.c:5889 lock_is_held include/linux/lockdep.h:231 [inline] lockdep_assert_rq_held kernel/sched/sched.h:1405 [inline] rq_clock_pelt kernel/sched/pelt.h:66 [inline] _update_idle_rq_clock_pelt kernel/sched/pelt.h:80 [inline] update_rq_clock_pelt kernel/sched/pelt.h:98 [inline] update_rq_clock_task kernel/sched/core.c:749 [inline] update_rq_clock+0x5fc/0x8a0 kernel/sched/core.c:771 ttwu_queue kernel/sched/core.c:3849 [inline] try_to_wake_up+0x86b/0x1470 kernel/sched/core.c:4171 signal_wake_up_state+0xb4/0x120 kernel/signal.c:773 signal_wake_up include/linux/sched/signal.h:448 [inline] complete_signal+0x94a/0xcf0 kernel/signal.c:1065 __send_signal_locked+0xb1b/0xdc0 kernel/signal.c:1185 do_send_sig_info kernel/signal.c:1301 [inline] group_send_sig_info+0x292/0x310 kernel/signal.c:1451 do_bpf_send_signal+0x85/0x190 kernel/trace/bpf_trace.c:838 irq_work_single+0xe2/0x240 kernel/irq_work.c:221 irq_work_run_list kernel/irq_work.c:252 [inline] irq_work_run+0x18b/0x350 kernel/irq_work.c:261 __sysvec_irq_work+0xb8/0x430 arch/x86/kernel/irq_work.c:22 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0x9e/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5066 Code: c9 50 e8 69 b6 0b 00 48 83 c4 08 4c 89 f7 e8 7d 38 00 00 e9 de 04 00 00 4c 89 f7 e8 40 ff 31 0a e8 0b 30 37 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:ffffc900001a7b68 EFLAGS: 00000286 RAX: 733f5cb3aeac6800 RBX: ffff8880176b0000 RCX: ffffffff947c3803 RDX: dffffc0000000000 RSI: ffffffff8bcac1a0 RDI: ffffffff8c200760 RBP: ffffc900001a7bb0 R08: ffffffff8fae04af R09: 1ffffffff1f5c095 R10: dffffc0000000000 R11: fffffbfff1f5c096 R12: 1ffff110172a7ec7 R13: dffffc0000000000 R14: ffff8880b943e8c0 R15: ffff8880b953f638 context_switch kernel/sched/core.c:5195 [inline] __schedule+0x17f0/0x4a20 kernel/sched/core.c:6529 schedule_idle+0x53/0x90 kernel/sched/core.c:6647 do_idle+0x56a/0x5d0 kernel/sched/idle.c:354 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:424 start_secondary+0x100/0x100 arch/x86/kernel/smpboot.c:313 common_startup_64+0x13e/0x147