rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=d954/1/0x4000000000000000 softirq=80970/80986 fqs=1333 rcu: (detected by 0, t=10502 jiffies, g=91909, q=306 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 22716 Comm: syz.8.5183 Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:lock_acquire.part.0+0xe6/0x380 kernel/locking/lockdep.c:5825 Code: 95 dc 0a 00 00 85 d2 0f 85 d5 00 00 00 44 89 44 24 04 89 0c 24 9c 5d fa 48 c7 c7 80 d2 6c 8b e8 40 20 b9 09 44 89 e2 44 89 f6 <4c> 89 ef 65 ff 05 b8 de 97 7e 6a 00 81 e5 00 02 00 00 6a 00 41 0f RSP: 0018:ffffc90000a18c88 EFLAGS: 00000082 RAX: 0000000000000001 RBX: 1ffff92000143192 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8bd1b6c0 RBP: 0000000000000046 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff905f5d8f R11: 0000000000000000 R12: 0000000000000000 R13: ffff888022aea300 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f999336f6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32312ff8 CR3: 0000000029096000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xd8/0xc60 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_pc+0x46/0x70 kernel/kcov.c:220 Code: 74 1d f6 c4 01 74 43 a9 00 00 0f 00 75 3c a9 00 00 f0 00 75 35 8b 82 1c 16 00 00 85 c0 74 2b 8b 82 f8 15 00 00 83 f8 02 75 20 <48> 8b 8a 00 16 00 00 8b 92 fc 15 00 00 48 8b 01 48 83 c0 01 48 39 RSP: 0018:ffffc9000b80f658 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffffffff81c239e6 RDX: ffff8880363ca440 RSI: ffffffff81c23b6b RDI: 0000000000000005 RBP: ffffea0001156580 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 000000000000006f R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92001701efb rcu_read_lock include/linux/rcupdate.h:850 [inline] page_ref_add_unless.constprop.0+0x1cb/0x390 include/linux/page_ref.h:235 folio_ref_add_unless include/linux/page_ref.h:248 [inline] folio_try_get include/linux/page_ref.h:264 [inline] next_uptodate_folio+0xf6/0x4b0 mm/filemap.c:3505 filemap_map_pages+0x1c6/0x16a0 mm/filemap.c:3645 do_fault_around mm/memory.c:5255 [inline] do_read_fault mm/memory.c:5288 [inline] do_fault mm/memory.c:5431 [inline] do_pte_missing+0xdae/0x3e70 mm/memory.c:3965 handle_pte_fault mm/memory.c:5766 [inline] __handle_mm_fault+0x100a/0x2a10 mm/memory.c:5909 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6077 faultin_page mm/gup.c:1187 [inline] __get_user_pages+0x8d9/0x3b50 mm/gup.c:1485 populate_vma_page_range+0x27f/0x3a0 mm/gup.c:1923 __mm_populate+0x1d6/0x380 mm/gup.c:2026 mm_populate include/linux/mm.h:3371 [inline] vm_mmap_pgoff+0x293/0x360 mm/util.c:593 ksys_mmap_pgoff+0x7d/0x5c0 mm/mmap.c:542 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:79 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:79 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f999257e719 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:00007f999336f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f9992735f80 RCX: 00007f999257e719 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f99925f175e R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9992735f80 R15: 00007fff83d83f58 rcu: rcu_preempt kthread starved for 7835 jiffies! g91909 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:26128 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6785 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 0 Comm: swapper/0 Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:92 [inline] RIP: 0010:acpi_safe_halt+0x1a/0x20 drivers/acpi/processor_idle.c:112 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 65 48 8b 05 d8 fa df 74 48 8b 00 a8 08 75 0c 66 90 0f 00 2d 68 63 b9 00 fb f4 c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffffff8de07d70 EFLAGS: 00000246 RAX: 0000000000004000 RBX: 0000000000000001 RCX: ffffffff8b23c459 RDX: 0000000000000001 RSI: ffff888144af0000 RDI: ffff888144af0064 RBP: ffff888144af0064 R08: 0000000000000001 R09: ffffed10170c7025 R10: ffff8880b863812b R11: 0000000000000000 R12: ffff888147ec9000 R13: ffffffff8ee125e0 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1313dffffc CR3: 000000007d700000 CR4: 00000000003526f0 DR0: 0000000100000000 DR1: 0000000000000002 DR2: 0000000100000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: acpi_idle_enter+0xc5/0x160 drivers/acpi/processor_idle.c:702 cpuidle_enter_state+0xaa/0x4f0 drivers/cpuidle/cpuidle.c:264 cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:385 cpuidle_idle_call kernel/sched/idle.c:230 [inline] do_idle+0x313/0x3f0 kernel/sched/idle.c:326 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:424 rest_init+0x16b/0x2b0 init/main.c:747 start_kernel+0x3e4/0x4d0 init/main.c:1105 x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0xb2/0xc0 arch/x86/kernel/head64.c:488 common_startup_64+0x13e/0x148