rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=540c/1/0x4000000000000000 softirq=43004/43004 fqs=0 (detected by 0, t=10506 jiffies, g=61889, q=39 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10267 Comm: syz.3.2288 Not tainted 6.1.111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3719 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3738 [inline] RIP: 0010:validate_chain+0x189/0x5950 kernel/locking/lockdep.c:3793 Code: c1 e8 03 48 89 44 24 58 42 80 3c 20 00 74 08 48 89 df e8 ea f3 76 00 48 89 5c 24 28 48 8b 1b 48 85 db 74 48 48 83 c3 f8 74 42 <4c> 8d 7b 18 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 RSP: 0018:ffffc900001e07a0 EFLAGS: 00000097 RAX: 1ffffffff21cf5b3 RBX: ffffffff9131d460 RCX: ffffffff816b3d32 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff911dc388 RBP: ffffc900001e0a50 R08: dffffc0000000000 R09: fffffbfff223b872 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88807766c6a8 R14: 36ebd191eb010a01 R15: 1ffff1100eecd8d5 FS: 00007f7e6c1266c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 000000005febc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5049 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0x47/0x970 net/sched/sch_taprio.c:700 __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:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [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 f1 30 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 c7 37 ad f6 65 8b 05 98 2f 51 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc9000320fb60 EFLAGS: 00000206 RAX: 802ba03b7b626e00 RBX: 1ffff92000641f70 RCX: ffffffff816af0fa RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001 RBP: ffffc9000320fbf0 R08: dffffc0000000000 R09: fffffbfff223b845 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000641f6c R14: ffffc9000320fb80 R15: 0000000000000246 clock_was_set+0x177/0x900 kernel/time/hrtimer.c:971 do_settimeofday64+0x673/0x7e0 kernel/time/timekeeping.c:1345 __do_sys_clock_settime kernel/time/posix-timers.c:1124 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1112 [inline] __x64_sys_clock_settime+0x232/0x270 kernel/time/posix-timers.c:1112 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:0x7f7e6b37def9 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:00007f7e6c126038 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f7e6b535f80 RCX: 00007f7e6b37def9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000000 RBP: 00007f7e6b3f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7e6b535f80 R15: 00007ffd3d31e418 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g61889 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=34325 rcu: rcu_preempt kthread starved for 10506 jiffies! g61889 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:25528 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10267 Comm: syz.3.2288 Not tainted 6.1.111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:trace_lock_acquire include/trace/events/lock.h:24 [inline] RIP: 0010:lock_acquire+0xf3/0x5a0 kernel/locking/lockdep.c:5633 Code: 0d 0f 86 e4 02 00 00 89 db 48 89 d8 48 c1 e8 06 48 8d 3c c5 68 e5 99 8e be 08 00 00 00 e8 35 af 77 00 48 0f a3 1d 85 61 2f 0d <73> 0d e8 06 e5 08 00 84 c0 0f 84 b9 02 00 00 48 c7 c0 24 1a 9a 8e RSP: 0018:ffffc900001e0b60 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff816a83db RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e99e568 RBP: ffffc900001e0ca8 R08: dffffc0000000000 R09: fffffbfff1d33cae R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200003c174 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f7e6c1266c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 000000005febc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1693 [inline] __hrtimer_run_queues+0x6d3/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:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [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 f1 30 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 c7 37 ad f6 65 8b 05 98 2f 51 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc9000320fb60 EFLAGS: 00000206 RAX: 802ba03b7b626e00 RBX: 1ffff92000641f70 RCX: ffffffff816af0fa RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001 RBP: ffffc9000320fbf0 R08: dffffc0000000000 R09: fffffbfff223b845 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000641f6c R14: ffffc9000320fb80 R15: 0000000000000246 clock_was_set+0x177/0x900 kernel/time/hrtimer.c:971 do_settimeofday64+0x673/0x7e0 kernel/time/timekeeping.c:1345 __do_sys_clock_settime kernel/time/posix-timers.c:1124 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1112 [inline] __x64_sys_clock_settime+0x232/0x270 kernel/time/posix-timers.c:1112 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:0x7f7e6b37def9 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:00007f7e6c126038 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f7e6b535f80 RCX: 00007f7e6b37def9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000000 RBP: 00007f7e6b3f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7e6b535f80 R15: 00007ffd3d31e418