kthread+0x421/0x510 kernel/kthread.c:337
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
watchdog: BUG: soft lockup - CPU#1 stuck for 225s! [kworker/u4:4:1376]
Modules linked in:
CPU: 1 PID: 1376 Comm: kworker/u4:4 Not tainted 5.15.148-syzkaller-1068931-g3802b45594e1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline]
RIP: 0010:smp_call_function_many_cond+0x843/0x9b0 kernel/smp.c:969
Code: 45 8b 7d 00 44 89 fe 83 e6 01 31 ff e8 06 a6 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 41 a2 0a 00 eb 38 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 25 a2
RSP: 0018:ffffc900030f7880 EFLAGS: 00000293
RAX: ffffffff81656b7b RBX: 1ffff1103ee07971 RCX: ffff88810f2fbb40
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900030f7998 R08: ffffffff81656b4a R09: ffffed103ee27053
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff8881f703cb88 R14: ffff8881f7138280 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffde19cf238 CR3: 000000000620f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1135
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:1196 [inline]
text_poke_bp_batch+0x1c4/0x5d0 arch/x86/kernel/alternative.c:1387
text_poke_flush arch/x86/kernel/alternative.c:1555 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1562
arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146
__jump_label_update+0x36a/0x380 kernel/jump_label.c:459
jump_label_update+0x3af/0x450 kernel/jump_label.c:830
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/0x460 mm/kfence/core.c:729
process_one_work+0x6bb/0xc10 kernel/workqueue.c:2317
worker_thread+0xad5/0x12a0 kernel/workqueue.c:2464
kthread+0x421/0x510 kernel/kthread.c:337
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 12258 Comm: syz-executor.0 Not tainted 5.15.148-syzkaller-1068931-g3802b45594e1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:__raw_callee_save___pv_queued_spin_unlock+0x10/0x17
Code: 41 51 41 52 41 53 e8 cb 0a 00 00 41 5b 41 5a 41 59 41 58 5f 5e 5a 59 5d c3 90 55 48 89 e5 52 b8 01 00 00 00 31 d2 f0 0f b0 17 <3c> 01 75 03 5a 5d c3 56 0f b6 f0 e8 bc ff ff ff 5e 5a 5d c3 0f 1f
RSP: 0018:ffffc90002477ce0 EFLAGS: 00000046
RAX: 0000000000000001 RBX: ffffffff86d23be0 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000046 RDI: ffffffff86d23be0
RBP: ffffc90002477ce8 R08: ffffffff82dec6b9 R09: 0000000000000003
R10: fffff5200048ef90 R11: dffffc0000000001 R12: 0000000000000000
R13: ffffffff8664b260 R14: 0000000000000046 R15: dffffc0000000000
FS: 0000555556992480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4be3b77d58 CR3: 000000011e924000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:590 [inline]
queued_spin_unlock arch/x86/include/asm/qspinlock.h:56 [inline]
do_raw_spin_unlock include/linux/spinlock.h:216 [inline]
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:159 [inline]
_raw_spin_unlock_irqrestore+0x46/0x80 kernel/locking/spinlock.c:194
spin_unlock_irqrestore include/linux/spinlock.h:418 [inline]
vga_put drivers/gpu/vga/vgaarb.c:564 [inline]
vga_arb_release+0x3e3/0x950 drivers/gpu/vga/vgaarb.c:1350
__fput+0x3fe/0x910 fs/file_table.c:280
____fput+0x15/0x20 fs/file_table.c:308
task_work_run+0x129/0x190 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0xc4/0xe0 kernel/entry/common.c:175
exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208
__syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:301
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f4be40148da
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 f3 7d 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 53 7e 02 00 8b 44 24
RSP: 002b:00007ffde19cf0f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f4be40148da
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000032 R08: 0000001b31160000 R09: 00007f4be413505c
R10: 00007ffde19cf240 R11: 0000000000000293 R12: 00007f4be3b99338
R13: ffffffffffffffff R14: 00007f4be3b99000 R15: 0000000000010a5d