rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=e92c/1/0x4000000000000000 softirq=127785/127795 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=195445, q=161 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 30786 Comm: syz-executor.2 Not tainted 6.5.0-rc3-syzkaller-00283-g12214540ad87 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:raw_atomic_try_cmpxchg_acquire include/linux/atomic/atomic-arch-fallback.h:2155 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1296 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] RIP: 0010:do_raw_spin_lock+0x16d/0x3a0 kernel/locking/spinlock_debug.c:115 Code: be 04 00 00 00 e8 03 03 78 00 41 0f b6 44 1d 00 84 c0 48 89 da 0f 85 b5 01 00 00 8b 44 24 60 b9 01 00 00 00 f0 41 0f b1 0c 24 <0f> 85 db 00 00 00 65 8b 1d a2 d7 96 7e 41 0f b6 04 17 84 c0 0f 85 RSP: 0018:ffffc900001e0ba0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc900001e0c00 RBP: ffffc900001e0c80 R08: 0000000000000003 R09: fffff5200003c180 R10: dffffc0000000000 R11: fffff5200003c180 R12: ffff8880328842e8 R13: 1ffff9200003c180 R14: ffffc900001e0c00 R15: 1ffff1100651085e FS: 00007f4a2658b6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a2658bd58 CR3: 000000004c0b2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xae/0xc80 net/sched/sch_taprio.c:935 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x59f/0xd10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x13f/0x480 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1109 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 fe 09 1e f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 c3 68 98 f6 65 8b 05 84 e0 3c 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc900035cf900 EFLAGS: 00000206 RAX: 9e2271c0abce3400 RBX: 1ffff920006b9f24 RCX: ffffffff816c3cea RDX: dffffc0000000000 RSI: ffffffff8b0a90c0 RDI: 0000000000000001 RBP: ffffc900035cf990 R08: ffffffff907b1307 R09: 1ffffffff20f6260 R10: dffffc0000000000 R11: fffffbfff20f6261 R12: dffffc0000000000 R13: 1ffff920006b9f20 R14: ffffc900035cf920 R15: 0000000000000246 clock_was_set+0x6a1/0x830 kernel/time/hrtimer.c:972 timekeeping_inject_offset+0x663/0x710 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+0x1e0/0x290 kernel/time/posix-timers.c:1162 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:0x7f4a2587cb29 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:00007f4a2658b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f4a2599c050 RCX: 00007f4a2587cb29 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f4a258c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f4a2599c050 R15: 00007ffdd6ef5df8 rcu: rcu_preempt kthread starved for 10502 jiffies! g195445 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:25984 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 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:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 30724 Comm: syz-executor.5 Not tainted 6.5.0-rc3-syzkaller-00283-g12214540ad87 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline] RIP: 0010:smp_call_function_many_cond+0x1856/0x27d0 kernel/smp.c:835 Code: 03 84 c0 75 7e 45 8b 2c 24 44 89 ee 83 e6 01 31 ff e8 de 17 0b 00 41 83 e5 01 4c 8b 6c 24 60 75 07 e8 1e 14 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 04 24 RSP: 0018:ffffc900034df8a0 EFLAGS: 00000293 RAX: ffffffff81810217 RBX: 1ffff1101732857d RCX: ffff88802bd89dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900034dfaa0 R08: ffffffff818101e2 R09: 1ffffffff20f6260 R10: dffffc0000000000 R11: fffffbfff20f6261 R12: ffff8880b9942be8 R13: ffff8880b983d0c8 R14: ffff8880b983d0c0 R15: 0000000000000001 FS: 0000555556b4a480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 000000002c7a5000 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:1003 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2001 [inline] text_poke_bp_batch+0x2d7/0x960 arch/x86/kernel/alternative.c:2211 text_poke_flush arch/x86/kernel/alternative.c:2402 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2409 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xce/0x1b0 kernel/jump_label.c:235 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 tracepoint_remove_func kernel/tracepoint.c:417 [inline] tracepoint_probe_unregister+0x6ea/0x980 kernel/tracepoint.c:551 bpf_raw_tp_link_release+0x63/0x90 kernel/bpf/syscall.c:3275 bpf_link_free kernel/bpf/syscall.c:2840 [inline] bpf_link_put_direct+0x11c/0x1b0 kernel/bpf/syscall.c:2871 bpf_link_release+0x3b/0x40 kernel/bpf/syscall.c:2878 __fput+0x3f8/0x950 fs/file_table.c:384 task_work_run+0x24a/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f31de27ba1a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffc07681780 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f31de27ba1a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000032 R08: 0000001b2ca20000 R09: 0000000000000011 R10: 00000000813326bd R11: 0000000000000293 R12: 00007f31dde033c8 R13: ffffffffffffffff R14: 00007f31dde00000 R15: 000000000024550d