rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=7514/1/0x4000000000000000 softirq=237125/237127 fqs=0 rcu: (detected by 0, t=10506 jiffies, g=376769, q=256 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 18895 Comm: syz-executor.0 Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0x17/0xb0 kernel/rcu/tree.c:700 Code: 00 00 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 68 78 87 7e e8 9b ef 03 0a 89 c3 <83> f8 08 73 7a 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd e0 f9 d4 RSP: 0018:ffffc90000a08d20 EFLAGS: 00000082 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8183bb9d RDX: ffff88807c931e00 RSI: ffffffff8c1f80c0 RDI: ffffffff8c1f8080 RBP: 0000000000000001 R08: ffffffff8183bbc3 R09: 1ffffffff1f51ef5 R10: dffffc0000000000 R11: fffffbfff1f51ef6 R12: 1ffff110172a593b R13: dffffc0000000000 R14: ffff88807cf2f340 R15: ffff8880b952c980 FS: 00007f30cd0066c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200000c0 CR3: 0000000032502000 CR4: 0000000000350ef0 Call Trace: trace_hrtimer_cancel include/trace/events/timer.h:317 [inline] debug_deactivate+0x8d/0x220 kernel/time/hrtimer.c:485 __run_hrtimer kernel/time/hrtimer.c:1660 [inline] __hrtimer_run_queues+0x30f/0xd50 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:futex_match kernel/futex/futex.h:215 [inline] RIP: 0010:futex_wake+0x29a/0x5c0 kernel/futex/waitwake.c:182 Code: c7 30 74 c7 48 89 5c 24 18 49 8d 5c 24 38 48 89 d8 48 c1 e8 03 4d 89 ee 42 80 3c 28 00 74 08 48 89 df e8 d9 23 71 00 4c 8b 2b <48> 8b 44 24 58 42 80 3c 30 00 74 0a 48 8b 7c 24 48 e8 c0 23 71 00 RSP: 0018:ffffc90003fffbe0 EFLAGS: 00000246 RAX: 1ffff920006ddf66 RBX: ffffc900036efb30 RCX: ffffc90003fffc70 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc90003fffb60 RBP: ffffc90003fffd10 R08: 0000000000000003 R09: fffff520007fff6c R10: dffffc0000000000 R11: fffff520007fff6c R12: ffffc900036efaf8 R13: 00007f30cc3ab000 R14: dffffc0000000000 R15: ffffc900036efb28 do_futex+0x392/0x560 kernel/futex/syscalls.c:107 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex+0x3f9/0x480 kernel/futex/syscalls.c:160 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f30cc27dca9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f30cd006178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f30cc3abf88 RCX: 00007f30cc27dca9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f30cc3abf8c RBP: 00007f30cc3abf80 R08: 00007f30cd0070b0 R09: 00007f30cd0066c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f30cc3abf8c R13: 000000000000000b R14: 00007ffd2e9bf7b0 R15: 00007ffd2e9bf898 rcu: rcu_preempt kthread starved for 10506 jiffies! g376769 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:24560 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f2/0x390 kernel/kthread.c:388 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 PID: 28089 Comm: kworker/u8:0 Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1894/0x2a00 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 15 db 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c0 d6 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 a4 d6 RSP: 0018:ffffc9000497f6e0 EFLAGS: 00000293 RAX: ffffffff818a31dc RBX: 1ffff110172a8869 RCX: ffff88803c423c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000497f8e0 R08: ffffffff818a31ab R09: 1ffffffff25e6aa0 R10: dffffc0000000000 R11: fffffbfff25e6aa1 R12: dffffc0000000000 R13: ffff8880b9544348 R14: ffff8880b943f7c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3f8eed66e4 CR3: 000000000e134000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2086 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2296 text_poke_flush arch/x86/kernel/alternative.c:2487 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2494 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0xa12/0x17c0 kernel/workqueue.c:3348 worker_thread+0x86d/0xd70 kernel/workqueue.c:3429 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244