rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=5e24/1/0x4000000000000000 softirq=110533/110533 fqs=1 rcu: (detected by 0, t=10504 jiffies, g=165537, q=19 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4204 Comm: udevadm Not tainted 6.3.0-rc4-syzkaller-00034-gfcd476ea6a88 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/17/2023 RIP: 0010:debug_smp_processor_id+0xb/0x20 lib/smp_processor_id.c:60 Code: f9 e9 64 ff ff ff 48 c7 c7 c0 2c fc 8c 48 89 de e8 da 48 c8 f9 e9 6d ff ff ff 0f 1f 44 00 00 f3 0f 1e fa 48 c7 c7 20 fe 37 8b <48> c7 c6 60 fe 37 8b eb 0c 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 RSP: 0018:ffffc900001e0ab8 EFLAGS: 00000083 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8169ff04 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8b37fe20 RBP: ffffc900001e0c28 R08: dffffc0000000000 R09: fffffbfff1ca70ee R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200003c164 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fe719310840(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f13aff72000 CR3: 0000000079977000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:694 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xe3/0x520 kernel/locking/lockdep.c:5640 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x65/0x420 lib/debugobjects.c:739 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline] debug_deactivate+0x1b/0x1f0 kernel/time/hrtimer.c:481 __run_hrtimer kernel/time/hrtimer.c:1653 [inline] __hrtimer_run_queues+0x321/0xd10 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x13f/0x480 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:finish_lock_switch+0x95/0x110 kernel/sched/core.c:5066 Code: 45 31 c9 68 47 7d 60 81 e8 c8 80 09 00 48 83 c4 08 4c 89 ff e8 0c c7 fe ff 66 90 4c 89 ff e8 72 e6 49 09 e8 2d 70 30 00 fb 5b <41> 5c 41 5d 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 83 RSP: 0018:ffffc9000bcf7938 EFLAGS: 00000286 RAX: 91b4f0d0a3c30b00 RBX: ffff88807cd5d7f4 RCX: ffffffff91adb003 RDX: dffffc0000000000 RSI: ffffffff8aea7d60 RDI: ffffffff8b37fe80 RBP: ffffc9000bcf79b0 R08: dffffc0000000000 R09: fffffbfff1ca70ee R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff1101732797b R14: ffff8880b993cbd8 R15: ffff8880b993be80 finish_task_switch+0x134/0x650 kernel/sched/core.c:5184 context_switch kernel/sched/core.c:5310 [inline] __schedule+0x1743/0x4630 kernel/sched/core.c:6625 preempt_schedule_common+0x83/0xc0 kernel/sched/core.c:6794 preempt_schedule+0xdd/0xf0 kernel/sched/core.c:6818 preempt_schedule_thunk+0x1a/0x20 arch/x86/entry/thunk_64.S:34 rcu_read_unlock_sched include/linux/rcupdate.h:888 [inline] fd_install+0x372/0x4c0 fs/file.c:623 do_sys_openat2+0x427/0x500 fs/open.c:1354 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe718f25697 Code: 25 00 00 41 00 3d 00 00 41 00 74 37 64 8b 04 25 18 00 00 00 85 c0 75 5b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 85 00 00 00 48 83 c4 68 5d 41 5c c3 0f 1f RSP: 002b:00007ffec3fd7c00 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005594e2da42a0 RCX: 00007fe718f25697 RDX: 0000000000080000 RSI: 00007ffec3fd7d38 RDI: 00000000ffffff9c RBP: 00007ffec3fd7d38 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 00005594e2da42a0 R14: 0000000000000001 R15: 00005594e2da4da0 rcu: rcu_preempt kthread starved for 10495 jiffies! g165537 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:25952 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1608 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1807 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 27960 Comm: kworker/u4:16 Not tainted 6.3.0-rc4-syzkaller-00034-gfcd476ea6a88 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/17/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x23e4/0x3600 kernel/smp.c:987 Code: 0f b6 04 03 84 c0 75 7f 45 8b 37 44 89 f6 83 e6 01 31 ff e8 5e 0f 0b 00 41 83 e6 01 4d 89 e6 75 07 e8 a0 0b 0b 00 eb 40 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 10 41 f7 07 01 RSP: 0018:ffffc9000ab8f5c0 EFLAGS: 00000293 RAX: ffffffff817f4774 RBX: 1ffff11017328561 RCX: ffff888021e2ba80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000ab8f9c0 R08: ffffffff817f4742 R09: fffffbfff205c639 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b983cfc0 R13: 0000000000000001 R14: ffff8880b983cfc0 R15: ffff8880b9942b08 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffbd9f48d38 CR3: 000000000cd30000 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:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1770 [inline] text_poke_bp_batch+0x2bf/0x950 arch/x86/kernel/alternative.c:1970 text_poke_flush arch/x86/kernel/alternative.c:2161 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x132/0x250 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:803 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308