watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [kworker/u4:0:7] Modules linked in: CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 5.4.276-syzkaller-04917-g58de09405d1e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__read_once_size include/linux/compiler.h:268 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:109 [inline] RIP: 0010:smp_call_function_single+0x235/0x4a0 kernel/smp.c:311 Code: 0f 85 df 01 00 00 44 8b 74 24 58 44 89 f6 83 e6 01 31 ff e8 3d b0 0a 00 41 83 e6 01 75 0a e8 42 ad 0a 00 e9 f4 00 00 00 f3 90 <42> 0f b6 04 2b 84 c0 75 15 f7 44 24 58 01 00 00 00 0f 84 d6 00 00 RSP: 0018:ffff8881f5dbf8a0 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffffffff81598be1 RBX: 1ffff1103ebb7f1f RCX: ffff8881f5d68fc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881f5dbf990 R08: ffffffff81598bb3 R09: ffffed103edcb189 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103ebb7f18 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f59b54c1d58 CR3: 000000000580e000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smp_call_function_many+0x6fe/0x9b0 kernel/smp.c:451 smp_call_function kernel/smp.c:509 [inline] on_each_cpu+0xa5/0x1a0 kernel/smp.c:616 text_poke_bp_batch+0x11a/0x2b0 arch/x86/kernel/alternative.c:1051 arch_jump_label_transform_apply+0x27/0x40 arch/x86/kernel/jump_label.c:167 static_key_enable_cpuslocked+0x12c/0x240 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xb1/0x240 mm/kfence/core.c:624 process_one_work+0x765/0xd20 kernel/workqueue.c:2290 worker_thread+0xaef/0x1470 kernel/workqueue.c:2436 kthread+0x2da/0x360 kernel/kthread.c:288 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8510 Comm: syz-executor.3 Not tainted 5.4.276-syzkaller-04917-g58de09405d1e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:200 [inline] RIP: 0010:atomic_try_cmpxchg include/asm-generic/atomic-instrumented.h:695 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:78 [inline] RIP: 0010:do_raw_spin_lock include/linux/spinlock.h:181 [inline] RIP: 0010:__raw_spin_lock_irq include/linux/spinlock_api_smp.h:129 [inline] RIP: 0010:_raw_spin_lock_irq+0xaa/0x1b0 kernel/locking/spinlock.c:167 Code: 00 00 00 c7 44 24 20 00 00 00 00 4c 89 ef be 04 00 00 00 e8 68 d8 42 fd 4c 89 ff be 04 00 00 00 e8 5b d8 42 fd 43 0f b6 04 26 <84> c0 0f 85 aa 00 00 00 8b 44 24 20 b9 01 00 00 00 f0 41 0f b1 4d RSP: 0018:ffff8881f6e09cc0 EFLAGS: 00000097 RAX: 0000000000000004 RBX: 1ffff1103edc1398 RCX: ffffffff845118c5 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8881f6e09ce0 RBP: ffff8881f6e09d50 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f6e4b600 R14: 1ffff1103edc139c R15: ffff8881f6e09ce0 FS: 0000555556e04480(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555558a9430 CR3: 00000001efbb3000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1583 [inline] __hrtimer_run_queues+0x3fe/0xb90 kernel/time/hrtimer.c:1643 hrtimer_interrupt+0x38a/0x890 kernel/time/hrtimer.c:1705 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1122 [inline] smp_apic_timer_interrupt+0x110/0x460 arch/x86/kernel/apic/apic.c:1147 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x4d/0x80 kernel/locking/spinlock.c:191 Code: 74 0c 48 c7 c7 90 3b 8b 85 e8 9f 01 43 fd 48 83 3d 77 1f 3a 01 00 74 36 48 89 df e8 6d d7 fa fc 66 90 4c 89 34 24 ff 34 24 9d 01 00 00 00 e8 e9 c3 f3 fc 65 8b 05 4e 71 b1 7b 85 c0 74 08 48 RSP: 0018:ffff8881ea927c68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: ffff8881eed06d38 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000246 RDI: ffff8881eed06d38 RBP: ffff8881eed06cf0 R08: ffffffff835d2f01 R09: ffffed103c5a488e R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881dbae3c00 R13: dffffc0000000000 R14: 0000000000000246 R15: ffff8881eed06d38 spin_unlock_irqrestore include/linux/spinlock.h:393 [inline] snd_timer_stop1+0x793/0x8f0 sound/core/timer.c:631 snd_timer_stop sound/core/timer.c:681 [inline] snd_timer_close_locked+0x1aa/0x860 sound/core/timer.c:371 snd_timer_close sound/core/timer.c:433 [inline] snd_timer_user_release+0x11a/0x230 sound/core/timer.c:1488 __fput+0x262/0x680 fs/file_table.c:281 task_work_run+0x140/0x170 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x190/0x1a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7efdd6727d5a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffd9e32d330 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007efdd6727d5a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000032 R08: 0000001b2e860000 R09: 00007efdd6856f8c R10: 00007ffd9e32d480 R11: 0000000000000293 R12: 00007efdd62ab768 R13: ffffffffffffffff R14: 00007efdd62ab000 R15: 0000000000015b23