rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (2 ticks this GP) idle=c46c/1/0x4000000000000000 softirq=6399/6401 fqs=1 rcu: (detected by 1, t=10502 jiffies, g=7613, q=108 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5080 Comm: syz-executor534 Not tainted 6.8.0-rc5-syzkaller-00329-gab0a97cffa0b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:223 [inline] RIP: 0010:__lock_acquire+0xeeb/0x1fd0 kernel/locking/lockdep.c:5133 Code: 0a 70 14 0e 00 4d 89 fc 0f 85 63 04 00 00 48 83 7c 24 30 00 0f 84 52 03 00 00 48 8b 44 24 48 48 8d 58 f8 48 89 d8 48 c1 e8 03 <0f> b6 04 38 84 c0 0f 85 7f 0e 00 00 8b 1b 81 e3 ff 1f 00 00 48 89 RSP: 0018:ffffc90000007a30 EFLAGS: 00000016 RAX: 1ffff1100fc4315c RBX: ffff88807e218ae0 RCX: 0000000001ba48fd RDX: 000000004e47865c RSI: 0000000002c1e137 RDI: dffffc0000000000 RBP: bae15fa8ab7cafc1 R08: ffffffff92c8d4ff R09: 1ffffffff2591a9f R10: dffffc0000000000 R11: fffffbfff2591aa0 R12: ffff88807e218000 R13: ffff88807e218000 R14: 0000000000000001 R15: ffff88807e218000 FS: 00005555563f7380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 000000001ec88000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xab/0xca0 net/sched/sch_taprio.c:935 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x596/0xd00 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x109/0x3a0 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x92/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 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 ae b0 83 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 a3 6c f2 f5 65 8b 05 24 de 91 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc900043f7900 EFLAGS: 00000206 RAX: 5591fdbf8ade3d00 RBX: 1ffff9200087ef24 RCX: ffffffff8171893a RDX: dffffc0000000000 RSI: ffffffff8baab660 RDI: 0000000000000001 RBP: ffffc900043f7990 R08: ffffffff92c8d427 R09: 1ffffffff2591a84 R10: dffffc0000000000 R11: fffffbfff2591a85 R12: dffffc0000000000 R13: 1ffff9200087ef20 R14: ffffc900043f7920 R15: 0000000000000246 clock_was_set+0x6a1/0x830 kernel/time/hrtimer.c:972 timekeeping_inject_offset+0x4e8/0x580 kernel/time/timekeeping.c:1395 do_adjtimex+0x515/0xab0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1159 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1171 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1162 [inline] __x64_sys_clock_adjtime+0x1e3/0x290 kernel/time/posix-timers.c:1162 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f2b5a96dee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 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:00007ffe782c3e78 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f2b5a96dee9 RDX: 00007f2b5a96dee9 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000100000000 R10: 0000000100000000 R11: 0000000000000246 R12: 00007ffe782c3ed0 R13: 0000000000000001 R14: 00007ffe782c3ed0 R15: 0000000000000003 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.477 msecs rcu: rcu_preempt kthread starved for 10500 jiffies! g7613 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:25496 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2183 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 59 Comm: kworker/u4:4 Not tainted 6.8.0-rc5-syzkaller-00329-gab0a97cffa0b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1855/0x2960 kernel/smp.c:855 Code: 89 e6 83 e6 01 31 ff e8 99 d4 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 44 d0 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 28 d0 0b 00 eb e4 44 RSP: 0018:ffffc900015a7720 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff110172888c1 RCX: ffff888016781dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900015a7920 R08: ffffffff81879cf7 R09: 1ffffffff2591a84 R10: dffffc0000000000 R11: fffffbfff2591a85 R12: dffffc0000000000 R13: ffff8880b9444608 R14: ffff8880b953da80 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2b5a9bb3b0 CR3: 000000000df32000 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:2087 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2297 text_poke_flush arch/x86/kernel/alternative.c:2488 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2495 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:2633 [inline] process_scheduled_works+0x915/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242