rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=fc64/1/0x4000000000000000 softirq=38990/38993 fqs=27 (detected by 1, t=10502 jiffies, g=54241, q=519 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10296 Comm: syz.4.1730 Tainted: G W 6.1.120-syzkaller-00773-g52f863f820fd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:116 [inline] RIP: 0010:lock_release+0xee/0xa20 kernel/locking/lockdep.c:5675 Code: 5f 77 00 48 0f a3 1d f9 3d 30 0d 73 0d e8 9a bf 08 00 84 c0 0f 84 c5 05 00 00 48 c7 c0 f4 3a 9b 8e 48 c1 e8 03 42 0f b6 04 38 <84> c0 0f 85 cd 05 00 00 83 3d 97 72 30 0d 00 0f 84 2b 05 00 00 65 RSP: 0018:ffffc90000007b80 EFLAGS: 00000803 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff816ac827 RDX: 0000000000000000 RSI: ffffffff8b5e64e0 RDI: ffffffff8b5e64a0 RBP: ffffc90000007cb0 R08: dffffc0000000000 R09: fffffbfff1d360c6 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000f7c R13: ffffffff88dae350 R14: dffffc0000000000 R15: dffffc0000000000 FS: 00007fe7927d16c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcc42a7b5e8 CR3: 0000000063fff000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:355 [inline] rcu_read_unlock include/linux/rcupdate.h:824 [inline] advance_sched+0x800/0x970 net/sched/sch_taprio.c:755 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: a1 95 f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ae 28 ae f6 48 89 df e8 a6 66 af f6 e8 31 be d4 f6 fb bf 01 00 00 00 b6 f0 a1 f6 65 8b 05 77 d0 45 75 85 c0 74 02 5b c3 e8 24 f4 43 RSP: 0018:ffffc90004b17d20 EFLAGS: 00000282 RAX: 047446785c437800 RBX: ffff888025452c88 RCX: ffffffff97355103 RDX: dffffc0000000000 RSI: ffffffff8b0c0360 RDI: 0000000000000001 RBP: 00000000ffffff83 R08: dffffc0000000000 R09: ffffed1004a8a592 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888025452c00 R13: 7fffffffffffffff R14: ffff888025452c80 R15: 0000000000000003 spin_unlock_irq include/linux/spinlock.h:401 [inline] do_timerfd_settime+0xd1a/0x1000 fs/timerfd.c:521 __do_sys_timerfd_settime fs/timerfd.c:567 [inline] __se_sys_timerfd_settime fs/timerfd.c:558 [inline] __x64_sys_timerfd_settime+0x16b/0x220 fs/timerfd.c:558 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fe791985d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe7927d1038 EFLAGS: 00000246 ORIG_RAX: 000000000000011e RAX: ffffffffffffffda RBX: 00007fe791b75fa0 RCX: 00007fe791985d29 RDX: 0000000020000000 RSI: 0000000000000003 RDI: 0000000000000003 RBP: 00007fe791a01a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe791b75fa0 R15: 00007ffffb1a6ce8 rcu: rcu_preempt kthread timer wakeup didn't happen for 10446 jiffies! g54241 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=21933 rcu: rcu_preempt kthread starved for 10447 jiffies! g54241 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25624 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 10310 Comm: syz.7.1733 Tainted: G W 6.1.120-syzkaller-00773-g52f863f820fd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline] RIP: 0010:smp_call_function_many_cond+0x1fae/0x3460 kernel/smp.c:998 Code: 2f 44 89 ee 83 e6 01 31 ff e8 0e 44 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 99 40 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 RSP: 0018:ffffc90004af77e0 EFLAGS: 00000246 RAX: ffffffff817f5bf9 RBX: 1ffff110171c8595 RCX: 0000000000080000 RDX: ffffc9001785d000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc90004af7bc0 R08: ffffffff817f5bc2 R09: fffffbfff2249c4d R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b8e42ca8 FS: 00007fa1773706c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa17736ff98 CR3: 0000000056fae000 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:1334 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1534 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1732 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_slow_inc_cpuslocked+0x7c/0xe0 kernel/jump_label.c:165 static_key_slow_inc+0x16/0x30 kernel/jump_label.c:188 bpf_enable_runtime_stats kernel/bpf/syscall.c:4855 [inline] bpf_enable_stats+0xfe/0x140 kernel/bpf/syscall.c:4874 __sys_bpf+0x60a/0x6c0 kernel/bpf/syscall.c:5103 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline] __se_sys_bpf kernel/bpf/syscall.c:5122 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fa176585d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa177370038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fa176775fa0 RCX: 00007fa176585d29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000020 RBP: 00007fa176601a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fa176775fa0 R15: 00007ffc9ec3f448