rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=4a1c/1/0x4000000000000000 softirq=37205/37206 fqs=2 rcu: (detected by 0, t=10502 jiffies, g=38001, q=227 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 9004 Comm: iou-sqp-9003 Not tainted 6.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:19 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:147 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x96/0x140 kernel/locking/spinlock.c:194 Code: 48 83 c7 18 48 8b 75 08 e8 a7 38 9f f5 48 89 df e8 bf 7e a0 f5 41 f7 c7 00 02 00 00 74 05 e8 31 6b cb f5 4c 89 f3 48 c1 eb 03 <42> 80 3c 23 00 74 08 4c 89 f7 e8 9b 6f 2d f6 48 c7 44 24 20 00 00 RSP: 0018:ffffc90000a18cc0 EFLAGS: 00000016 RAX: 0000000000000001 RBX: 1ffff9200014319c RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880b872c880 RBP: ffffc90000a18d50 R08: ffff8880b872c883 R09: 1ffff110170e5910 R10: dffffc0000000000 R11: ffffed10170e5911 R12: dffffc0000000000 R13: 1ffff92000143198 R14: ffffc90000a18ce0 R15: 0000000000000046 FS: 00007f2512f736c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c24d91d CR3: 0000000054b68000 CR4: 0000000000350ef0 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x477/0xd50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 8e 6e 2d f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 f3 f9 91 f5 65 8b 05 b4 a1 32 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc90003f576a0 EFLAGS: 00000206 RAX: 522b45cc04d5b700 RBX: 1ffff920007eaed8 RCX: ffffffff8170bfaa RDX: dffffc0000000000 RSI: ffffffff8c0acaa0 RDI: 0000000000000001 RBP: ffffc90003f57730 R08: ffffffff942cd95f R09: 1ffffffff2859b2b R10: dffffc0000000000 R11: fffffbfff2859b2c R12: dffffc0000000000 R13: 1ffff920007eaed4 R14: ffffc90003f576c0 R15: 0000000000000246 cputime_adjust kernel/sched/cputime.c:620 [inline] thread_group_cputime_adjusted+0x2ec/0x340 kernel/sched/cputime.c:640 getrusage+0x1000/0x1340 kernel/sys.c:1863 io_sq_thread+0x84d/0x1d60 io_uring/sqpoll.c:313 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: rcu_preempt kthread starved for 10498 jiffies! g38001 f0x0 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:24336 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 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: 0 UID: 0 PID: 6910 Comm: kworker/u8:10 Not tainted 6.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f8/0x2ca0 kernel/smp.c:884 Code: 89 e6 83 e6 01 31 ff e8 86 f3 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 31 ef 0b 00 eb 38 f3 90 42 0f b6 04 23 <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 15 ef 0b 00 eb e4 44 RSP: 0018:ffffc9000305f6e0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff110170e8919 RCX: ffff888028071e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000305f8e0 R08: ffffffff8188eaca R09: 1ffffffff2859b00 R10: dffffc0000000000 R11: fffffbfff2859b01 R12: dffffc0000000000 R13: ffff8880b87448c8 R14: ffff8880b863fc80 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000000e734000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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