rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=11375 jiffies, g=13465, q=1305) rcu: All QSes seen, last rcu_preempt kthread activity 6064 (4294960644-4294954580), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 6064 jiffies! g13465 f0x2 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:26712 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 5233 Comm: sed Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:592 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0xa38/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:xa_entry include/linux/xarray.h:1182 [inline] RIP: 0010:xas_descend+0x135/0x3a0 lib/xarray.c:204 Code: 00 00 00 fc ff df eb 27 e8 88 c3 2f fd 89 c3 31 ff 89 c6 e8 ed d6 45 fd 85 db 48 bd 00 00 00 00 00 fc ff df 0f 84 42 01 00 00 76 d3 45 fd 49 8d 5f 18 48 89 d8 48 c1 e8 03 80 3c 28 00 74 08 RSP: 0000:ffffc900033ef9c8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000080000000 RDX: ffff888026ef3b80 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff843ab153 R09: ffffffff843b231c R10: 0000000000000002 R11: ffff888026ef3b80 R12: 1ffff9200067df6c R13: 0000000000000001 R14: ffff888021b63442 R15: ffffc900033efb60 xas_load lib/xarray.c:240 [inline] xas_find+0x20b/0xaa0 lib/xarray.c:1249 first_map_page mm/filemap.c:3288 [inline] filemap_map_pages+0x2bd/0x15c0 mm/filemap.c:3314 do_fault_around mm/memory.c:4241 [inline] do_read_fault mm/memory.c:4256 [inline] do_fault mm/memory.c:4390 [inline] handle_pte_fault mm/memory.c:4648 [inline] __handle_mm_fault mm/memory.c:4783 [inline] handle_mm_fault+0x341b/0x5960 mm/memory.c:4881 do_user_addr_fault arch/x86/mm/fault.c:1357 [inline] handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x271/0x700 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x7f85250c3251 Code: 00 00 bf ff ff ff 6f 41 b8 ff fd ff 6f 41 b9 ff fe ff 6f 41 ba 41 ff ff 6f 41 bb 35 fe ff 6f bb 32 00 00 00 41 be 22 00 00 70 <48> 8b 02 48 85 c0 74 5c 48 83 f8 22 76 4c 48 89 f9 48 29 c1 48 83 RSP: 002b:00007ffca86a99e0 EFLAGS: 00010202 RAX: 00007f8524e0dd08 RBX: 0000000000000032 RCX: 0000000000000000 RDX: 00007f8524e0dd08 RSI: 00007f85250bb5b0 RDI: 000000006fffffff RBP: 00007ffca86a9b40 R08: 000000006ffffdff R09: 000000006ffffeff R10: 000000006fffff41 R11: 000000006ffffe35 R12: 00007f85250bb570 R13: 00007ffca86a9bc8 R14: 0000000070000022 R15: 00007f8524e0e188