rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=6a24/1/0x4000000000000000 softirq=19496/19496 fqs=0 rcu: (detected by 0, t=10506 jiffies, g=11805, q=669 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 6041 Comm: udevd Not tainted 6.17.0-rc2-next-20250818-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:trace_lock_acquire include/trace/events/lock.h:24 [inline] RIP: 0010:lock_acquire+0x5f/0x360 kernel/locking/lockdep.c:5831 Code: 89 44 24 58 0f 1f 44 00 00 65 8b 05 5f f4 23 11 83 f8 08 0f 83 b8 01 00 00 89 c0 48 0f a3 05 48 6e 26 0e 73 16 e8 61 02 09 00 <84> c0 75 0d f6 05 5e 51 10 0e 01 0f 84 d7 01 00 00 83 3d 69 9f 26 RSP: 0018:ffffc90000a08c00 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 0000000000000000 RCX: b229d1b7caf02f00 RDX: 0000000000000000 RSI: ffffffff8c0358e0 RDI: ffffffff8c0358a0 RBP: ffffffff81adb4a2 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f87947 R12: 0000000000000000 R13: ffff8880b8727a98 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f5c91f82880(0000) GS:ffff888125b0b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c91f7e000 CR3: 0000000025e50000 CR4: 00000000003526f0 Call Trace: __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xa2/0xf0 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1765 [inline] __hrtimer_run_queues+0x602/0xc60 kernel/time/hrtimer.c:1825 hrtimer_interrupt+0x45b/0xaa0 kernel/time/hrtimer.c:1887 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1039 [inline] __sysvec_apic_timer_interrupt+0x108/0x410 arch/x86/kernel/apic/apic.c:1056 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa8/0x110 kernel/locking/spinlock.c:194 Code: 74 05 e8 3b 52 48 f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 23 ff 10 f6 65 8b 05 bc 50 42 07 85 c0 74 40 48 c7 04 24 0e 36 RSP: 0018:ffffc9000aea7400 EFLAGS: 00000206 RAX: b229d1b7caf02f00 RBX: 0000000000000a06 RCX: b229d1b7caf02f00 RDX: 0000000000000000 RSI: ffffffff8c0358e0 RDI: 0000000000000001 RBP: ffffc9000aea7490 R08: ffffffff8fc3ca37 R09: 1ffffffff1f87946 R10: dffffc0000000000 R11: fffffbfff1f87947 R12: dffffc0000000000 R13: ffffc9000aea7638 R14: ffff88801be90098 R15: 1ffff920015d4e80 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] unlock_page_lruvec_irqrestore include/linux/memcontrol.h:1514 [inline] folios_put_refs+0x4ef/0x640 mm/swap.c:989 free_pages_and_swap_cache+0x4be/0x520 mm/swap_state.c:267 __tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline] tlb_batch_pages_flush mm/mmu_gather.c:149 [inline] tlb_flush_mmu_free mm/mmu_gather.c:397 [inline] tlb_flush_mmu+0x3a0/0x680 mm/mmu_gather.c:404 tlb_finish_mmu+0xc3/0x1d0 mm/mmu_gather.c:497 vms_clear_ptes+0x42c/0x540 mm/vma.c:1235 vms_complete_munmap_vmas+0x206/0x8a0 mm/vma.c:1277 do_vmi_align_munmap+0x358/0x420 mm/vma.c:1536 do_vmi_munmap+0x253/0x2e0 mm/vma.c:1584 __vm_munmap+0x23b/0x3d0 mm/vma.c:3155 __do_sys_munmap mm/mmap.c:1080 [inline] __se_sys_munmap mm/mmap.c:1077 [inline] __x64_sys_munmap+0x60/0x70 mm/mmap.c:1077 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5c9191e097 Code: 73 01 c3 48 8b 0d 61 2d 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 31 2d 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc500d34a8 EFLAGS: 00000246 ORIG_RAX: 000000000000000b RAX: ffffffffffffffda RBX: 000055bc35f3a7e0 RCX: 00007f5c9191e097 RDX: 000055bc35f2ee48 RSI: 0000000000040000 RDI: 00007f5c917e0000 RBP: 0000000000000018 R08: 0000000000000040 R09: 0000000000000003 R10: 000055bc35f2f0d0 R11: 0000000000000246 R12: 000055bc35f2f0d0 R13: 00007f5c920a939c R14: 0000000000042e00 R15: 0000000000000009 rcu: rcu_preempt kthread starved for 10506 jiffies! g11805 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:27560 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5357 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0x165/0x360 kernel/sched/core.c:7058 schedule_timeout+0x12b/0x270 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x301/0x1540 kernel/rcu/tree.c:2083 rcu_gp_kthread+0x99/0x390 kernel/rcu/tree.c:2285 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 36 Comm: kworker/u8:2 Not tainted 6.17.0-rc2-next-20250818-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:342 [inline] RIP: 0010:smp_call_function_many_cond+0xd33/0x12d0 kernel/smp.c:877 Code: 45 8b 2c 24 44 89 ee 83 e6 01 31 ff e8 e6 5c 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 91 58 0b 00 eb 38 f3 90 <42> 0f b6 04 2b 84 c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 75 58 RSP: 0000:ffffc90000ac7660 EFLAGS: 00000293 RAX: ffffffff81b44e5b RBX: 1ffff110170e7f61 RCX: ffff8881436c9e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000ac77e0 R08: ffffffff8fc3ca37 R09: 1ffffffff1f87946 R10: dffffc0000000000 R11: fffffbfff1f87947 R12: ffff8880b873fb08 R13: dffffc0000000000 R14: ffff8880b863b1c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff888125a0b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32f1aff8 CR3: 000000000e136000 CR4: 00000000003526f0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1044 on_each_cpu include/linux/smp.h:71 [inline] smp_text_poke_sync_each_cpu arch/x86/kernel/alternative.c:2653 [inline] smp_text_poke_batch_finish+0x5f9/0x1130 arch/x86/kernel/alternative.c:2863 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x128/0x250 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xad/0x240 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245