rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P11614/1:b..l rcu: (detected by 1, t=10502 jiffies, g=54033, q=229 ncpus=2) task:syz.2.2345 state:R running task stack:24672 pid:11614 tgid:11614 ppid:5082 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6924 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6948 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1676 [inline] zap_pmd_range mm/memory.c:1724 [inline] zap_pud_range mm/memory.c:1753 [inline] zap_p4d_range mm/memory.c:1774 [inline] unmap_page_range+0x3631/0x40f0 mm/memory.c:1795 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1885 exit_mmap+0x264/0xc80 mm/mmap.c:3341 __mmput+0x115/0x3c0 kernel/fork.c:1346 exit_mm+0x220/0x310 kernel/exit.c:567 do_exit+0x9aa/0x27e0 kernel/exit.c:863 do_group_exit+0x207/0x2c0 kernel/exit.c:1025 __do_sys_exit_group kernel/exit.c:1036 [inline] __se_sys_exit_group kernel/exit.c:1034 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1034 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:0x7fb8c2b75bd9 RSP: 002b:00007ffc217d5af8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007ffc217d5bf0 RCX: 00007fb8c2b75bd9 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 00000004217d5c2f R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g54033 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=31159 rcu: rcu_preempt kthread starved for 10500 jiffies! g54033 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 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: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11558 Comm: syz.1.2319 Not tainted 6.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:do_raw_write_seqcount_barrier include/linux/seqlock.h:567 [inline] RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1667 [inline] RIP: 0010:__hrtimer_run_queues+0x33e/0xd50 kernel/time/hrtimer.c:1753 Code: 28 00 74 08 48 89 df e8 d0 15 75 00 4c 89 33 48 8b 54 24 18 48 89 d6 48 c1 ee 03 42 0f b6 04 2e 84 c0 0f 85 dd 04 00 00 ff 02 <48> 89 74 24 60 42 0f b6 04 2e 84 c0 0f 85 f3 04 00 00 ff 02 4c 89 RSP: 0018:ffffc90000007d60 EFLAGS: 00000006 RAX: 0000000000000000 RBX: ffff8880b942c9c8 RCX: ffff888027193c00 RDX: ffff8880b942c990 RSI: 1ffff11017285932 RDI: ffffffff8c1f14e0 RBP: ffffc90000007ea8 R08: ffffffff8183b0b3 R09: 1ffffffff1f583a5 R10: dffffc0000000000 R11: fffffbfff1f583a6 R12: 1ffff1101728593b R13: dffffc0000000000 R14: ffff8880788e4340 R15: ffff8880b942c980 FS: 000055558b117500(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31fd6ff8 CR3: 0000000073ea2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 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 0e 82 70 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 43 8c dd f5 65 8b 05 04 c4 7b 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc9001406fb80 EFLAGS: 00000206 RAX: fe01d6282713ca00 RBX: 1ffff9200280df74 RCX: ffffffff94769603 RDX: dffffc0000000000 RSI: ffffffff8bcabb20 RDI: 0000000000000001 RBP: ffffc9001406fc10 R08: ffffffff8fac1d2f R09: 1ffffffff1f583a5 R10: dffffc0000000000 R11: fffffbfff1f583a6 R12: dffffc0000000000 R13: 1ffff9200280df70 R14: ffffc9001406fba0 R15: 0000000000000246 hrtimer_start_expires include/linux/hrtimer.h:289 [inline] hrtimer_sleeper_start_expires kernel/time/hrtimer.c:1951 [inline] do_nanosleep+0x158/0x600 kernel/time/hrtimer.c:2027 hrtimer_nanosleep+0x227/0x470 kernel/time/hrtimer.c:2083 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep+0x32b/0x3c0 kernel/time/posix-timers.c:1373 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:0x7f60b75a7bc5 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 c6 57 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 1f 58 ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007fff56408090 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f60b75a7bc5 RDX: 00007fff564080d0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000006 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000072b1d R13: 0000000000000032 R14: 00007f60b7705a60 R15: 00007fff564081e0