rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P9204/2:b..l rcu: (detected by 0, t=10502 jiffies, g=67909, q=649 ncpus=2) task:syz.3.931 state:R running task stack:25576 pid:9204 tgid:9203 ppid:7700 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6925 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:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:write_comp_data kernel/kcov.c:235 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x90 kernel/kcov.c:304 Code: 44 0a 20 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 4c 8b 04 24 <65> 48 8b 14 25 40 d7 03 00 65 8b 05 00 08 70 7e a9 00 01 ff 00 74 RSP: 0018:ffffc9000bb87a60 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffffff81cae254 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81cae270 R09: 1ffffd40001cec36 R10: dffffc0000000000 R11: fffff940001cec37 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffffff81cae15e R15: ffffea0000e761b4 raw_atomic_fetch_add_unless include/linux/atomic/atomic-arch-fallback.h:2429 [inline] raw_atomic_add_unless include/linux/atomic/atomic-arch-fallback.h:2456 [inline] atomic_add_unless include/linux/atomic/atomic-instrumented.h:1518 [inline] page_ref_add_unless include/linux/page_ref.h:238 [inline] folio_ref_add_unless include/linux/page_ref.h:248 [inline] folio_try_get+0x130/0x350 include/linux/page_ref.h:264 filemap_get_entry+0x240/0x3b0 mm/filemap.c:1850 __filemap_get_folio+0x79/0xc10 mm/filemap.c:1885 grow_dev_folio fs/buffer.c:1047 [inline] grow_buffers fs/buffer.c:1113 [inline] __getblk_slow fs/buffer.c:1139 [inline] bdev_getblk+0x1d8/0x550 fs/buffer.c:1441 __bread_gfp+0x86/0x400 fs/buffer.c:1495 sb_bread include/linux/buffer_head.h:347 [inline] bfs_readdir+0x1b4/0x490 fs/bfs/dir.c:47 iterate_dir+0x57a/0x810 fs/readdir.c:108 __do_sys_getdents fs/readdir.c:324 [inline] __se_sys_getdents+0x1ef/0x4d0 fs/readdir.c:309 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:0x7fd2a5975bd9 RSP: 002b:00007fd2a6719048 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007fd2a5b03f60 RCX: 00007fd2a5975bd9 RDX: 00000000000000b8 RSI: 0000000020001fc0 RDI: 0000000000000004 RBP: 00007fd2a59e4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd2a5b03f60 R15: 00007ffd222d0488 rcu: rcu_preempt kthread starved for 10424 jiffies! g67909 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:24464 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 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:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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 66 90 0f 00 2d 85 07 96 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:ffffffff8e007ca8 EFLAGS: 00000246 RAX: ffffffff8e094680 RBX: ffff8880192cd864 RCX: 000000000029e819 RDX: 0000000000000001 RSI: ffff8880192cd800 RDI: ffff8880192cd864 RBP: 000000000003a6b8 R08: ffff8880b9437c7b R09: 1ffff11017286f8f R10: dffffc0000000000 R11: ffffffff8b9437f0 R12: ffff88801b323800 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8eadca80 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3341eff8 CR3: 000000001fe66000 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 rest_init+0x2dc/0x300 init/main.c:747 start_kernel+0x47a/0x500 init/main.c:1103 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x9f/0xa0 arch/x86/kernel/head64.c:488 common_startup_64+0x13e/0x147