rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 ticks this GP) idle=9234/1/0x4000000000000000 softirq=27271/27271 fqs=9 rcu: (detected by 0, t=10502 jiffies, g=25233, q=433 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 8988 Comm: syz.3.790 Not tainted 6.12.0-next-20241120-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3817 [inline] RIP: 0010:validate_chain+0x1cb/0x5920 kernel/locking/lockdep.c:3872 Code: 8d 1c c5 c0 a7 df 93 48 89 d8 48 c1 e8 03 48 89 44 24 68 42 80 3c 20 00 74 08 48 89 df e8 3d 07 8f 00 48 89 5c 24 48 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 RSP: 0018:ffffc90000a18740 EFLAGS: 00000046 RAX: 1ffffffff2827f00 RBX: ffffffff9428c8e8 RCX: ffffffff817b63be RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9428a888 RBP: ffffc90000a18a40 R08: ffffffff9428a88f R09: 1ffffffff2851511 R10: dffffc0000000000 R11: fffffbfff2851512 R12: dffffc0000000000 R13: ffff88802c8ba928 R14: 35a08aec8a9222e9 R15: 0000000000000001 FS: 00007f9b09df46c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9b09df3f98 CR3: 000000006ccb8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5226 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1743 [inline] __hrtimer_run_queues+0x670/0xd50 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 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 5e 5a 3f f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 c3 71 a2 f5 65 8b 05 a4 c4 38 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc900159178c0 EFLAGS: 00000206 RAX: 0df4773a8f8f2400 RBX: 1ffff92002b22f1c RCX: ffffffff9a391903 RDX: dffffc0000000000 RSI: ffffffff8c0a9640 RDI: 0000000000000001 RBP: ffffc90015917958 R08: ffffffff90185bf7 R09: 1ffffffff2030b7e R10: dffffc0000000000 R11: fffffbfff2030b7f R12: dffffc0000000000 R13: 1ffff92002b22f18 R14: ffffc900159178e0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] timerfd_clock_was_set+0x1e0/0x2f0 fs/timerfd.c:111 clock_was_set+0x78e/0x810 kernel/time/hrtimer.c:969 timekeeping_inject_offset+0x3d2/0x520 kernel/time/timekeeping.c:1497 do_adjtimex+0x5b1/0xb10 kernel/time/timekeeping.c:2596 do_clock_adjtime kernel/time/posix-timers.c:1165 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1177 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1168 [inline] __x64_sys_clock_adjtime+0x1e1/0x290 kernel/time/posix-timers.c:1168 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9b08f7e819 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:00007f9b09df4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f9b09136080 RCX: 00007f9b08f7e819 RDX: 0000000000000000 RSI: 0000000020000480 RDI: 0000000000000000 RBP: 00007f9b08ff175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9b09136080 R15: 00007fff50ba8158 rcu: rcu_preempt kthread starved for 10460 jiffies! g25233 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:25872 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 8987 Comm: syz.1.781 Not tainted 6.12.0-next-20241120-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19fc/0x2ca0 kernel/smp.c:884 Code: 01 31 ff e8 36 ea 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 e1 e5 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 c5 e5 0b 00 eb e4 44 89 e9 80 e1 RSP: 0018:ffffc90002f5efc0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff110170e88e9 RCX: ffff888034c9da00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90002f5f1c0 R08: ffffffff819394ca R09: 1ffff920005ebde8 R10: dffffc0000000000 R11: ffffffff814d6520 R12: dffffc0000000000 R13: ffff8880b8744748 R14: ffff8880b863fac0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2442370906 CR3: 0000000061510000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 __flush_tlb_multi arch/x86/include/asm/paravirt.h:91 [inline] flush_tlb_multi arch/x86/mm/tlb.c:938 [inline] flush_tlb_mm_range+0x329/0x5c0 arch/x86/mm/tlb.c:1024 tlb_flush arch/x86/include/asm/tlb.h:20 [inline] tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:465 [inline] zap_pte_range mm/memory.c:1702 [inline] zap_pmd_range mm/memory.c:1753 [inline] zap_pud_range mm/memory.c:1782 [inline] zap_p4d_range mm/memory.c:1803 [inline] unmap_page_range+0x365f/0x4230 mm/memory.c:1824 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1914 exit_mmap+0x292/0xcb0 mm/mmap.c:1667 __mmput+0x115/0x390 kernel/fork.c:1344 exit_mm+0x220/0x310 kernel/exit.c:570 do_exit+0x9b2/0x28e0 kernel/exit.c:925 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3016 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f55f4b7e819 Code: Unable to access opcode bytes at 0x7f55f4b7e7ef. RSP: 002b:00007f55f59b6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffff83 RBX: 00007f55f4d36080 RCX: 00007f55f4b7e819 RDX: 0000000020000180 RSI: 00000000c4009420 RDI: 0000000000000006 RBP: 00007f55f4bf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f55f4d36080 R15: 00007ffdda7fa5b8