rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=7ba4/1/0x4000000000000000 softirq=88267/88267 fqs=0 rcu: (detected by 0, t=10505 jiffies, g=55745, q=530 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 19912 Comm: syz.2.3022 Not tainted 6.13.0-rc2-syzkaller-00031-gf92f4749861b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:debug_smp_processor_id+0xb/0x20 lib/smp_processor_id.c:60 Code: 65 ff 0d 30 ea da 74 e9 40 ff ff ff 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 c7 c6 00 d2 d1 8b <48> c7 c7 40 d2 d1 8b e9 f9 fe ff ff 66 0f 1f 84 00 00 00 00 00 90 RSP: 0018:ffffc90000a18c38 EFLAGS: 00000083 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8175cd0c RDX: fffffbfff20be2bb RSI: ffffffff8bd1d200 RDI: ffffffff905f15d0 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff20be2ba R10: ffffffff905f15d7 R11: 0000000000000005 R12: 0000000000000000 R13: 000000000003d90c R14: 0000000000000001 R15: 0000000000000000 FS: 00007f47981776c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f31cff8 CR3: 0000000030436000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] rcu_is_watching+0x12/0xc0 kernel/rcu/tree.c:737 trace_lock_acquire+0x14e/0x1f0 include/trace/events/lock.h:24 lock_acquire+0x2f/0xb0 kernel/locking/lockdep.c:5820 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 debug_object_activate+0x149/0x4a0 lib/debugobjects.c:818 debug_hrtimer_activate kernel/time/hrtimer.c:428 [inline] debug_activate kernel/time/hrtimer.c:469 [inline] enqueue_hrtimer+0x25/0x3c0 kernel/time/hrtimer.c:1076 __run_hrtimer kernel/time/hrtimer.c:1756 [inline] __hrtimer_run_queues+0x903/0xae0 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865 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+0x18/0x70 kernel/kcov.c:213 Code: 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 74 d5 69 7e 65 8b 05 75 d5 69 7e a9 00 01 ff 00 <48> 8b 34 24 74 1d f6 c4 01 74 43 a9 00 00 0f 00 75 3c a9 00 00 f0 RSP: 0018:ffffc90003657648 EFLAGS: 00000246 RAX: 0000000080000001 RBX: ffffea0001220ec0 RCX: ffffc9000d5ec000 RDX: ffff8880768ec880 RSI: ffffffff81cfb3a5 RDI: ffffea0001220ec0 RBP: ffffc900036577a0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000000 R13: 000000000000008f R14: dffffc0000000000 R15: 1ffff920006caef7 folio_flags.constprop.0+0xa/0x70 include/linux/page-flags.h:316 folio_trylock include/linux/pagemap.h:1114 [inline] next_uptodate_folio+0x2ad/0x4a0 mm/filemap.c:3513 filemap_map_pages+0x648/0x16b0 mm/filemap.c:3687 do_fault_around mm/memory.c:5280 [inline] do_read_fault mm/memory.c:5313 [inline] do_fault mm/memory.c:5456 [inline] do_pte_missing+0xda6/0x3e00 mm/memory.c:3979 handle_pte_fault mm/memory.c:5801 [inline] __handle_mm_fault+0x103c/0x2a40 mm/memory.c:5944 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6112 faultin_page mm/gup.c:1196 [inline] __get_user_pages+0x8d9/0x3b50 mm/gup.c:1494 populate_vma_page_range+0x27f/0x3a0 mm/gup.c:1932 __mm_populate+0x1d6/0x380 mm/gup.c:2035 mm_populate include/linux/mm.h:3386 [inline] vm_mmap_pgoff+0x293/0x360 mm/util.c:585 ksys_mmap_pgoff+0x7d/0x5c0 mm/mmap.c:542 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:89 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:82 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:82 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:0x7f479737ff19 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:00007f4798177058 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f4797545fa0 RCX: 00007f479737ff19 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f47973f3cc8 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4797545fa0 R15: 00007fff48669f08 rcu: rcu_preempt kthread timer wakeup didn't happen for 10504 jiffies! g55745 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=105228 rcu: rcu_preempt kthread starved for 10505 jiffies! g55745 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:27488 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 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