rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10499 ticks this GP) idle=b334/1/0x4000000000000000 softirq=14490/14490 fqs=0 (t=10500 jiffies g=13905 q=125 ncpus=2) rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g13905 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=7640 rcu: rcu_preempt kthread starved for 10500 jiffies! g13905 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25528 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2d2/0x1120 kernel/rcu/tree.c:1674 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1873 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5192 Comm: syz-executor.4 Not tainted 6.1.71-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1701 [inline] RIP: 0010:__hrtimer_run_queues+0x6ea/0xe50 kernel/time/hrtimer.c:1749 Code: 00 00 00 fc ff df 48 8b 5c 24 18 4c 89 e7 e8 7d e5 1a 09 31 ff 44 89 ee e8 d3 d0 10 00 45 85 ed 74 48 48 8b 84 24 b0 00 00 00 <42> 0f b6 04 38 84 c0 4c 8b 6c 24 38 48 8b 54 24 20 0f 85 93 02 00 RSP: 0018:ffffc90000007d60 EFLAGS: 00000002 RAX: 1ffff1100efa1e6f RBX: ffff8880b982a608 RCX: 0000000000000001 RDX: ffff888077e83b80 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000007eb0 R08: ffffffff8179c78d R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8880b982a4c0 R13: 0000000000000001 R14: ffff8880b982a4c0 R15: dffffc0000000000 FS: 00007f9244c4c6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efce6bad988 CR3: 00000000778a4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:finish_task_switch+0x1d3/0x810 kernel/sched/core.c:5124 Code: 37 0b 00 48 83 c4 08 4c 89 f7 e8 98 30 00 00 e9 8f 04 00 00 4c 89 f7 e8 3b 99 35 09 e8 16 3d 32 00 fb 49 8d bc 24 f8 15 00 00 <48> 89 f8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28 RSP: 0018:ffffc90009507788 EFLAGS: 00000282 RAX: cfe82a204677c400 RBX: ffff8880b983ab48 RCX: ffffffff91c88103 RDX: dffffc0000000000 RSI: ffffffff8aebe6c0 RDI: ffff888077e85178 RBP: ffffc900095077d0 R08: dffffc0000000000 R09: ffffed10173073c1 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888077e83b80 R13: 1ffff1101730756b R14: ffff8880b9839e00 R15: ffff8880b983ab58 context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1435/0x4550 kernel/sched/core.c:6558 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 try_to_wake_up+0x87e/0x12e0 kernel/sched/core.c:4234 wake_up_process kernel/sched/core.c:4362 [inline] wake_up_q+0x8b/0xd0 kernel/sched/core.c:1007 futex_wake+0x4ea/0x590 kernel/futex/waitwake.c:184 do_futex+0x375/0x490 kernel/futex/syscalls.c:111 __do_sys_futex kernel/futex/syscalls.c:183 [inline] __se_sys_futex+0x3d7/0x460 kernel/futex/syscalls.c:164 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9243e7cd29 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:00007f9244c4c178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f9243fabf88 RCX: 00007f9243e7cd29 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f9243fabf8c RBP: 00007f9243fabf80 R08: 0000000000000010 R09: 00007f9244c4c6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9243fabf8c R13: 000000000000000b R14: 00007ffdddaa4db0 R15: 00007ffdddaa4e98 CPU: 1 PID: 3944 Comm: kworker/u4:12 Not tainted 6.1.71-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline] RIP: 0010:smp_call_function_many_cond+0x1fb5/0x3460 kernel/smp.c:998 Code: e6 01 31 ff e8 0c 43 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 97 3f 0b 00 e9 1b ff ff ff f3 90 42 0f b6 04 2b <84> c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff e8 75 3f 0b 00 RSP: 0018:ffffc90003ac75a0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff1101730841d RCX: ffff888085b85940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003ac7980 R08: ffffffff817f5554 R09: fffffbfff2092045 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b98420e8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fada457a978 CR3: 000000000ce8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1329 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1529 text_poke_flush arch/x86/kernel/alternative.c:1720 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1727 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x480 mm/kfence/core.c:804 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306