rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P11286/2:b..l rcu: (detected by 1, t=10502 jiffies, g=50421, q=144 ncpus=2) task:syz.3.2010 state:R running task stack:25168 pid:11286 tgid:11278 ppid:5241 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 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:__kasan_check_read+0x0/0x20 mm/kasan/shadow.c:30 Code: 8e 4c 89 fe e8 f1 08 ba 09 31 db eb d0 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 89 f6 48 8b 0c 24 31 d2 e9 6f e6 ff ff 66 2e 0f 1f 84 RSP: 0000:ffffc90003dc70a0 EFLAGS: 00000286 RAX: ffffffff81ca9c5d RBX: 0000000000000001 RCX: ffff88807fe45a00 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00016c5774 RBP: ffffc90003dc7250 R08: ffffffff81ca9bdf R09: 1ffffffff2841910 R10: dffffc0000000000 R11: fffffbfff2841911 R12: dffffc0000000000 R13: ffffc90003dc71b8 R14: ffffffff81ca9bae R15: ffffea00016c5774 instrument_atomic_read include/linux/instrumented.h:68 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] page_ref_count include/linux/page_ref.h:67 [inline] page_ref_add_unless include/linux/page_ref.h:237 [inline] folio_ref_add_unless include/linux/page_ref.h:248 [inline] folio_try_get+0xde/0x350 include/linux/page_ref.h:264 find_get_entry mm/filemap.c:2004 [inline] find_lock_entries+0x2f6/0x10f0 mm/filemap.c:2091 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+0x4e8/0x9b0 fs/inode.c:731 __dentry_kill+0x20d/0x630 fs/dcache.c:615 dput+0x19f/0x2b0 fs/dcache.c:857 __fput+0x5d2/0x880 fs/file_table.c:439 task_work_run+0x24f/0x310 kernel/task_work.c:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xa2f/0x27f0 kernel/exit.c:882 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 get_signal+0x16a3/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9d0397def9 RSP: 002b:00007f9d0481f038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: 0000000000010106 RBX: 00007f9d03b36058 RCX: 00007f9d0397def9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000006 RBP: 00007f9d039f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f9d03b36058 R15: 00007ffd0bcad948 rcu: rcu_preempt kthread starved for 10524 jiffies! g50421 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:23992 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 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:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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-syzkaller-04744-gbdf56c7580d2 #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 d4 03 00 48 f7 00 08 00 00 00 75 10 66 90 0f 00 2d e5 58 b4 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:ffffc900001a7d08 EFLAGS: 00000246 RAX: ffff88801d6f8000 RBX: ffff8880212f0864 RCX: 0000000000ccf5f1 RDX: 0000000000000001 RSI: ffff8880212f0800 RDI: ffff8880212f0864 RBP: 000000000003a638 R08: ffff8880b8937c7b R09: 1ffff11017126f8f R10: dffffc0000000000 R11: ffffffff8bb53c70 R12: ffff888146aaa800 R13: 0000000000000001 R14: 0000000000000001 R15: ffffffff8f108560 FS: 0000000000000000(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32e18ff8 CR3: 0000000066d10000 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+0x109/0x470 drivers/cpuidle/cpuidle.c:264 cpuidle_enter+0x5d/0xa0 drivers/cpuidle/cpuidle.c:385 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+0x102/0x110 arch/x86/kernel/smpboot.c:313 common_startup_64+0x13e/0x147