watchdog: BUG: soft lockup - CPU#1 stuck for 111s! [kworker/u4:2:111]
Modules linked in:
CPU: 1 PID: 111 Comm: kworker/u4:2 Not tainted 5.10.226-syzkaller-00001-g6a01908517df #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 fa ed 0a 00 41 83 e5 01 75 0a e8 3f ea 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:ffffc90000cd7720 EFLAGS: 00000293
RAX: ffffffff815fc2d4 RBX: 1ffff9200019aeed RCX: ffff888113a8e2c0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000cd7810 R08: ffffffff815fc2a6 R09: ffffed103ee0aec9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: ffffc90000cd7768 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a2c2022eb 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:1318 [inline]
text_poke_bp_batch+0x1d4/0x600 arch/x86/kernel/alternative.c:1509
text_poke_flush arch/x86/kernel/alternative.c:1677 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1684
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:298
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9735 Comm: syz.6.2645 Not tainted 5.10.226-syzkaller-00001-g6a01908517df #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:atomic_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:707 [inline]
RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:82 [inline]
RIP: 0010:do_raw_spin_lock_flags include/linux/spinlock.h:195 [inline]
RIP: 0010:__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline]
RIP: 0010:_raw_spin_lock_irqsave+0x115/0x210 kernel/locking/spinlock.c:159
Code: fc 4c 89 e7 be 04 00 00 00 e8 37 81 f5 fc 42 0f b6 04 3b 84 c0 0f 85 bf 00 00 00 8b 44 24 40 b9 01 00 00 00 f0 41 0f b1 4d 00 <75> 45 48 c7 44 24 20 0e 36 e0 45 4b c7 04 37 00 00 00 00 43 c7 44
RSP: 0018:ffffc90000e57ca0 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 1ffff920001caf9c RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90000e57ce0
RBP: ffffc90000e57d68 R08: dffffc0000000000 R09: 0000000000000003
R10: fffff520001caf9c R11: dffffc0000000001 R12: ffffc90000e57ce0
R13: ffffffff8711bf60 R14: 1ffff920001caf98 R15: dffffc0000000000
FS: 000055556b4ad500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f27c4be6d58 CR3: 000000011f294000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vga_put drivers/gpu/vga/vgaarb.c:578 [inline]
vga_arb_release+0x203/0x950 drivers/gpu/vga/vgaarb.c:1370
__fput+0x33d/0x7b0 fs/file_table.c:281
____fput+0x15/0x20 fs/file_table.c:314
task_work_run+0x129/0x190 kernel/task_work.c:189
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+0xa2/0x1a0 kernel/entry/common.c:274
do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f27c5f8e719
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc2ed00978 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00000000000636b5 RCX: 00007f27c5f8e719
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f27c6147a80 R08: 0000000000000001 R09: 00007ffc2ed00c6f
R10: 00007f27c5e10000 R11: 0000000000000246 R12: 00000000000636ee
R13: 00007ffc2ed00a80 R14: 0000000000000032 R15: ffffffffffffffff
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 0-...!: (1 GPs behind) idle=1ce/1/0x4000000000000000 softirq=46652/46658 fqs=18 last_accelerate: 297e/50b1 dyntick_enabled: 1
(detected by 1, t=10014 jiffies, g=53345, q=124)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9735 Comm: syz.6.2645 Tainted: G L 5.10.226-syzkaller-00001-g6a01908517df #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__sanitizer_cov_trace_cmp4+0x4/0x90 kernel/kcov.c:258
Code: 00 48 89 44 0a 10 48 89 74 0a 18 4c 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 15 00 bf 97 7e 65 8b 05 05 bf 97 7e a9 00 01
RSP: 0018:ffffc90000e57d68 EFLAGS: 00000046
RAX: ffff888105ba1b20 RBX: 0000000000000000 RCX: ffff888120cb0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000e57d68 R08: ffffffff82c9f774 R09: 0000000000000003
R10: fffff520001caf9c R11: dffffc0000000001 R12: 0000000000000000
R13: ffffffff86a1f660 R14: ffff888113c4bc18 R15: dffffc0000000000
FS: 000055556b4ad500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f27c4be6d58 CR3: 000000011f294000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__vga_put drivers/gpu/vga/vgaarb.c:427 [inline]
vga_put drivers/gpu/vga/vgaarb.c:582 [inline]
vga_arb_release+0x3a9/0x950 drivers/gpu/vga/vgaarb.c:1370
__fput+0x33d/0x7b0 fs/file_table.c:281
____fput+0x15/0x20 fs/file_table.c:314
task_work_run+0x129/0x190 kernel/task_work.c:189
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+0xa2/0x1a0 kernel/entry/common.c:274
do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f27c5f8e719
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc2ed00978 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00000000000636b5 RCX: 00007f27c5f8e719
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f27c6147a80 R08: 0000000000000001 R09: 00007ffc2ed00c6f
R10: 00007f27c5e10000 R11: 0000000000000246 R12: 00000000000636ee
R13: 00007ffc2ed00a80 R14: 0000000000000032 R15: ffffffffffffffff
rcu: rcu_preempt kthread starved for 9978 jiffies! g53345 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt state:R running task stack: 0 pid: 13 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4046 [inline]
__schedule+0xbe6/0x1330 kernel/sched/core.c:4804
schedule+0x13d/0x1d0 kernel/sched/core.c:4882
schedule_timeout+0x18c/0x360 kernel/time/timer.c:1913
rcu_gp_fqs_loop kernel/rcu/tree.c:1943 [inline]
rcu_gp_kthread+0xefc/0x23a0 kernel/rcu/tree.c:2117
kthread+0x34b/0x3d0 kernel/kthread.c:313
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298