rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 ticks this GP) idle=677/1/0x4000000000000000 softirq=46604/46604 fqs=0 (detected by 0, t=10502 jiffies, g=60445, q=50) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11524 Comm: syz.4.2239 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:debug_smp_processor_id+0xe/0x10 lib/smp_processor_id.c:60 Code: 00 00 00 00 48 c7 c7 a0 fc 92 8a e8 2c 01 00 00 65 ff 0d 01 33 d0 75 5b c3 cc cc cc 48 c7 c7 a0 f7 d8 8a 48 c7 c6 e0 f7 d8 8a 00 41 57 41 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 RSP: 0018:ffffc90000dd0b18 EFLAGS: 00000003 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8162ad0c RDX: 0000000000000000 RSI: ffffffff8ad8f7e0 RDI: ffffffff8ad8f7a0 RBP: ffffc90000dd0ca0 R08: dffffc0000000000 R09: fffffbfff1bd2986 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001ba170 R13: dffffc0000000000 R14: 0000000000000000 R15: 17f6127038000000 FS: 00007f88677906c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003a80 CR3: 000000007b3f8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline] rcu_is_watching+0x11/0xa0 kernel/rcu/tree.c:1123 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xdd/0x4f0 kernel/locking/lockdep.c:5594 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] advance_sched+0x6ce/0x940 net/sched/sch_taprio.c:769 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 f2 90 8d f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 97 c6 1a f7 65 8b 05 58 cb c5 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90002f678c0 EFLAGS: 00000206 RAX: a10255d4b5c42f00 RBX: 1ffff920005ecf1c RCX: ffffffff91467f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2a00 RDI: 0000000000000001 RBP: ffffc90002f67960 R08: ffffffff8186e200 R09: ffffed100c4d5392 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920005ecf18 R14: ffffc90002f678e0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline] timerfd_clock_was_set+0x1b3/0x2a0 fs/timerfd.c:113 clock_was_set+0x7e8/0x880 kernel/time/hrtimer.c:980 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1378 do_adjtimex+0x511/0xaa0 kernel/time/timekeeping.c:2427 do_clock_adjtime kernel/time/posix-timers.c:1154 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1166 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1157 [inline] __x64_sys_clock_adjtime+0x1dc/0x290 kernel/time/posix-timers.c:1157 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f88693329f9 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:00007f8867790038 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f88694c1058 RCX: 00007f88693329f9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f88693a08ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f88694c1058 R15: 00007ffd4e813268 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g60445 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=33382 rcu: rcu_preempt kthread starved for 10502 jiffies! g60445 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:26392 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11524 Comm: syz.4.2239 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0xc/0x60 kernel/kcov.c:197 Code: 89 fb e8 17 00 00 00 48 8b 3d 08 ed 68 0c 48 89 de 5b e9 c7 fc 48 00 cc cc cc cc cc cc cc 48 8b 04 24 65 48 8b 0d 54 0e 82 7e <65> 8b 15 55 0e 82 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 RSP: 0018:ffffc90000dd0bd8 EFLAGS: 00000046 RAX: ffffffff884a5020 RBX: 0000000000000001 RCX: ffff888075ac9dc0 RDX: ffff888075ac9dc0 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000dd0cb0 R08: ffffffff884a5016 R09: ffffed100f792432 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807bc92000 R13: dffffc0000000000 R14: 1ffff920001ba180 R15: 17f6238630000000 FS: 00007f88677906c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003a80 CR3: 000000007b3f8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __netif_schedule+0xc0/0x310 net/core/dev.c:3073 advance_sched+0x750/0x940 net/sched/sch_taprio.c:770 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 f2 90 8d f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 97 c6 1a f7 65 8b 05 58 cb c5 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90002f678c0 EFLAGS: 00000206 RAX: a10255d4b5c42f00 RBX: 1ffff920005ecf1c RCX: ffffffff91467f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2a00 RDI: 0000000000000001 RBP: ffffc90002f67960 R08: ffffffff8186e200 R09: ffffed100c4d5392 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920005ecf18 R14: ffffc90002f678e0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline] timerfd_clock_was_set+0x1b3/0x2a0 fs/timerfd.c:113 clock_was_set+0x7e8/0x880 kernel/time/hrtimer.c:980 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1378 do_adjtimex+0x511/0xaa0 kernel/time/timekeeping.c:2427 do_clock_adjtime kernel/time/posix-timers.c:1154 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1166 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1157 [inline] __x64_sys_clock_adjtime+0x1dc/0x290 kernel/time/posix-timers.c:1157 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f88693329f9 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:00007f8867790038 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f88694c1058 RCX: 00007f88693329f9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f88693a08ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f88694c1058 R15: 00007ffd4e813268