rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=4af4/1/0x4000000000000000 softirq=65441/65442 fqs=0 (detected by 1, t=10506 jiffies, g=104273, q=39 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3002 Comm: udevd Not tainted 6.1.73-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__lock_release kernel/locking/lockdep.c:5320 [inline] RIP: 0010:lock_release+0x1ed/0xa20 kernel/locking/lockdep.c:5682 Code: 00 00 01 00 00 00 48 c7 c0 64 81 73 8e 48 c1 e8 03 42 0f b6 04 38 84 c0 4c 8b 74 24 10 0f 85 6e 05 00 00 83 3d 27 15 09 0d 00 <0f> 84 c4 03 00 00 49 8d 96 d8 0a 00 00 48 89 d0 48 c1 e8 03 48 89 RSP: 0018:ffffc90000007a20 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 1ffff92000000f54 RCX: ffffc90000007a03 RDX: 0000000000000000 RSI: ffffffff8aebf320 RDI: ffffffff8b3cfa80 RBP: ffffc90000007b50 R08: dffffc0000000000 R09: fffffbfff1ce6996 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000f50 R13: 0000000000000046 R14: ffff88807cf85940 R15: dffffc0000000000 FS: 00007fd75e956c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f250e7ac018 CR3: 000000002798b000 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:149 [inline] _raw_spin_unlock_irqrestore+0x75/0x130 kernel/locking/spinlock.c:194 debug_object_activate+0x3ed/0x890 lib/debugobjects.c:734 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x30/0x390 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0x728/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 af 7c 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:ffffc900031dfbe0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200063bf88 RCX: ffffffff816afe32 RDX: dffffc0000000000 RSI: ffffffff8aebf7c0 RDI: ffffffff8b3cfa80 RBP: ffffc900031dfd38 R08: dffffc0000000000 R09: fffffbfff209224b R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200063bf84 R13: dffffc0000000000 R14: ffffc900031dfc40 R15: 0000000000000246 __might_fault+0xbd/0x110 mm/memory.c:5811 rseq_get_rseq_cs kernel/rseq.c:132 [inline] rseq_ip_fixup kernel/rseq.c:252 [inline] __rseq_handle_notify_resume+0x11e/0x1500 kernel/rseq.c:300 rseq_handle_notify_resume include/linux/sched.h:2329 [inline] resume_user_mode_work include/linux/resume_user_mode.h:61 [inline] exit_to_user_mode_loop+0xb4/0x100 kernel/entry/common.c:171 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:0x7fd75e51a37f Code: af 6a 0d 00 f7 d8 64 89 02 48 83 c8 ff 44 89 c7 48 89 04 24 e8 e1 fc f9 ff 48 8b 04 24 48 83 c4 28 c3 c3 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 7a 6a 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd42106548 EFLAGS: 00000206 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 000055c6665cbcf0 RCX: 00007fd75e51a37f RDX: 00007fd75e5f1b00 RSI: 000055c6665aa010 RDI: 000000000000000d RBP: 000055c6666b85a0 R08: 0000000000000000 R09: 0000000010000000 R10: 0000000000000812 R11: 0000000000000206 R12: 000055c6665d8410 R13: 00000000000000ff R14: 000055c6647811c4 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10506 jiffies! g104273 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:24384 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:1674 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1873 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: 18197 Comm: kworker/u4:6 Not tainted 6.1.73-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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 0c 43 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 97 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:ffffc90004ccf5a0 EFLAGS: 00000293 RAX: ffffffff817f334b RBX: 1ffff1101730841d RCX: ffff8880889ad940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004ccf980 R08: ffffffff817f3314 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: 000000002087b000 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: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