rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=5eb4/1/0x4000000000000000 softirq=18870/18876 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6242/3:b..l rcu: (detected by 1, t=10504 jiffies, g=11285, q=2759 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 6243 Comm: dhcpcd-run-hook Not tainted 6.15.0-rc1-syzkaller-00198-gadf6b730fc8d #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] RIP: 0010:rcu_is_watching+0x2e/0xb0 kernel/rcu/tree.c:736 Code: 41 57 41 56 53 65 ff 05 10 fb bf 11 e8 3b 1a 88 0a 89 c3 83 f8 08 73 7a 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 10 8c 79 8e <4c> 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 2c c8 84 00 RSP: 0000:ffffc90000007ae0 EFLAGS: 00000093 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8ca1b680 RDI: ffffffff8ca1b640 RBP: ffffffff9368c020 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc90000007c60 R11: fffff52000000f8e R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8e798c10 R15: dffffc0000000000 FS: 00007f82bd729380(0000) GS:ffff888124f94000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f82bd903423 CR3: 000000006deac000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x5e/0x2f0 kernel/locking/lockdep.c:5829 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd8/0x130 kernel/locking/spinlock.c:162 debug_object_deactivate+0x164/0x390 lib/debugobjects.c:873 debug_hrtimer_deactivate kernel/time/hrtimer.c:450 [inline] debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:490 __run_hrtimer kernel/time/hrtimer.c:1729 [inline] __hrtimer_run_queues+0x310/0xd40 kernel/time/hrtimer.c:1825 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1887 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:lock_acquire+0x167/0x2f0 arch/x86/include/asm/irqflags.h:-1 Code: c7 44 24 10 00 00 00 00 9c 8f 44 24 10 f7 44 24 10 00 02 00 00 0f 85 fd 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 65 48 8b 45 00 <48> 3b 44 24 38 0f 85 72 01 00 00 48 83 c4 40 5b 41 5c 41 5d 41 5e RSP: 0000:ffffc90004bbf600 EFLAGS: 00000206 RAX: ebd32dbbda2e2900 RBX: ffffffff8ed3dfe0 RCX: ebd32dbbda2e2900 RDX: 0000000000000000 RSI: ffffffff8e4fd722 RDI: ffffffff8ca1b6a0 RBP: ffffffff9368c020 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000002 R14: 0000000000000246 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:841 [inline] page_ref_add_unless include/linux/page_ref.h:235 [inline] folio_ref_add_unless include/linux/page_ref.h:248 [inline] folio_try_get+0x3b/0x350 include/linux/page_ref.h:264 next_uptodate_folio+0xd3/0x5f0 mm/filemap.c:3562 filemap_map_pages+0x12d3/0x1900 mm/filemap.c:3745 do_fault_around mm/memory.c:5476 [inline] do_read_fault mm/memory.c:5509 [inline] do_fault mm/memory.c:5652 [inline] do_pte_missing mm/memory.c:4160 [inline] handle_pte_fault+0x3d6d/0x61c0 mm/memory.c:5997 __handle_mm_fault mm/memory.c:6140 [inline] handle_mm_fault+0x1129/0x1bf0 mm/memory.c:6309 do_user_addr_fault arch/x86/mm/fault.c:1337 [inline] handle_page_fault arch/x86/mm/fault.c:1480 [inline] exc_page_fault+0x45b/0x920 arch/x86/mm/fault.c:1538 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f82bd7f0978 Code: 01 74 10 83 fa 24 77 0b 49 8b 48 68 48 8b 5c 24 08 eb 13 48 8b 05 a0 74 16 00 64 c7 00 16 00 00 00 e9 72 02 00 00 48 0f be 33 44 71 01 20 74 05 48 ff c3 eb f0 40 84 f6 0f 84 4b 02 00 00 40 RSP: 002b:00007ffe79069b40 EFLAGS: 00010283 RAX: ffffffffffffff70 RBX: 00007f82bda1c35a RCX: 00007f82bd9033c0 RDX: 000000000000000a RSI: 0000000000000031 RDI: 00007f82bda1c35a RBP: 0000000000000000 R08: 00007f82bd9593a0 R09: 000056540f0ea060 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 000056540f0e9910 R15: 00007f82bda62a80 task:dhcpcd state:R running task stack:27304 pid:6242 tgid:6242 ppid:5506 task_flags:0x400040 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b88/0x5240 kernel/sched/core.c:6767 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6947 preempt_schedule+0xe4/0xf0 kernel/sched/core.c:6971 preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] filemap_map_pages+0x13d4/0x1900 mm/filemap.c:3747 do_fault_around mm/memory.c:5476 [inline] do_read_fault mm/memory.c:5509 [inline] do_fault mm/memory.c:5652 [inline] do_pte_missing mm/memory.c:4160 [inline] handle_pte_fault+0x3d6d/0x61c0 mm/memory.c:5997 __handle_mm_fault mm/memory.c:6140 [inline] handle_mm_fault+0x1129/0x1bf0 mm/memory.c:6309 do_user_addr_fault arch/x86/mm/fault.c:1337 [inline] handle_page_fault arch/x86/mm/fault.c:1480 [inline] exc_page_fault+0x45b/0x920 arch/x86/mm/fault.c:1538 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f2cb0ff0420 RSP: 002b:00007ffdea54f008 EFLAGS: 00010246 RAX: 00007ffdea54f6d8 RBX: 0000000000000073 RCX: 00007f2cb0f345de RDX: 0000000000000020 RSI: 0000560f3b497a4d RDI: 0000560f3b497bad RBP: 00007ffdea54f530 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000000 R12: 00007ffdea54f6a8 R13: 0000560f3b497bad R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10504 jiffies! g11285 f0x0 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:26688 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b88/0x5240 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 kernel/sched/core.c:6860 schedule_timeout+0x15b/0x2b0 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2e1/0x1340 kernel/rcu/tree.c:2046 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2248 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 62 Comm: kworker/u8:4 Not tainted 6.15.0-rc1-syzkaller-00198-gadf6b730fc8d #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x1bac/0x2d40 kernel/smp.c:885 Code: 03 84 c0 75 7e 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 18 e3 0b 00 41 83 e4 01 4c 8b 64 24 68 75 07 e8 c8 de 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00 RSP: 0018:ffffc90001547640 EFLAGS: 00000293 RAX: ffffffff81b786cd RBX: 1ffff110170c823d RCX: ffff88801bb63c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90001547840 R08: ffffffff81b78698 R09: 1ffffffff20bfc4e R10: dffffc0000000000 R11: fffffbfff20bfc4f R12: ffff8880b873ad08 R13: ffff8880b86411e8 R14: ffff8880b873ad00 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888125094000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d98fa00268 CR3: 000000000eb38000 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:1052 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2455 [inline] text_poke_bp_batch+0x354/0xb30 arch/x86/kernel/alternative.c:2665 text_poke_flush arch/x86/kernel/alternative.c:2856 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2863 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+0xc0/0x250 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd50 kernel/workqueue.c:3400 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245