rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (2 ticks this GP) idle=fd14/1/0x4000000000000000 softirq=28864/28864 fqs=2 rcu: (detected by 1, t=10504 jiffies, g=47189, q=216 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8925 Comm: syz-executor.3 Not tainted 6.10.0-rc3-syzkaller-00022-gcea2a26553ac #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:do_raw_spin_unlock+0x11/0x230 kernel/locking/spinlock_debug.c:139 Code: 71 7d 00 eb a1 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 b8 00 00 00 00 00 fc ff df 41 54 55 <53> 48 89 fb 48 83 c7 04 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 RSP: 0018:ffffc90000007e00 EFLAGS: 00000082 RAX: dffffc0000000000 RBX: ffff8880b922c9c0 RCX: ffffc90000007da0 RDX: 1ffff1100563515a RSI: ffffffff8b2cb260 RDI: ffff8880b922c9c0 RBP: 0000000000000046 R08: 0000000000000000 R09: fffffbfff1fc8d9a R10: ffffffff8fe46cd7 R11: 0000000000000002 R12: ffff8880b922cac0 R13: ffff88805fab1340 R14: ffff8880b922c9c0 R15: ffffffff88f9f160 FS: 00007f8d095596c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200a0030 CR3: 0000000023e76000 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:150 [inline] _raw_spin_unlock_irqrestore+0x22/0x80 kernel/locking/spinlock.c:194 __run_hrtimer kernel/time/hrtimer.c:1683 [inline] __hrtimer_run_queues+0x5a7/0xcc0 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 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+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 06 38 80 f6 48 89 df e8 ee b4 80 f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 05 f7 71 f6 65 8b 05 36 46 18 75 85 c0 74 16 5b RSP: 0018:ffffc9000350f718 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff8880414c2900 RCX: 1ffffffff285656e RDX: 0000000000000000 RSI: ffffffff8b2caf60 RDI: ffffffff8b900300 RBP: 0000000000000246 R08: 0000000000000001 R09: fffffbfff284dc6d R10: ffffffff9426e36f R11: 0000000000000001 R12: ffff8880414c28e8 R13: ffff88801bafe8c0 R14: 0000000000000246 R15: ffffc9000350f8b8 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __skb_try_recv_datagram+0x177/0x4f0 net/core/datagram.c:266 __unix_dgram_recvmsg+0x1d1/0xe50 net/unix/af_unix.c:2388 unix_dgram_recvmsg+0xd0/0x110 net/unix/af_unix.c:2490 sock_recvmsg_nosec net/socket.c:1046 [inline] ____sys_recvmsg+0x5fe/0x6b0 net/socket.c:2802 ___sys_recvmsg+0x115/0x1a0 net/socket.c:2846 do_recvmmsg+0x2ba/0x750 net/socket.c:2940 __sys_recvmmsg net/socket.c:3019 [inline] __do_sys_recvmmsg net/socket.c:3042 [inline] __se_sys_recvmmsg net/socket.c:3035 [inline] __x64_sys_recvmmsg+0x239/0x290 net/socket.c:3035 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8d0887cea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8d095590c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f8d089b4050 RCX: 00007f8d0887cea9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007f8d088ebff4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f8d089b4050 R15: 00007ffda35e87b8 rcu: rcu_preempt kthread starved for 10495 jiffies! g47189 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:26576 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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 PID: 35 Comm: kworker/u8:2 Not tainted 6.10.0-rc3-syzkaller-00022-gcea2a26553ac #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x4e7/0x1420 kernel/smp.c:855 Code: 0c 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 bb 37 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 f7 0c 00 00 8b 43 08 31 RSP: 0018:ffffc90000ab7908 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9246740 RCX: ffffffff8181adbb RDX: ffff888017ec3c00 RSI: ffffffff8181ad95 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffed1017248ce9 R13: 0000000000000001 R14: ffff8880b9246748 R15: ffff8880b933fdc0 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32e56000 CR3: 000000000d97a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2069 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2279 text_poke_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_flush arch/x86/kernel/alternative.c:2467 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:882 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:826 [inline] toggle_allocation_gate+0xf8/0x250 mm/kfence/core.c:818 process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244