rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P29492/1:b..l rcu: (detected by 1, t=10502 jiffies, g=361449, q=863 ncpus=2) task:syz.0.6790 state:R running task stack:25088 pid:29492 tgid:29491 ppid:28871 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:instrument_atomic_read include/linux/instrumented.h:68 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] RIP: 0010:folio_test_head include/linux/page-flags.h:827 [inline] RIP: 0010:folio_test_large include/linux/page-flags.h:848 [inline] RIP: 0010:folio_nr_pages include/linux/mm.h:2049 [inline] RIP: 0010:folio_next_index include/linux/pagemap.h:830 [inline] RIP: 0010:find_lock_entries+0x56c/0x10f0 mm/filemap.c:2095 Code: 48 89 de 48 83 e6 01 31 ff e8 40 0a c9 ff 48 83 e3 01 0f 85 0d 0a 00 00 48 8b 5c 24 18 0f 1f 44 00 00 e8 47 05 c9 ff 48 89 df 08 00 00 00 e8 ca 4e 30 00 4c 89 f1 48 c1 e9 03 48 b8 00 00 00 RSP: 0018:ffffc9000accf5e0 EFLAGS: 00000246 RAX: ffffffff81ca85a9 RBX: ffffea00014cfe40 RCX: 0000000000040000 RDX: ffffc9000a511000 RSI: 000000000003ffff RDI: ffffea00014cfe40 RBP: ffffc9000accf750 R08: ffffffff81ca8590 R09: 1ffffffff202fab5 R10: dffffc0000000000 R11: fffffbfff202fab6 R12: ffffc9000accf6a0 R13: fffffffffffffffe R14: ffffea00014cfe40 R15: ffffc9000accf6b8 shmem_undo_range+0x2d6/0x1df0 mm/shmem.c:1005 shmem_truncate_range mm/shmem.c:1132 [inline] shmem_evict_inode+0x29b/0xa80 mm/shmem.c:1260 evict+0x534/0x950 fs/inode.c:704 __dentry_kill+0x20d/0x630 fs/dcache.c:610 dput+0x19f/0x2b0 fs/dcache.c:852 __fput+0x5f8/0x8a0 fs/file_table.c:430 __do_sys_close fs/open.c:1566 [inline] __se_sys_close fs/open.c:1551 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1551 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:0x7fc1f3f78b0a RSP: 002b:00007fc1f4d82e00 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007fc1f3f78b0a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000005585 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 R13: 00007fc1f4d82ef0 R14: 00007fc1f4d82eb0 R15: 00007fc1e9600000 rcu: rcu_preempt kthread starved for 10537 jiffies! g361449 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:24912 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-00279-ge5fa841af679 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 95 4b b3 00 f3 0f 1e fa fb f4 e9 d4 6f 39 00 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc900001a7d08 EFLAGS: 00000246 RAX: ffff8880182f0000 RBX: ffff888019aae864 RCX: 0000000006d8bbc9 RDX: 0000000000000001 RSI: ffff888019aae800 RDI: ffff888019aae864 RBP: 000000000003a6b8 R08: ffff8880b9337c7b R09: 1ffff11017266f8f R10: dffffc0000000000 R11: ffffffff8bb6cce0 R12: ffff88801db60000 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8f0dd240 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020022000 CR3: 000000006635c000 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