rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5385/1:b..l P5406/1:b..l P5401/1:b..l rcu: (detected by 1, t=10502 jiffies, g=8825, q=930 ncpus=2) task:syz.2.27 state:R running task stack:24960 pid:5401 tgid:5397 ppid:5219 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6708 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6732 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] follow_page_pte+0xeb2/0x1ee0 mm/gup.c:920 follow_pud_mask mm/gup.c:1006 [inline] follow_p4d_mask mm/gup.c:1023 [inline] follow_page_mask+0x739/0x2f90 mm/gup.c:1066 __get_user_pages+0x67b/0x16a0 mm/gup.c:1491 __get_user_pages_locked mm/gup.c:1760 [inline] __gup_longterm_locked+0xed7/0x17d0 mm/gup.c:2489 pin_user_pages_remote+0x132/0x1f0 mm/gup.c:3528 process_vm_rw_single_vec mm/process_vm_access.c:106 [inline] process_vm_rw_core mm/process_vm_access.c:216 [inline] process_vm_rw+0x716/0xcf0 mm/process_vm_access.c:284 __do_sys_process_vm_readv mm/process_vm_access.c:296 [inline] __se_sys_process_vm_readv mm/process_vm_access.c:292 [inline] __x64_sys_process_vm_readv+0xe0/0x100 mm/process_vm_access.c:292 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:0x7f71f93779f9 RSP: 002b:00007f71f8dde038 EFLAGS: 00000246 ORIG_RAX: 0000000000000136 RAX: ffffffffffffffda RBX: 00007f71f9506058 RCX: 00007f71f93779f9 RDX: 0000000000000002 RSI: 0000000020008400 RDI: 000000000000001b RBP: 00007f71f93e58ee R08: 0000000000000286 R09: 0000000000000000 R10: 0000000020008640 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f71f9506058 R15: 00007ffc73dbd828 task:syz.0.30 state:R running task stack:24504 pid:5406 tgid:5405 ppid:5218 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_is_held_type+0x13b/0x190 Code: 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 42 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc900044f73d8 EFLAGS: 00000206 RAX: 8435652781b4e800 RBX: 0000000000000000 RCX: 0000000080000000 RDX: ffffc90009209000 RSI: ffffffff8beae6e0 RDI: ffffffff8c3f8cc0 RBP: 0000000000000002 R08: ffffffff81de5759 R09: 1ffffffff269dd00 R10: dffffc0000000000 R11: fffffbfff269dd01 R12: 0000000000000246 R13: ffff888016743c00 R14: 00000000ffffffff R15: ffffffff8e765ee8 lock_is_held include/linux/lockdep.h:249 [inline] task_css include/linux/cgroup.h:433 [inline] mem_cgroup_from_task+0x62/0x120 mm/memcontrol.c:890 count_memcg_event_mm+0x195/0x420 include/linux/memcontrol.h:1019 mm_account_fault mm/memory.c:5699 [inline] handle_mm_fault+0x149a/0x1880 mm/memory.c:5859 faultin_page mm/gup.c:1194 [inline] __get_user_pages+0x6ec/0x16a0 mm/gup.c:1493 __get_user_pages_locked mm/gup.c:1760 [inline] __gup_longterm_locked+0xed7/0x17d0 mm/gup.c:2489 pin_user_pages_remote+0x132/0x1f0 mm/gup.c:3528 process_vm_rw_single_vec mm/process_vm_access.c:106 [inline] process_vm_rw_core mm/process_vm_access.c:216 [inline] process_vm_rw+0x716/0xcf0 mm/process_vm_access.c:284 __do_sys_process_vm_readv mm/process_vm_access.c:296 [inline] __se_sys_process_vm_readv mm/process_vm_access.c:292 [inline] __x64_sys_process_vm_readv+0xe0/0x100 mm/process_vm_access.c:292 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:0x7fac349779f9 RSP: 002b:00007fac3573a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000136 RAX: ffffffffffffffda RBX: 00007fac34b05f80 RCX: 00007fac349779f9 RDX: 0000000000000002 RSI: 0000000020008400 RDI: 000000000000000f RBP: 00007fac349e58ee R08: 0000000000000286 R09: 0000000000000000 R10: 0000000020008640 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fac34b05f80 R15: 00007fffd0309b68 task:syz.3.25 state:R running task stack:24672 pid:5385 tgid:5385 ppid:5217 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:jhash2 include/linux/jhash.h:129 [inline] RIP: 0010:hash_stack lib/stackdepot.c:514 [inline] RIP: 0010:stack_depot_save_flags+0x7d/0x830 lib/stackdepot.c:614 Code: cd 7b 71 f5 75 83 fe 04 72 75 44 89 f3 44 89 f0 4c 8b 44 24 08 4c 89 c2 03 02 03 5a 04 44 03 72 08 44 89 f7 c1 c7 04 44 29 f0 <31> c7 41 01 de 29 fb 89 fd c1 c5 06 31 dd 44 01 f7 89 e9 c1 c1 08 RSP: 0018:ffffc900041d7340 EFLAGS: 00000202 RAX: 00000000053aa4f2 RBX: 00000000f60ef17f RCX: 00000000cdfa21d8 RDX: ffffc900041d7404 RSI: 0000000000000013 RDI: 0000000089aec73a RBP: 00000000d3f6c0f1 R08: ffffc900041d73e0 R09: 000000000000000e R10: dffffc0000000000 R11: fffffbfff1fed366 R12: dffffc0000000000 R13: 1ffff9200083ae78 R14: 00000000a89aec73 R15: 1ffff110058a1470 save_stack+0x109/0x1f0 mm/page_owner.c:157 __reset_page_owner+0x75/0x3f0 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1094 [inline] free_unref_folios+0x100f/0x1ac0 mm/page_alloc.c:2660 folios_put_refs+0x76e/0x860 mm/swap.c:1039 free_pages_and_swap_cache+0x2ea/0x690 mm/swap_state.c:332 __tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline] tlb_batch_pages_flush mm/mmu_gather.c:149 [inline] tlb_flush_mmu_free mm/mmu_gather.c:366 [inline] tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373 tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465 exit_mmap+0x44f/0xc80 mm/mmap.c:3425 __mmput+0x115/0x380 kernel/fork.c:1345 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x27f0 kernel/exit.c:869 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 __do_sys_exit_group kernel/exit.c:1042 [inline] __se_sys_exit_group kernel/exit.c:1040 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1040 x64_sys_call+0x2634/0x2640 arch/x86/include/generated/asm/syscalls_64.h:232 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:0x7fb3fef779f9 RSP: 002b:00007ffd1c87fc28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb3fef779f9 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffd1c87fc7c R08: 00007ffd1c87fd0f R09: 0000000000016993 R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000032 R13: 0000000000016993 R14: 0000000000015bdf R15: 00007ffd1c87fcd0 rcu: rcu_preempt kthread starved for 10567 jiffies! g8825 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 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: CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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+0x21/0x30 drivers/acpi/processor_idle.c:112 Code: 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 00 d7 03 00 48 f7 00 08 00 00 00 75 10 66 90 0f 00 2d e5 be 9b 00 f3 0f 1e fa fb f4 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc900001a7d08 EFLAGS: 00000246 RAX: ffff888017af0000 RBX: ffff88801b6ce864 RCX: 00000000000dd751 RDX: 0000000000000001 RSI: ffff88801b6ce800 RDI: ffff88801b6ce864 RBP: 000000000003a678 R08: ffff8880b9337c7b R09: 1ffff11017266f8f R10: dffffc0000000000 R11: ffffffff8bad7c90 R12: ffff88801a7ae000 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8eeca740 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc5ce2dc866 CR3: 0000000020260000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:702 cpuidle_enter_state+0x112/0x480 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x5d/0xa0 drivers/cpuidle/cpuidle.c:388 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:230 [inline] do_idle+0x375/0x5d0 kernel/sched/idle.c:326 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:424 start_secondary+0x100/0x100 arch/x86/kernel/smpboot.c:313 common_startup_64+0x13e/0x147