rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=6214/1/0x4000000000000000 softirq=84238/84239 fqs=1 rcu: (detected by 1, t=10505 jiffies, g=76233, q=476 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 16137 Comm: syz.9.2676 Not tainted 6.13.0-rc7-syzkaller-00043-g619f0b6fad52 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:match_held_lock+0x17/0xb0 kernel/locking/lockdep.c:5298 Code: 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 53 bd 01 00 00 00 48 39 77 10 74 67 48 89 fb 81 7f 20 00 00 20 00 <72> 59 48 8b 46 08 48 85 c0 75 11 31 ed 48 89 f7 31 f6 e8 52 fe ff RSP: 0018:ffffc90000007ce0 EFLAGS: 00000087 RAX: 0000000000000005 RBX: ffff88802ab2a908 RCX: ffff88802ab29e00 RDX: ffff88802ab29e00 RSI: ffff8880b862c898 RDI: ffff88802ab2a908 RBP: 0000000000000001 R08: ffffffff818ce81e R09: ffff8880127d0340 R10: dffffc0000000000 R11: ffffed10024fa06b R12: 0000000000000046 R13: ffff88802ab29e00 R14: 00000000ffffffff R15: ffff8880b862c898 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3041aff8 CR3: 000000004358a000 CR4: 0000000000350ef0 Call Trace: __lock_is_held kernel/locking/lockdep.c:5590 [inline] lock_is_held_type+0xa9/0x190 kernel/locking/lockdep.c:5921 lock_is_held include/linux/lockdep.h:249 [inline] __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0x2d9/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+0x112/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:cgroup_rstat_updated+0xaa/0xc30 kernel/cgroup/rstat.c:87 Code: 00 89 5c 24 1c 48 63 db bf 08 00 00 00 89 de e8 1c 71 07 00 83 fb 07 0f 87 db 06 00 00 e8 ce 6c 07 00 48 8d 1c dd 50 6b 2e 8e <48> 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 f0 d6 6d 00 RSP: 0018:ffffc900035e7000 EFLAGS: 00000293 RAX: ffffffff819815a2 RBX: ffffffff8e2e6b50 RCX: ffff88802ab29e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008 RBP: ffffc900035e7108 R08: ffffffff81981594 R09: 1ffffffff2854b10 R10: dffffc0000000000 R11: fffffbfff2854b11 R12: ffff88805a7d8000 R13: 0000000000000011 R14: 1ffff920006bce0c R15: dffffc0000000000 memcg_rstat_updated+0x4d/0x2f0 mm/memcontrol.c:582 __mod_memcg_lruvec_state+0x2b3/0x4d0 mm/memcontrol.c:766 __mod_lruvec_state mm/memcontrol.c:789 [inline] __lruvec_stat_mod_folio+0x1a8/0x300 mm/memcontrol.c:809 __folio_mod_stat mm/rmap.c:1301 [inline] __folio_remove_rmap mm/rmap.c:1593 [inline] folio_remove_rmap_ptes+0x14c/0x460 mm/rmap.c:1620 zap_present_folio_ptes mm/memory.c:1526 [inline] zap_present_ptes mm/memory.c:1585 [inline] zap_pte_range mm/memory.c:1627 [inline] zap_pmd_range mm/memory.c:1753 [inline] zap_pud_range mm/memory.c:1782 [inline] zap_p4d_range mm/memory.c:1803 [inline] unmap_page_range+0x1af0/0x4040 mm/memory.c:1824 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1914 exit_mmap+0x275/0xc20 mm/mmap.c:1672 __mmput+0x115/0x3c0 kernel/fork.c:1348 exit_mm+0x220/0x310 kernel/exit.c:570 do_exit+0x9ad/0x28e0 kernel/exit.c:925 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3017 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f93f5b85d29 Code: Unable to access opcode bytes at 0x7f93f5b85cff. RSP: 002b:00007f93f39f60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f93f5d75fa8 RCX: 00007f93f5b85d29 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f93f5d75fa8 RBP: 00007f93f5d75fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f93f5d75fac R13: 0000000000000000 R14: 00007fff42a67ff0 R15: 00007fff42a680d8 rcu: rcu_preempt kthread starved for 10500 jiffies! g76233 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:25976 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 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+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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 UID: 0 PID: 6329 Comm: kworker/u8:10 Not tainted 6.13.0-rc7-syzkaller-00043-g619f0b6fad52 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound toggle_allocation_gate 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 c6 e6 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 71 e2 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 55 e2 RSP: 0018:ffffc9000c3976e0 EFLAGS: 00000293 RAX: ffffffff8193a01b RBX: 1ffff110170c8c89 RCX: ffff888026aa8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000c3978e0 R08: ffffffff81939fea R09: 1ffffffff2854b10 R10: dffffc0000000000 R11: fffffbfff2854b11 R12: dffffc0000000000 R13: ffff8880b8646448 R14: ffff8880b873fac0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557d748808 CR3: 000000000e736000 CR4: 0000000000350ef0 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_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244