rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4274/1:b..l (detected by 0, t=10502 jiffies, g=7513, q=99 ncpus=2) task:syz-executor state:R running task stack:21472 pid:4274 ppid:4264 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6873 irqentry_exit+0x63/0x70 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:lock_is_held_type+0x13a/0x190 kernel/locking/lockdep.c:5710 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 c5 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:ffffc90004167760 EFLAGS: 00000206 RAX: 2f321307b4b6b400 RBX: ffff88802be8d940 RCX: 2f321307b4b6b400 RDX: ffff88802be8d940 RSI: ffffffff8a8c1700 RDI: ffffffff8adef3a0 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffff94000202f1f R10: fffff94000202f1f R11: 1ffffd4000202f1e R12: 0000000000000001 R13: 0000000000000246 R14: ffffffff8cb2aca0 R15: ffff88802be8e448 xa_entry include/linux/xarray.h:1198 [inline] xas_reload+0x19c/0x470 include/linux/xarray.h:1583 find_get_entry mm/filemap.c:2048 [inline] find_lock_entries+0x342/0xb90 mm/filemap.c:2123 shmem_undo_range+0x227/0x2050 mm/shmem.c:925 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x248/0xa40 mm/shmem.c:1171 evict+0x485/0x870 fs/inode.c:705 do_unlinkat+0x377/0x560 fs/namei.c:4405 __do_sys_unlink fs/namei.c:4446 [inline] __se_sys_unlink fs/namei.c:4444 [inline] __x64_sys_unlink+0x45/0x50 fs/namei.c:4444 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f49e718e577 RSP: 002b:00007ffc8dc208b8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f49e718e577 RDX: 00007ffc8dc208e0 RSI: 00007ffc8dc20970 RDI: 00007ffc8dc20970 RBP: 00007ffc8dc20970 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffc8dc21a00 R13: 00007f49e7211d7d R14: 0000000000012b76 R15: 00007ffc8dc21a40 rcu: rcu_preempt kthread starved for 10473 jiffies! g7513 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:28080 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2f2/0x1310 kernel/rcu/tree.c:1706 rcu_gp_kthread+0x95/0x380 kernel/rcu/tree.c:1905 kthread+0x29d/0x330 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4442 Comm: syz.4.10 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline] RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:206 Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 89 f6 31 d2 e9 5f e0 f7 02 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc90004b77980 EFLAGS: 00000046 RAX: 000000000000003e RBX: 000000000000003e RCX: 0000000000000838 RDX: 0000000000000000 RSI: 000000000000003e RDI: 0000000000000838 RBP: 000000000000003e R08: dffffc0000000000 R09: fffffbfff1c3ed96 R10: fffffbfff1c3ed96 R11: 1ffffffff1c3ed95 R12: ffff8880b8f272c0 R13: ffff8880b8f272b8 R14: ffffffff8c5e4b40 R15: dffffc0000000000 FS: 00007f16879c86c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1686b722e0 CR3: 0000000026584000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:394 [inline] lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:478 clockevents_program_min_delta+0x1a9/0x340 kernel/time/clockevents.c:248 hrtimer_start_range_ns+0xb9a/0xfc0 kernel/time/hrtimer.c:1349 posixtimer_rearm+0x131/0x340 kernel/time/posix-timers.c:329 dequeue_signal+0x1b6/0x4b0 kernel/signal.c:704 get_signal+0x547/0x1350 kernel/signal.c:2751 arch_do_signal_or_restart+0xb7/0x1240 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1686b8efc9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f16879c8038 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007f1686de5fa0 RCX: 00007f1686b8efc9 RDX: 0000200000000300 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f1686c11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1686de6038 R14: 00007f1686de5fa0 R15: 00007ffd9e363778