rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=703c/1/0x4000000000000000 softirq=37887/37888 fqs=28 rcu: (detected by 0, t=10502 jiffies, g=51213, q=499 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11184 Comm: kworker/1:18 Not tainted 6.2.0-rc3-next-20230112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_freezable_power_ sync_hw_clock RIP: 0010:__lock_acquire+0xc04/0x5660 kernel/locking/lockdep.c:5053 Code: 81 c3 60 3f 35 91 48 8d 7b 40 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 8b 37 00 00 48 83 7b 40 00 <0f> 84 77 0d 00 00 0f b7 44 24 18 8b 4c 24 58 8b 5c 24 40 c1 e0 0d RSP: 0018:ffffc900001e0a98 EFLAGS: 00000082 RAX: dffffc0000000000 RBX: ffffffff91353f60 RCX: ffffffff8163c123 RDX: 1ffffffff226a7f4 RSI: 0000000000000008 RDI: ffffffff91353fa0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff91353b47 R10: fffffbfff226a768 R11: 0000000000000000 R12: ffff88803626a7f0 R13: ffff888036269d40 R14: ffff88803626a778 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33424000 CR3: 000000001f524000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire.part.0+0x11a/0x350 kernel/locking/lockdep.c:5669 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3d/0x60 kernel/locking/spinlock.c:162 debug_object_activate+0x132/0x3e0 lib/debugobjects.c:665 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x2b/0x490 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0xa40/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x180/0x660 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 f6 84 5d f7 48 89 ef e8 1e f0 5d f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 7f 05 50 f7 65 8b 05 d0 25 fd 75 85 c0 74 0a 5b 5d c3 e8 9c aa RSP: 0018:ffffc90015a77be8 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff227e00e RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880b992b800 R08: 0000000000000001 R09: ffffffff91353ce7 R10: 0000000000000001 R11: 0000000000000001 R12: 1916fbabbf1a8b00 R13: 000000001dcd6500 R14: 000000006bc28096 R15: 1916fbab65b25c00 hrtimer_start include/linux/hrtimer.h:418 [inline] sched_sync_hw_clock kernel/time/ntp.c:519 [inline] sync_hw_clock+0x1fa/0x4d0 kernel/time/ntp.c:660 process_one_work+0x9bf/0x1750 kernel/workqueue.c:2293 worker_thread+0x669/0x1090 kernel/workqueue.c:2440 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: rcu_preempt kthread starved for 10446 jiffies! g51213 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:28544 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 15416 Comm: syz-executor.1 Not tainted 6.2.0-rc3-next-20230112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x4ee/0x1090 kernel/smp.c:987 Code: e6 e8 06 29 0b 00 45 85 e4 74 48 48 8b 04 24 49 89 c5 83 e0 07 49 c1 ed 03 49 89 c4 4d 01 fd 41 83 c4 03 e8 34 2c 0b 00 f3 90 <41> 0f b6 45 00 41 38 c4 7c 08 84 c0 0f 85 98 09 00 00 8b 43 08 31 RSP: 0018:ffffc900066c7a30 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9942a60 RCX: 0000000000000000 RDX: ffff88802338d7c0 RSI: ffffffff817690ac RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000094001 R12: 0000000000000003 R13: ffffed101732854d R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020180030 CR3: 00000000310c7000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:1155 __flush_tlb_multi arch/x86/include/asm/paravirt.h:87 [inline] flush_tlb_multi arch/x86/mm/tlb.c:924 [inline] flush_tlb_mm_range+0x333/0x4d0 arch/x86/mm/tlb.c:1010 tlb_flush arch/x86/include/asm/tlb.h:20 [inline] tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:458 [inline] tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:448 [inline] tlb_flush_mmu mm/mmu_gather.c:298 [inline] tlb_finish_mmu+0x338/0x7e0 mm/mmu_gather.c:391 exit_mmap+0x202/0x7c0 mm/mmap.c:3100 __mmput+0x128/0x4c0 kernel/fork.c:1212 mmput+0x60/0x70 kernel/fork.c:1234 exit_mm kernel/exit.c:563 [inline] do_exit+0x9ac/0x2a90 kernel/exit.c:854 do_group_exit+0xd4/0x2a0 kernel/exit.c:1012 __do_sys_exit_group kernel/exit.c:1023 [inline] __se_sys_exit_group kernel/exit.c:1021 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1021 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff83428c0c9 Code: Unable to access opcode bytes at 0x7ff83428c09f. RSP: 002b:00007fffcf1f61d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007ff83428c0c9 RDX: 00007ff83423df7b RSI: ffffffffffffffb8 RDI: 0000000000000000 RBP: 0000000000000000 R08: 000000002faee3c2 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007fffcf1f62c0