rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=ce1c/1/0x4000000000000000 softirq=54925/54926 fqs=2 (detected by 1, t=10506 jiffies, g=77389, q=161 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 18213 Comm: syz-executor.4 Not tainted 6.1.44-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:validate_chain+0x5f0/0x58e0 kernel/locking/lockdep.c:3844 Code: 01 00 00 0e 36 e0 45 49 c7 04 04 00 00 00 00 49 c7 44 04 09 00 00 00 00 49 c7 44 04 17 00 00 00 00 49 c7 44 04 23 00 00 00 00 <41> c6 44 04 2b 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 60 02 00 RSP: 0018:ffffc900000077c0 EFLAGS: 00000002 RAX: 1ffff92000000f18 RBX: ffffffff9049aea0 RCX: ffffffff816aa535 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90499228 RBP: ffffc90000007a70 R08: dffffc0000000000 R09: fffffbfff2093246 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888037edc6f8 R14: 0000000000000001 R15: ffffffff9049aeb8 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31322000 CR3: 00000000197b2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5056 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5669 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x6d3/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5673 Code: 2b 00 74 08 4c 89 f7 e8 6f 9f 76 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000318f160 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000631e38 RCX: 1ffff92000631dd8 RDX: dffffc0000000000 RSI: ffffffff8aebf320 RDI: ffffffff8b3ce7e0 RBP: ffffc9000318f2b8 R08: dffffc0000000000 R09: fffffbfff2093245 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000631e34 R13: dffffc0000000000 R14: ffffc9000318f1c0 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:306 rcu_read_lock include/linux/rcupdate.h:747 [inline] page_ext_get+0x18/0x270 mm/page_ext.c:157 page_table_check_clear+0x1df/0x850 mm/page_table_check.c:71 zap_pte_range mm/memory.c:1425 [inline] zap_pmd_range mm/memory.c:1564 [inline] zap_pud_range mm/memory.c:1593 [inline] zap_p4d_range mm/memory.c:1614 [inline] unmap_page_range+0x1b4a/0x2740 mm/memory.c:1635 unmap_vmas+0x3c4/0x560 mm/memory.c:1720 exit_mmap+0x252/0x9f0 mm/mmap.c:3214 __mmput+0x115/0x3c0 kernel/fork.c:1191 exit_mm+0x226/0x300 kernel/exit.c:563 do_exit+0x67e/0x2300 kernel/exit.c:856 do_group_exit+0x202/0x2b0 kernel/exit.c:1019 get_signal+0x16f7/0x17d0 kernel/signal.c:2862 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd88427cae9 Code: Unable to access opcode bytes at 0x7fd88427cabf. RSP: 002b:00007fd882dfe178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fd88439bf88 RCX: 00007fd88427cae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fd88439bf88 RBP: 00007fd88439bf80 R08: 00007fd882dfe6c0 R09: 00007fd882dfe6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd88439bf8c R13: 000000000000000b R14: 00007ffd3f497840 R15: 00007ffd3f497928 rcu: rcu_preempt kthread timer wakeup didn't happen for 10494 jiffies! g77389 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=64221 rcu: rcu_preempt kthread starved for 10495 jiffies! g77389 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26592 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2c2/0x1010 kernel/rcu/tree.c:1661 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1860 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 3762 Comm: kworker/u4:14 Not tainted 6.1.44-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x1f62/0x33d0 kernel/smp.c:987 Code: 2f 44 89 ee 83 e6 01 31 ff e8 4a 19 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 d5 15 0b 00 e9 1b ff ff ff f3 90 <42> 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff RSP: 0018:ffffc90004a1f5a0 EFLAGS: 00000293 RAX: ffffffff817ee84d RBX: 1ffff1101730841d RCX: ffff88803863bb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004a1f980 R08: ffffffff817ee816 R09: fffffbfff2093245 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b98420e8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f743d4c56be CR3: 000000000ce8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1316 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1516 text_poke_flush arch/x86/kernel/alternative.c:1707 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1714 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x480 mm/kfence/core.c:804 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2292 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306