rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5370/1:b..l (detected by 0, t=10502 jiffies, g=23049, q=114 ncpus=2) task:syz-executor state:R running task stack:20472 pid:5370 ppid:5355 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6873 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:lock_is_held_type+0x137/0x180 Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc900057775d8 EFLAGS: 00000206 RAX: 07179efc45803300 RBX: 0000000000000000 RCX: 0000000080000000 RDX: ffff888027cf3b80 RSI: ffffffff8aec13c0 RDI: ffffffff8b3d48a0 RBP: 0000000000000001 R08: ffffffff8a878149 R09: ffffffff8a87f52c R10: 0000000000000002 R11: ffff888027cf3b80 R12: 0000000000000246 R13: ffff888027cf3b80 R14: 00000000ffffffff R15: ffffffff8d12ad40 xa_entry include/linux/xarray.h:1198 [inline] xas_descend+0x120/0x470 lib/xarray.c:204 xas_load lib/xarray.c:242 [inline] xas_find+0x20b/0xaa0 lib/xarray.c:1252 find_get_entry mm/filemap.c:2003 [inline] find_lock_entries+0x24a/0xda0 mm/filemap.c:2095 shmem_undo_range+0x294/0x2390 mm/shmem.c:925 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x265/0xa60 mm/shmem.c:1171 evict+0x2a4/0x620 fs/inode.c:666 __dentry_kill+0x436/0x650 fs/dcache.c:611 dentry_kill+0xbb/0x290 dput+0xfb/0x1d0 fs/dcache.c:918 __fput+0x62e/0x8d0 fs/file_table.c:328 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7faba7376e87 RSP: 002b:00007fffb6ab70b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007faba73e344c RCX: 00007faba7376e87 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffb6ab7170 RBP: 00007fffb6ab7170 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffb6ab8230 R13: 00007faba73e344c R14: 000000000003c065 R15: 000000000003a25e rcu: rcu_preempt kthread starved for 10530 jiffies! g23049 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:27064 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 schedule+0xbf/0x180 kernel/sched/core.c:6637 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.100-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:567 Code: 0b f5 f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 f4 c9 fb f6 0f 1f 44 00 00 e8 4a 07 f5 f6 0f 00 2d 63 d5 b1 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 3b 8f 4c f7 RSP: 0018:ffffffff8ce07b20 EFLAGS: 000002d3 RAX: ffffffff8a959336 RBX: 0000000000000000 RCX: ffffffff8cebd800 RDX: 0000000000000000 RSI: ffffffff8aec0240 RDI: ffffffff8b3d48a0 RBP: ffffffff8ce07bb0 R08: ffffffff8a959318 R09: fffffbfff19d7b01 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff19c0f64 R13: ffff888014b72804 R14: ffffffff8ce07b40 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f2f32aa030 CR3: 000000001fac6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:704 cpuidle_enter_state+0x516/0xf80 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3ce/0x680 kernel/sched/idle.c:303 cpu_startup_entry+0x3d/0x60 kernel/sched/idle.c:401 rest_init+0x2da/0x300 init/main.c:733 arch_call_rest_init+0xa/0xa init/main.c:893 start_kernel+0x496/0x53f init/main.c:1140 secondary_startup_64_no_verify+0xcf/0xdb