rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10684/1:b..l rcu: (detected by 0, t=10502 jiffies, g=59745, q=250 ncpus=2) task:syz-executor.1 state:R running task stack:24896 pid:10684 tgid:10684 ppid:5690 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:6924 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 unwind_next_frame+0x1c90/0x23a0 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1088 [inline] free_unref_folios+0x991/0x1310 mm/page_alloc.c:2632 folios_put_refs+0x487/0x6d0 mm/swap.c:1024 folio_batch_release include/linux/pagevec.h:101 [inline] shmem_undo_range+0x5a1/0x1160 mm/shmem.c:1005 shmem_truncate_range mm/shmem.c:1114 [inline] shmem_evict_inode+0x3a3/0xbb0 mm/shmem.c:1242 evict+0x2ed/0x6c0 fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput.part.0+0x5a8/0x7f0 fs/inode.c:1767 iput+0x5c/0x80 fs/inode.c:1757 dentry_unlink_inode+0x295/0x480 fs/dcache.c:400 __dentry_kill+0x1d0/0x600 fs/dcache.c:603 dput.part.0+0x4b1/0x9b0 fs/dcache.c:845 dput+0x1f/0x30 fs/dcache.c:835 __fput+0x54e/0xbb0 fs/file_table.c:430 task_work_run+0x14e/0x250 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa9b/0x2ba0 kernel/exit.c:874 do_group_exit+0xd3/0x2a0 kernel/exit.c:1023 get_signal+0x2616/0x2710 kernel/signal.c:2909 arch_do_signal_or_restart+0x90/0x7e0 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+0x14a/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd96367cea9 RSP: 002b:00007ffdb63d08e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffdfc RBX: 00000000000a9c91 RCX: 00007fd96367cea9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fd9637b3f8c RBP: 00000000000aac63 R08: 00007fd964414080 R09: 0000000100000000 R10: 00007ffdb63d09d0 R11: 0000000000000246 R12: 00007ffdb63d09d0 R13: 00007fd9637b3f8c R14: 0000000000000fd2 R15: 00007ffdb63d09f0 rcu: rcu_preempt kthread starved for 10540 jiffies! g59745 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:27680 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__schedule_loop kernel/sched/core.c:6821 [inline] RIP: 0010:schedule+0xd6/0x350 kernel/sched/core.c:6837 Code: 43 18 4c 8d 63 2c 85 c0 0f 85 3c 01 00 00 65 4c 8b 2d ae 7a 19 75 48 b8 00 00 00 00 00 fc ff df 4c 89 ed 48 c1 ed 03 48 01 c5 01 00 00 00 e8 00 7e 73 f6 31 ff e8 09 a2 ff ff bf 01 00 00 00 RSP: 0018:ffffc90000167c00 EFLAGS: 00000202 RAX: 0000000000004008 RBX: ffff8880176c8000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff8b2caf60 RDI: 0000000000000001 RBP: ffffed1002ed9000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff8fe46f97 R11: 0000000000000000 R12: ffff8880176c802c R13: ffff8880176c8000 R14: 1ffffffff1b01e40 R15: 0000000000000001 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10729 Comm: syz-executor.3 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] RIP: 0010:lock_is_held_type+0xec/0x150 kernel/locking/lockdep.c:5826 Code: f6 43 22 03 0f 95 c0 45 31 ed 44 39 f0 41 0f 94 c5 48 c7 c7 60 b2 2c 8b e8 91 16 00 00 b8 ff ff ff ff 65 0f c1 05 9c 90 1a 75 <83> f8 01 75 2d 9c 58 f6 c4 02 75 43 48 f7 04 24 00 02 00 00 74 01 RSP: 0018:ffffc90003ccfa28 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 1ffff92000799f4f RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8b2cb260 RDI: ffffffff8b900680 RBP: ffffffff8dbb18c0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888022a3bc00 R13: 0000000000000000 R14: 00000000ffffffff R15: 0000000000000000 FS: 00007f8af839d6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8af839cf00 CR3: 000000002cd06000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:231 [inline] __might_resched+0x473/0x5e0 kernel/sched/core.c:10158 __might_fault+0x83/0x190 mm/memory.c:6230 __copy_to_user include/linux/uaccess.h:133 [inline] save_xstate_epilog arch/x86/kernel/fpu/signal.c:127 [inline] copy_fpstate_to_sigframe+0x80d/0xaa0 arch/x86/kernel/fpu/signal.c:245 get_sigframe+0x455/0x930 arch/x86/kernel/signal.c:142 x64_setup_rt_frame+0x129/0xce0 arch/x86/kernel/signal_64.c:175 setup_rt_frame arch/x86/kernel/signal.c:223 [inline] handle_signal arch/x86/kernel/signal.c:267 [inline] arch_do_signal_or_restart+0x5e6/0x7e0 arch/x86/kernel/signal.c:312 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+0x14a/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8af767cea7 Code: 14 25 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 RSP: 002b:00007f8af839d178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 00000000000000ca RBX: 00007f8af77b3f88 RCX: 00007f8af767cea9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f8af77b3f88 RBP: 00007f8af77b3f80 R08: 00007f8af839d6c0 R09: 00007f8af839d6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8af77b3f8c R13: 000000000000000b R14: 00007ffe68b45320 R15: 00007ffe68b45408