rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6720/1:b..l (detected by 0, t=10502 jiffies, g=26365, q=81 ncpus=2) task:syz.2.684 state:R running task stack:24808 pid:6720 ppid:4266 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5243 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6560 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6872 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_acquire+0x194/0x5a0 kernel/locking/lockdep.c:5658 Code: 4c 89 fb 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 ff e8 a0 56 77 00 48 c7 84 24 80 00 00 00 00 00 00 00 9c 8f 84 24 80 00 00 00 <42> 80 3c 2b 00 74 08 4c 89 ff e8 fd 55 77 00 48 8d 5c 24 60 4c 8b RSP: 0018:ffffc900035072c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff920006a0e68 RCX: ffffffff816ab44b RDX: 0000000000000000 RSI: ffffffff8b5f6f60 RDI: ffffffff8b5f6f20 RBP: ffffc90003507408 R08: dffffc0000000000 R09: fffffbfff1d4168e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920006a0e60 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc90003507340 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] mapping_get_entry mm/filemap.c:1878 [inline] __filemap_get_folio+0x171/0xe80 mm/filemap.c:1943 shmem_get_folio_gfp+0x356/0x3470 mm/shmem.c:1881 shmem_fault+0x235/0x9c0 mm/shmem.c:2156 __do_fault+0x136/0x4f0 mm/memory.c:4280 do_read_fault mm/memory.c:4631 [inline] do_fault mm/memory.c:4760 [inline] handle_pte_fault mm/memory.c:5031 [inline] __handle_mm_fault mm/memory.c:5173 [inline] handle_mm_fault+0x3410/0x5340 mm/memory.c:5294 faultin_page mm/gup.c:1026 [inline] __get_user_pages+0x4f3/0x1190 mm/gup.c:1250 populate_vma_page_range+0x217/0x2b0 mm/gup.c:1607 __mm_populate+0x275/0x440 mm/gup.c:1721 mm_populate include/linux/mm.h:2823 [inline] vm_mmap_pgoff+0x22b/0x2d0 mm/util.c:525 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0cfe38d169 RSP: 002b:00007f0cff1e8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f0cfe5a5fa0 RCX: 00007f0cfe38d169 RDX: b635773f06ebbeef RSI: 0000000000b36000 RDI: 0000200000000000 RBP: 00007f0cfe40e2a0 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0cfe5a5fa0 R15: 00007ffdce0a6788 rcu: rcu_preempt kthread starved for 10520 jiffies! g26365 f0x0 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:25592 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5243 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6560 schedule+0xbf/0x180 kernel/sched/core.c:6636 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 6737 Comm: syz.1.689 Not tainted 6.1.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: a1 84 f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 8e dc ae f6 48 89 df e8 f6 1a b0 f6 e8 51 6d d5 f6 fb bf 01 00 00 00 d6 9b a2 f6 65 8b 05 f7 71 46 75 85 c0 74 02 5b c3 e8 94 95 44 RSP: 0018:ffffc900033cfb30 EFLAGS: 00000286 RAX: a27df997ae9fb400 RBX: ffff888057dddc80 RCX: ffffffff973c0103 RDX: dffffc0000000000 RSI: ffffffff8b0c1d40 RDI: 0000000000000001 RBP: ffffc900033cfc70 R08: dffffc0000000000 R09: ffffed100afbbb91 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100afbbc23 R13: 000000001c000004 R14: 0000000000000021 R15: ffff888057dde118 FS: 00007f043b9196c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000006b000 CR3: 000000007da44000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x151f/0x17a0 kernel/signal.c:2874 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f043ab8d167 Code: ff ff 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 RSP: 002b:00007f043b919038 EFLAGS: 00000246 RAX: 0000000000000113 RBX: 00007f043ada5fa0 RCX: 00007f043ab8d169 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f043ac0e2a0 R08: 0000000008000f28 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f043ada5fa0 R15: 00007ffc7f344b08