watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [kworker/u4:0:7] Modules linked in: CPU: 0 PID: 7 Comm: kworker/u4:0 Not tainted 5.4.265-syzkaller-04843-g1b3143b9b166 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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 6d b0 0a 00 41 83 e6 01 75 0a e8 72 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: ffffffff81599971 RBX: 1ffff1103ebb7f1f RCX: ffff8881f5d63f00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881f5dbf990 R08: ffffffff81599943 R09: ffffed103edeb189 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103ebb7f18 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd92fcb538 CR3: 00000001e9387000 CR4: 00000000003406b0 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:1038 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 727 Comm: syz-executor.0 Not tainted 5.4.265-syzkaller-04843-g1b3143b9b166 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:memory_is_nonzero mm/kasan/generic.c:107 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:134 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:165 [inline] RIP: 0010:check_memory_region_inline mm/kasan/generic.c:181 [inline] RIP: 0010:check_memory_region+0x56/0x280 mm/kasan/generic.c:191 Code: b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 4c 8d 54 37 ff 49 c1 ea 03 49 bb 01 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c 29 cd <48> 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da 41 RSP: 0018:ffff8881e79cfc98 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 1ffff1103cf39fa0 RCX: ffffffff8450cb29 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8881e79cfd00 RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed103cf39fa0 R10: 1ffff1103cf39fa0 R11: dffffc0000000001 R12: ffff8881e79cfd00 R13: ffffffff87126360 R14: ffffed103cf39fa1 R15: dffffc0000000000 FS: 00005555565a5480(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faa61567d58 CR3: 00000001e9387000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: atomic_try_cmpxchg include/asm-generic/atomic-instrumented.h:694 [inline] queued_spin_lock include/asm-generic/qspinlock.h:78 [inline] do_raw_spin_lock_flags include/linux/spinlock.h:193 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irqsave+0xf9/0x210 kernel/locking/spinlock.c:159 vga_put drivers/gpu/vga/vgaarb.c:579 [inline] vga_arb_release+0x200/0x960 drivers/gpu/vga/vgaarb.c:1371 __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