kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299 watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [kworker/u4:3:7919] Modules linked in: CPU: 0 PID: 7919 Comm: kworker/u4:3 Not tainted 5.10.210-syzkaller-00394-g70b6ab09a34b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:229 [inline] RIP: 0010:smp_call_function_single+0x278/0x510 kernel/smp.c:517 Code: 0f 85 18 02 00 00 44 8b 6c 24 48 44 89 ee 83 e6 01 31 ff e8 7a f0 0a 00 41 83 e5 01 75 0a e8 bf ec 0a 00 e9 eb 00 00 00 f3 90 <42> 0f b6 04 23 84 c0 75 15 f7 44 24 48 01 00 00 00 0f 84 cd 00 00 RSP: 0018:ffffc90002c1f720 EFLAGS: 00000293 RAX: ffffffff815fbd64 RBX: 1ffff92000583eed RCX: ffff888111e193c0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90002c1f810 R08: ffffffff815fbd36 R09: ffffed103ee2aec9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc90002c1f768 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000100 CR3: 000000000660f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smp_call_function_many_cond+0x94e/0xa30 kernel/smp.c:653 smp_call_function_many kernel/smp.c:716 [inline] smp_call_function kernel/smp.c:738 [inline] on_each_cpu+0xa8/0x1a0 kernel/smp.c:837 text_poke_sync arch/x86/kernel/alternative.c:1313 [inline] text_poke_bp_batch+0x1d4/0x600 arch/x86/kernel/alternative.c:1504 text_poke_flush arch/x86/kernel/alternative.c:1672 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1679 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:126 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459 jump_label_update+0x379/0x400 kernel/jump_label.c:825 static_key_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177 static_key_enable+0x1a/0x30 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x450 mm/kfence/core.c:624 process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2301 worker_thread+0xaea/0x1510 kernel/workqueue.c:2447 kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 29755 Comm: syz-executor.0 Not tainted 5.10.210-syzkaller-00394-g70b6ab09a34b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:write_comp_data kernel/kcov.c:218 [inline] RIP: 0010:__sanitizer_cov_trace_cmp8+0x10/0x80 kernel/kcov.c:264 Code: 89 44 0a 20 49 ff c1 4c 89 09 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 4c 8b 45 08 65 48 8b 0d 60 c1 97 7e <65> 8b 05 65 c1 97 7e a9 00 01 ff 00 74 10 a9 00 01 00 00 74 57 83 RSP: 0018:ffffc90000170ca8 EFLAGS: 00000046 RAX: ffffffff8271f336 RBX: ffff888113806a08 RCX: ffff888111f7a780 RDX: 0000000000010001 RSI: ffff888113806a08 RDI: ffff888113806a08 RBP: ffffc90000170ca8 R08: ffffffff8271f35a R09: 0000000000000003 R10: fffff5200002e19c R11: dffffc0000000001 R12: 1ffff11022700d41 R13: dffffc0000000000 R14: ffff8881f71499a0 R15: ffff888113806a08 FS: 00005555560a4480(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000100 CR3: 000000010c087000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: timerqueue_add+0x4a/0x270 lib/timerqueue.c:35 enqueue_hrtimer+0xad/0x200 kernel/time/hrtimer.c:989 __run_hrtimer kernel/time/hrtimer.c:1600 [inline] __hrtimer_run_queues+0x447/0xa50 kernel/time/hrtimer.c:1647 hrtimer_interrupt+0x39a/0x8b0 kernel/time/hrtimer.c:1709 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline] __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1100 asm_call_irq_on_stack+0xf/0x20 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline] sysvec_apic_timer_interrupt+0x85/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:__list_del_entry_valid+0x0/0x120 lib/list_debug.c:43 Code: e6 4c 89 f1 e8 50 da 54 02 0f 0b 48 c7 c7 00 0c 60 85 4c 89 f6 4c 89 e1 e8 3c da 54 02 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 90 <55> 48 89 e5 41 57 41 56 41 54 53 49 89 fe 49 bc 00 00 00 00 00 fc RSP: 0018:ffffc90000e6fcd8 EFLAGS: 00000216 RAX: ffff88810b22f550 RBX: ffff88810b216e78 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff88810b216e78 RBP: ffffc90000e6fd50 R08: dffffc0000000000 R09: 0000000000000003 R10: fffff520001cdf8c R11: dffffc0000000001 R12: ffff88810b22f400 R13: 1ffff11021642dcf R14: dffffc0000000000 R15: ffff88810b22f400 snd_timer_close sound/core/timer.c:463 [inline] snd_timer_user_release+0x121/0x2c0 sound/core/timer.c:1520 __fput+0x309/0x760 fs/file_table.c:281 ____fput+0x15/0x20 fs/file_table.c:314 task_work_run+0x129/0x190 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop+0xbf/0xd0 kernel/entry/common.c:172 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline] syscall_exit_to_user_mode+0xc5/0x1d0 kernel/entry/common.c:274 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f4a265aad70 Code: 00 00 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d4 e8 10 32 00 00 80 3d 91 31 10 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c RSP: 002b:00007ffc09d4a788 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f4a265aad70 RDX: ffffffffffffffff RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00007f4a266d9f80 R08: 00007f4a2652e000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000202 R12: 00007ffc09d4a940 R13: 0000000000000000 R14: ffffffffffffffff R15: 00007f4a26562cb0