rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P28474/1:b..l rcu: (detected by 1, t=10505 jiffies, g=174873, q=105 ncpus=2) task:syz-executor.1 state:R running task stack:21368 pid:28474 ppid:28468 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:6981 irqentry_exit+0x57/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:unwind_get_return_address+0x63/0x90 arch/x86/kernel/unwind_orc.c:341 Code: 37 00 74 08 48 89 df e8 7b 96 a6 00 48 8b 3b e8 d3 26 1f 00 85 c0 74 14 43 80 3c 37 00 74 08 48 89 df e8 60 96 a6 00 48 8b 03 02 31 c0 5b 41 5e 41 5f c3 89 d9 80 e1 07 80 c1 03 38 c1 7c ad RSP: 0018:ffffc900037df420 EFLAGS: 00000246 RAX: ffffffff8ac0008b RBX: ffffc900037df488 RCX: ffffffff8f976000 RDX: ffffffff8fad8501 RSI: ffffc900037d8000 RDI: ffffffff8ac0008b RBP: ffffc900037df4d0 R08: ffffc900037dff48 R09: 0000000000000000 R10: ffffc900037df490 R11: dffffc0000000001 R12: ffff88808c503b80 R13: ffffffff8179a000 R14: dffffc0000000000 R15: 1ffff920006fbe91 arch_stack_walk+0xf7/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 save_stack+0xfa/0x1e0 mm/page_owner.c:128 __reset_page_owner+0x4f/0x190 mm/page_owner.c:149 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1302 [inline] free_unref_page_prepare+0x903/0xa30 mm/page_alloc.c:2564 free_unref_page_list+0x596/0x830 mm/page_alloc.c:2705 release_pages+0x2193/0x2470 mm/swap.c:1042 __pagevec_release+0x84/0x100 mm/swap.c:1062 pagevec_release include/linux/pagevec.h:63 [inline] folio_batch_release include/linux/pagevec.h:132 [inline] truncate_inode_pages_range+0x45d/0x11b0 mm/truncate.c:372 ext4_evict_inode+0x21c/0xf20 fs/ext4/inode.c:193 evict+0x2a4/0x620 fs/inode.c:665 do_unlinkat+0x50c/0x950 fs/namei.c:4400 __do_sys_unlink fs/namei.c:4441 [inline] __se_sys_unlink fs/namei.c:4439 [inline] __x64_sys_unlink+0x49/0x50 fs/namei.c:4439 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff0d928bad7 RSP: 002b:00007ffe8f4c51e8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff0d928bad7 RDX: 00007ffe8f4c5220 RSI: 00007ffe8f4c5220 RDI: 00007ffe8f4c52b0 RBP: 00007ffe8f4c52b0 R08: 0000000000000001 R09: 00007ffe8f4c5080 R10: 0000555556cb5903 R11: 0000000000000206 R12: 00007ff0d92e6cdc R13: 00007ffe8f4c6370 R14: 0000555556cb5810 R15: 00007ffe8f4c63b0 rcu: rcu_preempt kthread starved for 10495 jiffies! g174873 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:26208 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1609 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1808 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 32250 Comm: udevd Not tainted 6.4.0-rc4-syzkaller-00031-g8b817fded42d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:csd_lock_wait kernel/smp.c:285 [inline] RIP: 0010:smp_call_function_many_cond+0x14fb/0x1f60 kernel/smp.c:828 Code: 45 8b 34 24 44 89 f6 83 e6 01 31 ff e8 4e 0f 0b 00 41 83 e6 01 49 be 00 00 00 00 00 fc ff df 75 07 e8 89 0b 0b 00 eb 38 f3 90 <42> 0f b6 04 33 84 c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 6d 0b RSP: 0018:ffffc9000358fa40 EFLAGS: 00000293 RAX: ffffffff818071b3 RBX: 1ffff110173089c5 RCX: ffff88801fac9dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000358fc30 R08: ffffffff81807182 R09: fffffbfff2065058 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9844e28 R13: ffff8880b993d308 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fa6926aec80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000a030 CR3: 00000000230d8000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:996 kill_bdev block/bdev.c:75 [inline] blkdev_flush_mapping+0x150/0x2b0 block/bdev.c:596 blkdev_put_whole block/bdev.c:627 [inline] blkdev_put+0x4b8/0x750 block/bdev.c:887 blkdev_close+0x5a/0x80 block/fops.c:507 __fput+0x3b7/0x890 fs/file_table.c:321 task_work_run+0x24a/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa6927850a8 Code: 48 8b 05 83 9d 0d 00 64 c7 00 16 00 00 00 83 c8 ff 48 83 c4 20 5b c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 5b 48 8b 15 51 9d 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffda34104c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007fa6926aeae0 RCX: 00007fa6927850a8 RDX: 0000558b94a4165d RSI: 00007ffda340fcc8 RDI: 0000000000000008 RBP: 0000558ecc48f550 R08: 0000000000000006 R09: 7af370931535b805 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002 R13: 0000558ecc48a9b0 R14: 0000000000000008 R15: 0000558ecc46a910