watchdog: BUG: soft lockup - CPU#1 stuck for 143s! [kworker/u4:1:11] Modules linked in: irq event stamp: 2128860 hardirqs last enabled at (2128859): [] asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 hardirqs last disabled at (2128860): [] sysvec_apic_timer_interrupt+0xa/0xc0 arch/x86/kernel/apic/apic.c:1118 softirqs last enabled at (2099362): [] __do_softirq kernel/softirq.c:605 [inline] softirqs last enabled at (2099362): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last enabled at (2099362): [] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 softirqs last disabled at (2099309): [] __do_softirq kernel/softirq.c:605 [inline] softirqs last disabled at (2099309): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last disabled at (2099309): [] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 CPU: 1 PID: 11 Comm: kworker/u4:1 Not tainted 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline] RIP: 0010:smp_call_function_many_cond+0x1fae/0x3460 kernel/smp.c:998 Code: 2f 44 89 ee 83 e6 01 31 ff e8 ae 43 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 39 40 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:ffffc900001075a0 EFLAGS: 00000293 RAX: ffffffff817f4bd9 RBX: 1ffff110171c8595 RCX: ffff888017f4bb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000107980 R08: ffffffff817f4ba2 R09: fffffbfff224624d R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b8e42ca8 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000000d08e000 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:1334 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1534 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1732 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xce/0x1b0 kernel/jump_label.c:237 static_key_disable+0x16/0x20 kernel/jump_label.c:245 toggle_allocation_gate+0x3e0/0x480 mm/kfence/core.c:818 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:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8165 Comm: syz.0.1054 Not tainted 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:lock_acquire+0x28a/0x5a0 kernel/locking/lockdep.c:5666 Code: 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 11 00 00 00 00 <66> 43 c7 44 25 15 00 00 43 c6 44 25 17 00 65 48 8b 04 25 28 00 00 RSP: 0018:ffffc90000007b40 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff92000000f74 RCX: ffffffff816b4e82 RDX: dffffc0000000000 RSI: ffffffff8b0c1340 RDI: ffffffff8b5d7800 RBP: ffffc90000007c98 R08: dffffc0000000000 R09: fffffbfff224627f R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000f70 R13: dffffc0000000000 R14: ffffc90000007ba0 R15: 0000000000000046 FS: 00007f9f1ceff6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9f1cefef98 CR3: 0000000029e3d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0x47/0x970 net/sched/sch_taprio.c:700 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 02 38 30 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 17 a8 ac f6 65 8b 05 d8 97 50 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90004eef5c0 EFLAGS: 00000206 RAX: dc7fb61c82c98300 RBX: 1ffff920009ddebc RCX: ffffffff816b024a RDX: dffffc0000000000 RSI: ffffffff8b0c01c0 RDI: 0000000000000001 RBP: ffffc90004eef650 R08: dffffc0000000000 R09: fffffbfff2246261 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920009ddeb8 R14: ffffc90004eef5e0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x121/0x1c0 kernel/sched/wait.c:208 __unix_dgram_recvmsg+0x5fe/0x1260 net/unix/af_unix.c:2454 ____sys_recvmsg+0x285/0x530 ___sys_recvmsg net/socket.c:2780 [inline] do_recvmmsg+0x46d/0xad0 net/socket.c:2874 __sys_recvmmsg net/socket.c:2953 [inline] __do_sys_recvmmsg net/socket.c:2976 [inline] __se_sys_recvmmsg net/socket.c:2969 [inline] __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2969 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f9f1c17e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9f1ceff038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f9f1c336058 RCX: 00007f9f1c17e719 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 00007f9f1c1f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f9f1c336058 R15: 00007ffd3d6554e8