watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [kworker/u4:1:9]
Modules linked in:
CPU: 1 PID: 9 Comm: kworker/u4:1 Not tainted 5.10.186-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
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 ca e7 0a 00 41 83 e5 01 75 0a e8 0f e4 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:ffffc90000097720 EFLAGS: 00000293
RAX: ffffffff815fa3f4 RBX: 1ffff92000012eed RCX: ffff88810024bb40
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000097810 R08: ffffffff815fa3c6 R09: ffffed103ee0aec9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: ffffc90000097768 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca596dad58 CR3: 000000000660f000 CR4: 00000000003526a0
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:1300 [inline]
text_poke_bp_batch+0x1d4/0x600 arch/x86/kernel/alternative.c:1491
text_poke_flush arch/x86/kernel/alternative.c:1659 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1666
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:2298
worker_thread+0xaea/0x1510 kernel/workqueue.c:2444
kthread+0x34b/0x3d0 kernel/kthread.c:313
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 25871 Comm: syz-executor.3 Not tainted 5.10.186-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:135 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x282/0x2a0 mm/kasan/generic.c:189
Code: 39 06 4c 89 cb 4d 85 c9 0f 84 56 ff ff ff 4c 8d 4c 3e ff 4d 89 ca 49 c1 ea 03 4d 01 c2 4c 39 d3 75 11 41 83 e1 07 49 0f be 1a <49> 39 d9 0f 8c 31 ff ff ff 0f b6 d2 e8 0d f3 ff ff 34 01 e9 22 ff
RSP: 0018:ffffc90000ba7c58 EFLAGS: 00000006
RAX: 0000000000000001 RBX: 0000000000000004 RCX: ffffffff84af650c
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff87113f00
RBP: ffffc90000ba7c80 R08: dffffc0000000000 R09: 0000000000000003
R10: fffffbfff0e227e0 R11: dffffc0000000001 R12: 1ffffffff0e227e0
R13: 0000000000000001 R14: fffffbfff0e227e1 R15: dffffc0000000000
FS: 0000555557274480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca59719f58 CR3: 000000010e3de000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37
instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
atomic_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:705 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:82 [inline]
do_raw_spin_lock_flags include/linux/spinlock.h:195 [inline]
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline]
_raw_spin_lock_irqsave+0xec/0x210 kernel/locking/spinlock.c:159
vga_put drivers/gpu/vga/vgaarb.c:578 [inline]
vga_arb_release+0x203/0x950 drivers/gpu/vga/vgaarb.c:1370
__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+0xbc/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:0x7f9e36b90a1a
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:00007ffdd87adbb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f9e36b90a1a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007f9e36cb2980 R08: 0000001b2ce60000 R09: 00007ffdd87ba0b0
R10: 0000000000040ec6 R11: 0000000000000293 R12: 000000000015260b
R13: ffffffffffffffff R14: 00007f9e36715000 R15: 00000000001522ca