rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=845c/1/0x4000000000000000 softirq=86577/86578 fqs=1 rcu: (detected by 1, t=10506 jiffies, g=127601, q=383 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 16134 Comm: syz-executor.2 Not tainted 6.10.0-rc1-next-20240528-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:_raw_spin_unlock_irqrestore+0x5/0x140 kernel/locking/spinlock.c:193 Code: 05 6c f5 5b c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 83 ec 60 49 89 RSP: 0018:ffffc90000007c30 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff88807b5796c8 RCX: 0000000000000002 RDX: ffff88807b5796d8 RSI: 0000000000000046 RDI: ffffffff949eaf48 RBP: ffffc90000007d30 R08: 0000000000000003 R09: fffff52000000f64 R10: dffffc0000000000 R11: fffff52000000f64 R12: 1ffff1100f6af2db R13: ffff88807b5796dc R14: dffffc0000000000 R15: 1ffff92000000f8c FS: 00007f6db306f6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200000c0 CR3: 00000000569f0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_object_deactivate+0x2d5/0x390 lib/debugobjects.c:778 debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline] debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:484 __run_hrtimer kernel/time/hrtimer.c:1655 [inline] __hrtimer_run_queues+0x305/0xd50 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__nr_to_section include/linux/mmzone.h:1861 [inline] RIP: 0010:__pfn_to_section include/linux/mmzone.h:1969 [inline] RIP: 0010:lookup_page_ext mm/page_ext.c:250 [inline] RIP: 0010:page_ext_get+0x107/0x2a0 mm/page_ext.c:522 Code: ff ff ff 00 00 00 48 89 ef 48 89 de e8 22 71 8e ff 48 39 eb 0f 87 91 01 00 00 48 c7 c0 e0 ad 80 94 48 c1 e8 03 42 80 3c 38 00 <74> 0c 48 c7 c7 e0 ad 80 94 e8 cb 33 f4 ff 48 8b 05 f4 e2 78 12 48 RSP: 0018:ffffc9000b4a73f0 EFLAGS: 00000246 RAX: 1ffffffff29015bc RBX: 00000000004a6100 RCX: ffff888048b31e00 RDX: ffffc9000c47d000 RSI: 00000000004a6100 RDI: 000000ffffffffc0 RBP: 000000ffffffffc0 R08: ffffffff8207cabe R09: 1ffffffff25f68b0 R10: dffffc0000000000 R11: fffffbfff25f68b1 R12: 0000000000012984 R13: 8000000012984225 R14: ffffffff8207c9f0 R15: dffffc0000000000 page_table_check_clear+0x56/0x570 mm/page_table_check.c:74 zap_present_ptes mm/memory.c:1555 [inline] zap_pte_range mm/memory.c:1624 [inline] zap_pmd_range mm/memory.c:1742 [inline] zap_pud_range mm/memory.c:1771 [inline] zap_p4d_range mm/memory.c:1792 [inline] unmap_page_range+0x2e24/0x4d00 mm/memory.c:1813 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1903 unmap_region+0x1ec/0x350 mm/mmap.c:2406 do_vmi_align_munmap+0x1122/0x18c0 mm/mmap.c:2724 do_vmi_munmap+0x261/0x2f0 mm/mmap.c:2800 __vm_munmap+0x1fc/0x400 mm/mmap.c:3079 __do_sys_munmap mm/mmap.c:3096 [inline] __se_sys_munmap mm/mmap.c:3093 [inline] __x64_sys_munmap+0x68/0x80 mm/mmap.c:3093 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:0x7f6db227cf77 Code: 00 00 00 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 0b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6db306eea8 EFLAGS: 00000246 ORIG_RAX: 000000000000000b RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f6db227cf77 RDX: 0000000000000000 RSI: 0000000008400000 RDI: 00007f6da8000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000608c R10: 0000000020006682 R11: 0000000000000246 R12: 0000000000000003 R13: 00007f6db306ef80 R14: 00007f6db306ef40 R15: 00007f6da8000000 rcu: rcu_preempt kthread starved for 10500 jiffies! g127601 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:26544 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 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: 1 PID: 959 Comm: kworker/u8:6 Not tainted 6.10.0-rc1-next-20240528-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1865/0x29d0 kernel/smp.c:855 Code: 89 e6 83 e6 01 31 ff e8 19 0d 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c4 08 0c 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 a8 08 0c 00 eb e4 44 RSP: 0018:ffffc900042a7700 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff11017288c11 RCX: ffff888021103c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900042a78e0 R08: ffffffff818a2e27 R09: 1ffffffff25f68b0 R10: dffffc0000000000 R11: fffffbfff25f68b1 R12: dffffc0000000000 R13: ffff8880b9446088 R14: ffff8880b953f900 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa9a32e66e4 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2069 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2279 text_poke_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 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