rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=8004/1/0x4000000000000000 softirq=102804/102804 fqs=1 (detected by 1, t=10502 jiffies, g=145197, q=119 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7595 Comm: syz-executor.1 Not tainted 6.1.77-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:debug_spin_unlock kernel/locking/spinlock_debug.c:101 [inline] RIP: 0010:do_raw_spin_unlock+0x81/0x8a0 kernel/locking/spinlock_debug.c:140 Code: 48 c1 e8 03 0f b6 04 18 84 c0 0f 85 23 04 00 00 41 83 3f 00 0f 84 99 01 00 00 4d 8d 6f 10 4d 89 ec 49 c1 ec 03 41 80 3c 1c 00 <74> 08 4c 89 ef e8 c5 38 76 00 65 48 8b 2d 9d bf 96 7e 49 39 6d 00 RSP: 0018:ffffc90000007c60 EFLAGS: 00000046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff816baf64 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880b982a4c0 RBP: ffffc90000007d50 R08: dffffc0000000000 R09: ffffed1017305499 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1101730549a R13: ffff8880b982a4d0 R14: ffffc90000007ce0 R15: ffff8880b982a4c0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 0000000043a85000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock_irqrestore+0x7d/0x130 kernel/locking/spinlock.c:194 __run_hrtimer kernel/time/hrtimer.c:1681 [inline] __hrtimer_run_queues+0x4b0/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:653 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 cf 9a 77 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:ffffc9000614f140 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000c29e34 RCX: 1ffff92000c29dd4 RDX: dffffc0000000000 RSI: ffffffff8aebfe40 RDI: ffffffff8b3d0dc0 RBP: ffffc9000614f290 R08: dffffc0000000000 R09: fffffbfff2092245 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000c29e30 R13: dffffc0000000000 R14: ffffc9000614f1a0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:318 [inline] rcu_read_lock include/linux/rcupdate.h:759 [inline] page_ext_get+0x39/0x2a0 mm/page_ext.c:157 page_table_check_clear+0x59/0x720 mm/page_table_check.c:71 zap_pte_range mm/memory.c:1435 [inline] zap_pmd_range mm/memory.c:1574 [inline] zap_pud_range mm/memory.c:1603 [inline] zap_p4d_range mm/memory.c:1624 [inline] unmap_page_range+0x1b4a/0x2740 mm/memory.c:1645 unmap_vmas+0x48b/0x640 mm/memory.c:1730 exit_mmap+0x252/0x9f0 mm/mmap.c:3227 __mmput+0x115/0x3c0 kernel/fork.c:1199 exit_mm+0x226/0x300 kernel/exit.c:563 do_exit+0x9f6/0x26a0 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:87 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f78ee07dda9 Code: Unable to access opcode bytes at 0x7f78ee07dd7f. RSP: 002b:00007f78eee75178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f78ee1abf88 RCX: 00007f78ee07dda9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f78ee1abf8c RBP: 00007f78ee1abf80 R08: 0000000000000010 R09: 00007f78eee756c0 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f78ee1abf8c R13: 000000000000000b R14: 00007fff813ffec0 R15: 00007fff813fffa8 rcu: rcu_preempt kthread starved for 10495 jiffies! g145197 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:26648 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2d2/0x1120 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 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: 3722 Comm: kworker/u4:20 Not tainted 6.1.77-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline] RIP: 0010:smp_call_function_many_cond+0x1fb0/0x3460 kernel/smp.c:998 Code: 2f 44 89 ee 83 e6 01 31 ff e8 ec 42 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 77 3f 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:ffffc90005b875a0 EFLAGS: 00000293 RAX: ffffffff817f3bcb RBX: 1ffff1101730841d RCX: ffff88802161bb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90005b87980 R08: ffffffff817f3b94 R09: fffffbfff2092245 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: 00007f55f17a8000 CR3: 000000000ce8e000 CR4: 00000000003506e0 DR0: 000000000000d8dd DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1329 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1529 text_poke_flush arch/x86/kernel/alternative.c:1720 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1727 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+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306