rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=89e4/1/0x4000000000000000 softirq=109469/109475 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=102129, q=175 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 22434 Comm: syz.5.3646 Not tainted 6.13.0-rc1-syzkaller-00025-gfeffde684ac2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3798 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3817 [inline] RIP: 0010:validate_chain+0x1e6/0x5920 kernel/locking/lockdep.c:3872 Code: 89 df e8 5d c8 8b 00 48 89 5c 24 48 48 8b 1b 48 85 db 74 48 48 83 c3 f8 74 42 4c 8d 7b 18 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 <74> 08 4c 89 ff e8 30 c8 8b 00 49 8b 07 4c 39 f0 0f 84 83 03 00 00 RSP: 0018:ffffc90000a18620 EFLAGS: 00000046 RAX: 1ffffffff2850dd7 RBX: ffffffff94286ea0 RCX: ffffffff817b64ce RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff94282880 RBP: ffffc90000a18920 R08: ffffffff94282887 R09: 1ffffffff2850510 R10: dffffc0000000000 R11: fffffbfff2850511 R12: dffffc0000000000 R13: ffff88802e118b78 R14: 71a5d68fa1cc311c R15: ffffffff94286eb8 FS: 00007fccc1bb96c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f71eff8 CR3: 0000000032178000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5226 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x158/0x390 lib/debugobjects.c:873 debug_hrtimer_deactivate kernel/time/hrtimer.c:433 [inline] debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:475 __run_hrtimer kernel/time/hrtimer.c:1707 [inline] __hrtimer_run_queues+0x305/0xd30 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:pte_lockptr include/linux/mm.h:2950 [inline] RIP: 0010:pte_offset_map_rw_nolock+0x56/0x140 mm/pgtable-generic.c:329 Code: ff 4c 89 e7 4c 89 f6 48 89 da e8 85 f9 ff ff 49 89 c6 48 85 c0 0f 84 eb 00 00 00 48 bd 00 00 00 00 00 fc ff df e8 6a ca ac ff <48> 89 d8 48 c1 e8 03 80 3c 28 00 74 08 48 89 df e8 55 86 14 00 4c RSP: 0018:ffffc900044bf3c8 EFLAGS: 00000246 RAX: ffffffff81f2a766 RBX: ffffc900044bf6a0 RCX: 0000000000080000 RDX: ffffc90018802000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: dffffc0000000000 R08: ffffffff81f2a380 R09: 1ffffffff2850510 R10: dffffc0000000000 R11: fffffbfff2850511 R12: ffff888070dbd808 R13: 000000003d228067 R14: ffff88803d228cb8 R15: ffffc900044bf8e0 handle_pte_fault+0x1f0/0x68a0 mm/memory.c:5786 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6112 faultin_page mm/gup.c:1187 [inline] __get_user_pages+0x1c82/0x49e0 mm/gup.c:1485 populate_vma_page_range+0x264/0x330 mm/gup.c:1923 __mm_populate+0x27a/0x460 mm/gup.c:2026 mm_populate include/linux/mm.h:3386 [inline] vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:585 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fccc0d7ff19 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:00007fccc1bb9058 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fccc0f45fa0 RCX: 00007fccc0d7ff19 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007fccc0df3986 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fccc0f45fa0 R15: 00007ffe627584d8 rcu: rcu_preempt kthread starved for 10502 jiffies! g102129 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:25104 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 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: 0 UID: 0 PID: 22431 Comm: syz.9.3655 Not tainted 6.13.0-rc1-syzkaller-00025-gfeffde684ac2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f3/0x2c60 kernel/smp.c:884 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 66 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 11 e5 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 f5 e4 RSP: 0018:ffffc90003f37940 EFLAGS: 00000246 RAX: ffffffff81938cdb RBX: 1ffff110170e88b9 RCX: 0000000000080000 RDX: ffffc9001c39f000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc90003f37b40 R08: ffffffff81938caa R09: 1ffffffff2850510 R10: dffffc0000000000 R11: fffffbfff2850511 R12: dffffc0000000000 R13: ffff8880b87445c8 R14: ffff8880b863f940 R15: 0000000000000001 FS: 00007fce9f3e16c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3081bff8 CR3: 000000003d3cc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 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+0x352/0xb30 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_slow_inc_cpuslocked+0x80/0xf0 kernel/jump_label.c:168 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+0x1855/0x2460 virt/kvm/kvm_main.c:5395 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce9e57ff19 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:00007fce9f3e1058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fce9e745fa0 RCX: 00007fce9e57ff19 RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000009 RBP: 00007fce9e5f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fce9e745fa0 R15: 00007ffcfd9dc788