rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=cf74/1/0x4000000000000000 softirq=83475/83479 fqs=0 rcu: (detected by 1, t=10506 jiffies, g=82949, q=171 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 10792 Comm: syz-executor Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1705 [inline] RIP: 0010:__hrtimer_run_queues+0x8c2/0xae0 kernel/time/hrtimer.c:1803 Code: ff ff e8 21 c8 12 00 c6 05 28 8c c0 0e 01 90 48 c7 c7 40 99 6f 8b e8 8d 01 d3 ff 90 0f 0b 90 90 e9 f4 f9 ff ff e8 fe c7 12 00 <49> 8d 7e 18 be ff ff ff ff e8 60 6a a2 09 31 ff 89 c3 89 c6 e8 25 RSP: 0018:ffffc90000007e30 EFLAGS: 00000046 RAX: 0000000080010003 RBX: 0000000000000001 RCX: ffffffff818749c0 RDX: ffff888026f9c880 RSI: ffffffff81874e22 RDI: 0000000000000005 RBP: 181f928134000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000003 R12: ffff888057cca340 R13: ffff8880b862cc00 R14: ffff8880b862ca00 R15: ffffffff894158e0 FS: 0000555584a03500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555584a1e5c8 CR3: 0000000056366000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 ba 71 4a f6 48 89 df e8 12 f1 4a f6 e8 ad 71 75 f6 fb bf 01 00 00 00 02 d6 3b f6 65 8b 05 63 91 d7 74 85 c0 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc9000caaf798 EFLAGS: 00000202 RAX: 000000000036d419 RBX: ffff88802976f938 RCX: 1ffffffff2dcb1a2 RDX: 0000000000000000 RSI: ffffffff8b6cd9e0 RDI: 0000000000000001 RBP: ffffea000141ed40 R08: 0000000000000001 R09: fffffbfff2dca39a R10: ffffffff96e51cd7 R11: 0000000000000003 R12: ffff88802976f938 R13: ffffea000141ed40 R14: 0000000000000000 R15: ffffc9000caafa80 spin_unlock_irq include/linux/spinlock.h:401 [inline] filemap_remove_folio+0xd0/0x210 mm/filemap.c:265 truncate_inode_folio+0x49/0x70 mm/truncate.c:162 shmem_undo_range+0x36e/0x1170 mm/shmem.c:1040 shmem_truncate_range mm/shmem.c:1156 [inline] shmem_evict_inode+0x3a3/0xba0 mm/shmem.c:1284 evict+0x409/0x960 fs/inode.c:796 iput_final fs/inode.c:1946 [inline] iput fs/inode.c:1972 [inline] iput+0x52a/0x890 fs/inode.c:1958 do_unlinkat+0x5c3/0x760 fs/namei.c:4594 __do_sys_unlink fs/namei.c:4635 [inline] __se_sys_unlink fs/namei.c:4633 [inline] __x64_sys_unlink+0xc5/0x110 fs/namei.c:4633 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6e5ef852d7 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 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:00007ffe6aaba828 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6e5ef852d7 RDX: 00007ffe6aaba850 RSI: 00007ffe6aaba8e0 RDI: 00007ffe6aaba8e0 RBP: 00007ffe6aaba8e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffe6aabb960 R13: 00007f6e5f0018f4 R14: 00007ffe6aabb9a0 R15: 00000000000001c6 rcu: rcu_preempt kthread starved for 10506 jiffies! g82949 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:27488 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 19522 Comm: syz.3.3445 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x0/0x20 kernel/kcov.c:313 Code: 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 58 fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 2a fe ff ff RSP: 0018:ffffc9000d5efb28 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff8880b86469c0 RCX: ffffffff818e078c RDX: ffff8880723e8000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000004 R12: ffffed10170c8d39 R13: 0000000000000001 R14: ffff8880b86469c8 R15: ffff8880b873fe40 FS: 00007f47afc9a6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33a5ffff CR3: 0000000065f34000 CR4: 00000000003526f0 Call Trace: csd_lock_wait kernel/smp.c:340 [inline] smp_call_function_many_cond+0x47c/0x1300 kernel/smp.c:884 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_flush arch/x86/kernel/alternative.c:2512 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920 static_key_slow_inc_cpuslocked kernel/jump_label.c:168 [inline] static_key_slow_inc_cpuslocked+0x82/0x120 kernel/jump_label.c:151 static_key_slow_inc+0x1a/0x30 kernel/jump_label.c:191 kvm_create_vm virt/kvm/kvm_main.c:1205 [inline] kvm_dev_ioctl_create_vm virt/kvm/kvm_main.c:5353 [inline] kvm_dev_ioctl+0x10d9/0x1aa0 virt/kvm/kvm_main.c:5395 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f47aed85d29 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:00007f47afc9a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f47aef75fa0 RCX: 00007f47aed85d29 RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000003 RBP: 00007f47aee01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f47aef75fa0 R15: 00007fff9bf5a458