rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=0f0c/1/0x4000000000000000 softirq=105031/105032 fqs=2 rcu: (detected by 0, t=10502 jiffies, g=146605, q=11 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 30981 Comm: syz-executor.0 Not tainted 6.4.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0x3a/0xb0 kernel/rcu/tree.c:695 Code: e8 9b 56 3b 09 89 c3 83 f8 08 73 76 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd e0 58 a4 8c 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 1c f5 6e 00 48 c7 c3 c8 6a 03 00 49 03 1e 48 89 RSP: 0018:ffffc900001e0b20 EFLAGS: 00000046 RAX: 1ffffffff1948b1d RBX: 0000000000000001 RCX: ffffffff816b3b80 RDX: 0000000000000000 RSI: ffffffff8b3844a0 RDI: ffffffff8b384460 RBP: ffffc900001e0c70 R08: dffffc0000000000 R09: fffffbfff1cabaae R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200003c174 R13: ffffffff88d29d6d R14: ffffffff8ca458e8 R15: dffffc0000000000 FS: 00007f397f6bc700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 000000006e010000 CR4: 00000000003506e0 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/0x9d0 kernel/locking/lockdep.c:5716 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:390 [inline] advance_sched+0x9bd/0xc80 net/sched/sch_taprio.c:986 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x59f/0xd10 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x13f/0x480 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 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 5e d6 29 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 53 7e a5 f6 65 8b 05 54 37 4a 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc9000581fa00 EFLAGS: 00000206 RAX: 56a380ec6158da00 RBX: 1ffff92000b03f44 RCX: ffffffff91b22103 RDX: dffffc0000000000 RSI: ffffffff8aea8e00 RDI: 0000000000000001 RBP: ffffc9000581fa90 R08: dffffc0000000000 R09: fffffbfff1cabaae R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000b03f40 R14: ffffc9000581fa20 R15: 0000000000000246 try_to_wake_up+0x7b3/0x1230 kernel/sched/core.c:4309 wake_up_process kernel/sched/core.c:4441 [inline] wake_up_q+0x8f/0xe0 kernel/sched/core.c:1029 futex_wake+0x4ee/0x590 kernel/futex/waitwake.c:184 do_futex+0x37f/0x530 kernel/futex/syscalls.c:111 __do_sys_futex kernel/futex/syscalls.c:183 [inline] __se_sys_futex+0x3f8/0x480 kernel/futex/syscalls.c:164 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f397e88c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f397f6bc218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f397e9abf88 RCX: 00007f397e88c169 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f397e9abf8c RBP: 00007f397e9abf80 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f397e9abf8c R13: 00007ffcc61574bf R14: 00007f397f6bc300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 10497 jiffies! g146605 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:26104 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1609 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1808 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 5246 Comm: kworker/u4:12 Not tainted 6.4.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:285 [inline] RIP: 0010:smp_call_function_many_cond+0x14fb/0x1f60 kernel/smp.c:828 Code: 45 8b 34 24 44 89 f6 83 e6 01 31 ff e8 5e 0f 0b 00 41 83 e6 01 49 be 00 00 00 00 00 fc ff df 75 07 e8 99 0b 0b 00 eb 38 f3 90 <42> 0f b6 04 33 84 c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 7d 0b RSP: 0018:ffffc900050777c0 EFLAGS: 00000293 RAX: ffffffff81807423 RBX: 1ffff110173285c5 RCX: ffff88804e068000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900050779c0 R08: ffffffff818073f2 R09: fffffbfff206544d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9942e28 R13: ffff8880b983d308 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020044030 CR3: 000000000cd30000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:996 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1770 [inline] text_poke_bp_batch+0x2bf/0x950 arch/x86/kernel/alternative.c:1970 text_poke_flush arch/x86/kernel/alternative.c:2161 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x132/0x250 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:831 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308