rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6620/1:b..l P6637/1:b..l P6621/2:b..l rcu: (detected by 1, t=10502 jiffies, g=23005, q=377 ncpus=2) task:syz.0.277 state:R running task stack:23184 pid:6621 tgid:6619 ppid:5578 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 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:xas_next_entry+0x36a/0x3d0 Code: ff 48 89 e8 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d e9 24 95 26 0a e8 a4 cb c9 ff eb 0c e8 9d cb c9 ff eb 05 e8 96 cb c9 ff <4c> 89 ff 48 8b 74 24 08 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d RSP: 0018:ffffc900098c7230 EFLAGS: 00000287 RAX: ffffffff81c9ac1a RBX: 0000000000000003 RCX: 0000000000040000 RDX: ffffc9001804b000 RSI: 000000000000b235 RDI: 000000000000b236 RBP: dffffc0000000000 R08: ffffffff81c9a8e1 R09: 1ffffffff26e5d08 R10: dffffc0000000000 R11: fffffbfff26e5d09 R12: ffffc900098c7460 R13: dffffc0000000000 R14: 0000000000000003 R15: ffffc900098c7460 next_uptodate_folio+0x29/0xa40 mm/filemap.c:3464 filemap_map_pages+0x302/0x1e70 mm/filemap.c:3616 do_fault_around mm/memory.c:5019 [inline] do_read_fault mm/memory.c:5052 [inline] do_fault mm/memory.c:5191 [inline] do_pte_missing mm/memory.c:3947 [inline] handle_pte_fault+0x39ac/0x6eb0 mm/memory.c:5522 __handle_mm_fault mm/memory.c:5665 [inline] handle_mm_fault+0x1029/0x1980 mm/memory.c:5833 faultin_page mm/gup.c:1194 [inline] __get_user_pages+0x6ec/0x16a0 mm/gup.c:1493 populate_vma_page_range+0x264/0x330 mm/gup.c:1932 __mm_populate+0x27a/0x460 mm/gup.c:2035 mm_populate include/linux/mm.h:3415 [inline] vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:593 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:0x7f09bbd799f9 RSP: 002b:00007f09bcbd0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f09bbf15f80 RCX: 00007f09bbd799f9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f09bbde78ee R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f09bbf15f80 R15: 00007ffceef68828 task:syz.1.280 state:R running task stack:25296 pid:6637 tgid:6633 ppid:5579 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 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:__rcu_read_unlock+0x0/0x110 kernel/rcu/tree_plugin.h:429 Code: ab 44 89 f9 80 e1 07 80 c1 03 38 c1 7c aa 4c 89 ff e8 54 33 80 00 eb a0 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 41 57 41 56 41 55 41 54 53 49 bc 00 00 00 00 00 fc RSP: 0018:ffffc9000b90f5d8 EFLAGS: 00000246 RAX: 7cd2524fd7ad7f00 RBX: 0000000000000001 RCX: ffffc9000b90f503 RDX: 0000000000000002 RSI: ffffffff8c0ae6e0 RDI: ffffffff8c606400 RBP: 0000000000000000 R08: ffffffff9017ce2f R09: 1ffffffff202f9c5 R10: dffffc0000000000 R11: fffffbfff202f9c6 R12: dffffc0000000000 R13: 0000000000000cc0 R14: ffffffff849adffb R15: dffffc0000000000 rcu_read_unlock include/linux/rcupdate.h:871 [inline] blk_cgroup_congested+0x1f0/0x200 block/blk-cgroup.c:2196 __folio_throttle_swaprate+0x84/0x1d0 mm/swapfile.c:3742 folio_throttle_swaprate include/linux/swap.h:641 [inline] shmem_add_to_page_cache+0x89c/0x1830 mm/shmem.c:796 shmem_alloc_and_add_folio+0x948/0x14f0 mm/shmem.c:1810 shmem_get_folio_gfp+0x8dc/0x2370 mm/shmem.c:2188 shmem_get_folio mm/shmem.c:2293 [inline] shmem_write_begin+0x170/0x4d0 mm/shmem.c:2898 generic_perform_write+0x39b/0x840 mm/filemap.c:4019 shmem_file_write_iter+0xfc/0x120 mm/shmem.c:3074 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa74/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 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:0x7fb4c4b784df RSP: 002b:00007fb4c586fdf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000013bd7ef RCX: 00007fb4c4b784df RDX: 00000000013bd7ef RSI: 00007fb4ba200000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000054fe R10: 000000002000c0c2 R11: 0000000000000293 R12: 0000000000000003 R13: 00007fb4c586fef0 R14: 00007fb4c586feb0 R15: 00007fb4ba200000 task:syz.2.276 state:R running task stack:25040 pid:6620 tgid:6618 ppid:5583 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 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] zap_pte_range mm/memory.c:1688 [inline] zap_pmd_range mm/memory.c:1736 [inline] zap_pud_range mm/memory.c:1765 [inline] zap_p4d_range mm/memory.c:1786 [inline] unmap_page_range+0x3818/0x42c0 mm/memory.c:1807 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1897 exit_mmap+0x264/0xc80 mm/mmap.c:3412 __mmput+0x115/0x390 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 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9c7db799f9 RSP: 002b:00007f9c7d5ff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: 0000000000018ff8 RBX: 00007f9c7dd15f80 RCX: 00007f9c7db799f9 RDX: 0000000000018ff8 RSI: 0000000020019680 RDI: 0000000000000004 RBP: 00007f9c7dbe78ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9c7dd15f80 R15: 00007ffc9fd74888 rcu: rcu_preempt kthread starved for 10389 jiffies! g23005 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+0x1800/0x4a60 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+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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-rc3-syzkaller-00013-g6b0f8db921ab #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 40 d7 03 00 48 f7 00 08 00 00 00 75 10 eb 07 0f 00 2d e5 d6 b3 00 f3 0f 1e fa fb f4 e9 24 00 3a 00 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc900001a7d08 EFLAGS: 00000246 RAX: ffff888017ef0000 RBX: ffff88801c2c9864 RCX: 000000000054df29 RDX: 0000000000000001 RSI: ffff88801c2c9800 RDI: ffff88801c2c9864 RBP: 000000000003a6b8 R08: ffff8880b9337c7b R09: 1ffff11017266f8f R10: dffffc0000000000 R11: ffffffff8bb63c90 R12: ffff888017bdf000 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8f0dcf00 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc7d05158d9 CR3: 00000000230e0000 CR4: 0000000000350ef0 Call Trace: acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:702 cpuidle_enter_state+0x114/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