rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=78dc/1/0x4000000000000000 softirq=7973/7977 fqs=5 rcu: (detected by 0, t=10502 jiffies, g=9185, q=1151 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5214 Comm: udevadm Not tainted 6.9.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__lock_acquire+0xc3a/0x1fd0 kernel/locking/lockdep.c:5107 Code: 00 00 48 c7 c0 60 36 6f 94 48 c1 e8 03 48 bf 00 00 00 00 00 fc ff df 0f b6 04 38 84 c0 0f 85 aa 0c 00 00 83 3d 96 a9 fc 12 00 <75> 39 48 63 9c 24 88 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 00 RSP: 0018:ffffc90000a08a30 EFLAGS: 00000046 RAX: 0000000000000004 RBX: 0000000000094902 RCX: ffffffff946f3603 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffff88801578e500 R08: ffffffff92efb60f R09: 1ffffffff25df6c1 R10: dffffc0000000000 R11: fffffbfff25df6c2 R12: 0000000000000001 R13: ffff88801578da00 R14: 1ffff11002af1ca4 R15: ffff88801578e520 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f302f373440 CR3: 000000001e31a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xab/0xca0 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 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:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:104 [inline] RIP: 0010:lock_is_held_type+0x6e/0x190 kernel/locking/lockdep.c:5821 Code: 2c 25 80 d3 03 00 41 83 bd d4 0a 00 00 00 0f 85 da 00 00 00 41 89 f6 49 89 ff 48 c7 04 24 00 00 00 00 9c 8f 04 24 4c 8b 24 24 48 c7 c7 60 c5 ca 8b e8 55 1b 00 00 65 ff 05 0e 89 8b 74 41 83 RSP: 0018:ffffc90004507770 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: ffff88801578da00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff88802b763aa0 RBP: ffff88802b763940 R08: ffffffff8b6bcce6 R09: ffffffff8b6bcbf9 R10: 0000000000000004 R11: ffff88801578da00 R12: 0000000000000246 R13: ffff88801578da00 R14: 00000000ffffffff R15: ffff88802b763aa0 lock_is_held include/linux/lockdep.h:231 [inline] mt_locked lib/maple_tree.c:781 [inline] mt_slot lib/maple_tree.c:788 [inline] mas_next_slot+0xb5d/0xf90 lib/maple_tree.c:4689 mas_find+0x950/0xbb0 lib/maple_tree.c:6068 unmap_vmas+0x42c/0x5f0 mm/memory.c:1886 exit_mmap+0x2cb/0xd60 mm/mmap.c:3267 __mmput+0x115/0x3c0 kernel/fork.c:1346 exit_mm+0x220/0x310 kernel/exit.c:569 do_exit+0x99e/0x27e0 kernel/exit.c:865 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 __do_sys_exit_group kernel/exit.c:1038 [inline] __se_sys_exit_group kernel/exit.c:1036 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1036 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f302eefca90 Code: Unable to access opcode bytes at 0x7f302eefca66. RSP: 002b:00007ffe7343de68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f302efed860 RCX: 00007f302eefca90 RDX: 00000000000000e7 RSI: 000000000000003c RDI: 0000000000000000 RBP: 00007f302efed860 R08: 00007ffe7343dca0 R09: 00007ffe7343dda0 R10: 00007ffe7343dd00 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f302eff1658 R15: 0000000000000001 rcu: rcu_preempt kthread starved for 10462 jiffies! g9185 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:24944 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f0/0x390 kernel/kthread.c:388 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: 0 PID: 50 Comm: kworker/u8:3 Not tainted 6.9.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1894/0x2a00 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 15 db 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c0 d6 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 a4 d6 RSP: 0018:ffffc90000ba76e0 EFLAGS: 00000293 RAX: ffffffff818a29cc RBX: 1ffff110172a8861 RCX: ffff888015191e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000ba78e0 R08: ffffffff818a299b R09: 1ffffffff25df6a0 R10: dffffc0000000000 R11: fffffbfff25df6a1 R12: dffffc0000000000 R13: ffff8880b9544308 R14: ffff8880b943f780 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f32bf595ed8 CR3: 000000000e134000 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:2086 [inline] text_poke_bp_batch+0x726/0xb30 arch/x86/kernel/alternative.c:2358 text_poke_flush arch/x86/kernel/alternative.c:2487 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2494 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:3254 [inline] process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244