kthread+0x2da/0x360 kernel/kthread.c:288
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354
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.284-syzkaller-04990-g104cc535f912 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 ab 0a 00 41 83 e6 01 75 0a e8 42 a8 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: ffffffff81598e81 RBX: 1ffff1103ebb7f1f RCX: ffff8881f5d6ee40
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff8881f5dbf990 R08: ffffffff81598e53 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: 00007f03fc032988 CR3: 0000000005e0e000 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: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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 12345 Comm: syz-executor.0 Not tainted 5.4.284-syzkaller-04990-g104cc535f912 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__kasan_check_write+0x0/0x10 mm/kasan/common.c:99
Code: 6e 7e ff 80 e8 09 00 00 c3 90 65 48 8b 05 a8 9a 6e 7e ff 88 e8 09 00 00 c3 90 89 f6 48 8b 0c 24 31 d2 e9 93 22 00 00 0f 1f 00 <89> f6 48 8b 0c 24 ba 01 00 00 00 e9 80 22 00 00 55 41 56 53 48 89
RSP: 0018:ffff8881e35d7cb8 EFLAGS: 00000097
RAX: 0000000000000004 RBX: 1ffff1103c6bafa0 RCX: 00000000e35d7d03
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff8772c360
RBP: ffff8881e35d7d90 R08: ffffffff8295a975 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881e35d7d00
R13: ffffffff8772c360 R14: 1ffff1103c6baf9c R15: dffffc0000000000
FS: 000055556c346480(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f03fba63d58 CR3: 00000001e080e000 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:693 [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+0xec/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
RIP: 0033:0x7f03fbf00c9a
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:00007ffe91368300 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f03fbf00c9a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000032 R08: 0000001b2d960000 R09: 00007f03fc03105c
R10: 00007ffe91368450 R11: 0000000000000293 R12: 00007f03fba85418
R13: ffffffffffffffff R14: 00007f03fba85000 R15: 0000000000013d7b