rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=555c/1/0x4000000000000000 softirq=112784/112785 fqs=7 rcu: (detected by 0, t=10502 jiffies, g=136885, q=559 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 26919 Comm: dhcpcd-run-hook Not tainted 6.12.0-rc6-syzkaller-00005-g557329bcecc2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__preempt_count_add kernel/rcu/tree.c:733 [inline] RIP: 0010:rcu_is_watching+0x6/0xb0 kernel/rcu/tree.c:736 Code: c0 84 72 03 eb cd 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 <41> 56 53 65 ff 05 28 10 89 7e e8 bb fd 43 0a 89 c3 83 f8 08 73 7a RSP: 0018:ffffc90000a18b30 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff81706ef0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff901bdc68 RBP: ffffc90000a18c80 R08: ffffffff901bdc6f R09: 1ffffffff2037b8d R10: dffffc0000000000 R11: fffffbfff2037b8e R12: 1ffff92000143174 R13: ffffffff89c419f2 R14: ffff888079b3f800 R15: dffffc0000000000 FS: 00007f744c7c2380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffe5f9fe38 CR3: 000000006c7e6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xbf/0xa30 kernel/locking/lockdep.c:5836 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] advance_sched+0xb32/0xca0 net/sched/sch_taprio.c:987 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x59b/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+0x110/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_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 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ea 0c a8 f5 48 89 df e8 02 53 a9 f5 e8 8d 3f d4 f5 fb bf 01 00 00 00 82 ce 9a f5 65 8b 05 13 76 3b 74 85 c0 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc9000b9479d0 EFLAGS: 00000286 RAX: 8bac3b8313ba7e00 RBX: ffffffff8e60a140 RCX: ffffffff8170bf9a RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 RBP: 0000000000000000 R08: ffffffff9429780f R09: 1ffffffff2852f01 R10: dffffc0000000000 R11: fffffbfff2852f02 R12: 000000000000692a R13: dffffc0000000000 R14: ffffffff8e7e6380 R15: 0000000000000000 spin_unlock_irq include/linux/spinlock.h:401 [inline] alloc_pid+0x33f/0xcb0 kernel/pid.c:243 copy_process+0x1ca2/0x3d50 kernel/fork.c:2390 kernel_clone+0x223/0x880 kernel/fork.c:2786 __do_sys_clone kernel/fork.c:2929 [inline] __se_sys_clone kernel/fork.c:2913 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2913 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:0x7f744c8fca12 Code: 41 5d 41 5e 41 5f c3 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 e7 43 0f 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fffe5fa0488 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 000055a62eb55901 RCX: 00007f744c8fca12 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 000055a62eb5dfd0 R08: 0000000000000000 R09: 0000000000000000 R10: 00007f744c7c2650 R11: 0000000000000246 R12: 000055a62eb58060 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10488 jiffies! g136885 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:25200 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x17fa/0x4bd0 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+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 8976 Comm: kworker/u8:17 Not tainted 6.12.0-rc6-syzkaller-00005-g557329bcecc2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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:ffffc900044876e0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff110170e8911 RCX: ffff88802a2e5a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900044878e0 R08: ffffffff8188eaba R09: 1ffffffff2852f00 R10: dffffc0000000000 R11: fffffbfff2852f01 R12: dffffc0000000000 R13: ffff8880b8744888 R14: ffff8880b863fc40 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3cac107d38 CR3: 000000000e734000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244