rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=e31c/1/0x4000000000000000 softirq=25630/25661 fqs=0 rcu: (detected by 1, t=10502 jiffies, g=17253, q=435 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5843 Comm: syz-executor Not tainted 6.13.0-rc4-syzkaller-00078-g059dd502b263 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:instrument_atomic_read_write include/linux/instrumented.h:96 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1300 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] RIP: 0010:do_raw_spin_lock+0x109/0x2c0 kernel/locking/spinlock_debug.c:116 Code: b6 14 02 4c 89 e0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 68 01 00 00 8b 53 08 65 8b 05 3b a4 8c 7e 39 c2 0f 84 35 01 00 00 <48> 89 df be 04 00 00 00 c7 44 24 28 00 00 00 00 e8 72 94 85 00 be RSP: 0018:ffffc90000007c48 EFLAGS: 00000086 RAX: 0000000000000000 RBX: ffffffff9a9cfb40 RCX: ffffffff84a579b9 RDX: 00000000ffffffff RSI: ffffffff8bd1ed20 RDI: ffffffff9a9cfb44 RBP: 1ffff92000000f8a R08: 0000000000000000 R09: fffffbfff20be6ca R10: ffffffff905f3657 R11: 00000000000a4001 R12: ffffffff9a9cfb48 R13: ffffffff9a9cfb50 R14: 1ffff92000000fa4 R15: ffffffff9a9cfb38 FS: 0000555558a95500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3abd56 CR3: 0000000033cf0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x42/0x60 kernel/locking/spinlock.c:162 debug_object_activate+0x149/0x4a0 lib/debugobjects.c:818 debug_hrtimer_activate kernel/time/hrtimer.c:428 [inline] debug_activate kernel/time/hrtimer.c:469 [inline] enqueue_hrtimer+0x25/0x3c0 kernel/time/hrtimer.c:1076 __run_hrtimer kernel/time/hrtimer.c:1756 [inline] __hrtimer_run_queues+0x903/0xae0 kernel/time/hrtimer.c:1803 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:pfn_valid include/linux/mmzone.h:2042 [inline] RIP: 0010:page_table_check_set+0x22/0x9c0 mm/page_table_check.c:110 Code: 90 90 90 90 90 90 90 90 41 57 41 56 41 55 41 54 49 89 f4 55 48 bd ff ff ff ff ff ff 0f 00 53 48 89 fb 48 83 ec 18 88 54 24 17 d9 b9 91 ff 48 89 de 48 89 ef e8 3e bc 91 ff 48 39 dd 72 22 e8 RSP: 0018:ffffc900034e76d8 EFLAGS: 00000296 RAX: 0000000000000000 RBX: 000000000006bcf9 RCX: ffffffff82087b20 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 000000000006bcf9 RBP: 000fffffffffffff R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000002 R11: 00000000000a4001 R12: 0000000000000001 R13: ffff888035b7f500 R14: dffffc0000000000 R15: 1ffff9200069cee7 __page_table_check_ptes_set+0x2d0/0x3e0 mm/page_table_check.c:225 page_table_check_ptes_set include/linux/page_table_check.h:74 [inline] set_ptes include/linux/pgtable.h:288 [inline] __copy_present_ptes mm/memory.c:967 [inline] copy_present_ptes mm/memory.c:1050 [inline] copy_pte_range mm/memory.c:1173 [inline] copy_pmd_range mm/memory.c:1261 [inline] copy_pud_range mm/memory.c:1298 [inline] copy_p4d_range mm/memory.c:1322 [inline] copy_page_range+0x209a/0x5790 mm/memory.c:1420 dup_mmap kernel/fork.c:748 [inline] dup_mm kernel/fork.c:1691 [inline] copy_mm kernel/fork.c:1743 [inline] copy_process+0x7ef3/0x8e50 kernel/fork.c:2394 kernel_clone+0xfd/0x960 kernel/fork.c:2806 __do_sys_clone+0xba/0x100 kernel/fork.c:2949 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:0x7fd99577c593 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007ffe7e400dc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd99577c593 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 0000555558a957d0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000005ebe3 R14: 00007ffe7e400f50 R15: 0000000000000073 rcu: rcu_preempt kthread starved for 10502 jiffies! g17253 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:28472 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: 8003 Comm: syz.7.458 Not tainted 6.13.0-rc4-syzkaller-00078-g059dd502b263 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:write_comp_data+0x11/0x90 kernel/kcov.c:246 Code: cc cc cc cc 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 49 89 d2 49 89 f8 49 89 f1 65 48 8b 15 bf c2 69 7e <65> 8b 05 c0 c2 69 7e a9 00 01 ff 00 74 1d f6 c4 01 74 67 a9 00 00 RSP: 0018:ffffc9000466f638 EFLAGS: 00000202 RAX: 0000000000080000 RBX: 0000000000000001 RCX: ffffffff818e2187 RDX: ffff88806d1ec880 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffffc9000466f710 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 00000000000a4001 R12: 1ffff920008cdecc R13: 0000000000000000 R14: 0000000000000001 R15: ffff888028e9c6f8 FS: 00007f48b5ef76c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffda6b9db98 CR3: 0000000035c08000 CR4: 00000000003526f0 Call Trace: csd_lock_wait kernel/smp.c:340 [inline] smp_call_function_single+0x1d7/0x580 kernel/smp.c:679 loaded_vmcs_clear arch/x86/kvm/vmx/vmx.c:812 [inline] vmx_vcpu_load_vmcs+0x2e2/0x850 arch/x86/kvm/vmx/vmx.c:1452 vmx_vcpu_load+0xdc/0x2c0 arch/x86/kvm/vmx/vmx.c:1522 kvm_arch_vcpu_load+0x1da/0x980 arch/x86/kvm/x86.c:4975 vcpu_load+0x52/0x90 virt/kvm/kvm_main.c:172 kvm_arch_vcpu_ioctl+0x111/0x5070 arch/x86/kvm/x86.c:5848 kvm_vcpu_ioctl+0x9e6/0x1520 virt/kvm/kvm_main.c:4511 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:0x7f48b5185d29 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:00007f48b5ef7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f48b5375fa0 RCX: 00007f48b5185d29 RDX: 00000000200001c0 RSI: 000000004048aecb RDI: 000000000000000d RBP: 00007f48b5201b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f48b5375fa0 R15: 00007ffda6b9e1d8