watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz.2.3308:18901]
Modules linked in:
irq event stamp: 15960017
hardirqs last enabled at (15960016): [<ffffffff8bc8aa13>] irqentry_exit+0x63/0x90 kernel/entry/common.c:357
hardirqs last disabled at (15960017): [<ffffffff8bc8862e>] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049
softirqs last enabled at (13490540): [<ffffffff8161d3a7>] __do_softirq kernel/softirq.c:595 [inline]
softirqs last enabled at (13490540): [<ffffffff8161d3a7>] invoke_softirq kernel/softirq.c:435 [inline]
softirqs last enabled at (13490540): [<ffffffff8161d3a7>] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
softirqs last disabled at (13490543): [<ffffffff8161d3a7>] __do_softirq kernel/softirq.c:595 [inline]
softirqs last disabled at (13490543): [<ffffffff8161d3a7>] invoke_softirq kernel/softirq.c:435 [inline]
softirqs last disabled at (13490543): [<ffffffff8161d3a7>] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
CPU: 0 UID: 0 PID: 18901 Comm: syz.2.3308 Not tainted 6.13.0-rc3-syzkaller-ge84a3bf7f4aa #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 5e 79 3a f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> d3 26 a2 f5 65 8b 05 74 7a 38 74 85 c0 74 43 48 c7 04 24 0e 36
RSP: 0018:ffffc900000079a0 EFLAGS: 00000206
RAX: ce801f1e7e3c9c00 RBX: 1ffff92000000f38 RCX: ffffffff817b275a
RDX: dffffc0000000000 RSI: ffffffff8c0a9760 RDI: 0000000000000001
RBP: ffffc90000007a30 R08: ffffffff942a4977 R09: 1ffffffff285492e
R10: dffffc0000000000 R11: fffffbfff285492f R12: dffffc0000000000
R13: 1ffff92000000f34 R14: ffffc900000079c0 R15: 0000000000000246
FS: 00007f2222b466c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000027878000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000020000300 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
<IRQ>
__mod_timer+0xb89/0xeb0 kernel/time/timer.c:1185
call_timer_fn+0x187/0x650 kernel/time/timer.c:1793
expire_timers kernel/time/timer.c:1844 [inline]
__run_timers kernel/time/timer.c:2418 [inline]
__run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2430
run_timer_base kernel/time/timer.c:2439 [inline]
run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2449
handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17
</IRQ>
<TASK>
asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 18901 Comm: syz.2.3308 Not tainted 6.13.0-rc3-syzkaller-ge84a3bf7f4aa #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:vsnprintf+0x189/0x1da0 lib/vsprintf.c:2804
Code: e7 e8 5b 79 41 f6 48 63 db 4d 8d 24 1f 4c 8b b4 24 80 00 00 00 41 0f b6 fe 48 c7 c6 60 e1 00 90 e8 dc 1d db f5 4c 89 74 24 40 <41> 0f b6 c6 83 f8 08 0f 8e ba 00 00 00 83 f8 0c 48 8b 54 24 10 0f
RSP: 0018:ffffc90000006a60 EFLAGS: 00000046
RAX: 0000000000010100 RBX: 0000000000000002 RCX: ffff88802adf3c00
RDX: 0000000000000012 RSI: ffffffff9000e160 RDI: 0000000000000003
RBP: ffffc90000006b50 R08: 0000000000000001 R09: ffffffff8bc45b94
R10: 0000000000000012 R11: ffff88802adf3c00 R12: ffffffff8c0b59a2
R13: dffffc0000000000 R14: ffff0a00ffffff03 R15: ffffffff8c0b59a0
FS: 00007f2222b466c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000027878000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000020000300 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
<NMI>
</NMI>
<IRQ>
snprintf+0xda/0x120 lib/vsprintf.c:2983
print_caller kernel/printk/printk.c:1390 [inline]
info_print_prefix+0x1f0/0x310 kernel/printk/printk.c:1409
record_print_text kernel/printk/printk.c:1456 [inline]
printk_get_next_message+0x6f4/0xbf0 kernel/printk/printk.c:3008
console_emit_next_record kernel/printk/printk.c:3076 [inline]
console_flush_all+0x569/0xeb0 kernel/printk/printk.c:3210
__console_flush_and_unlock kernel/printk/printk.c:3269 [inline]
console_unlock+0x14f/0x3b0 kernel/printk/printk.c:3309
vprintk_emit+0x730/0xa10 kernel/printk/printk.c:2432
_printk+0xd5/0x120 kernel/printk/printk.c:2457
printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline]
show_trace_log_lvl+0x38a/0x410 arch/x86/kernel/dumpstack.c:285
watchdog_timer_fn+0x75b/0x960 kernel/watchdog.c:767
__run_hrtimer kernel/time/hrtimer.c:1739 [inline]
__hrtimer_run_queues+0x551/0xd30 kernel/time/hrtimer.c:1803
hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline]
__sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 5e 79 3a f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> d3 26 a2 f5 65 8b 05 74 7a 38 74 85 c0 74 43 48 c7 04 24 0e 36
RSP: 0018:ffffc900000079a0 EFLAGS: 00000206
RAX: ce801f1e7e3c9c00 RBX: 1ffff92000000f38 RCX: ffffffff817b275a
RDX: dffffc0000000000 RSI: ffffffff8c0a9760 RDI: 0000000000000001
RBP: ffffc90000007a30 R08: ffffffff942a4977 R09: 1ffffffff285492e
R10: dffffc0000000000 R11: fffffbfff285492f R12: dffffc0000000000
R13: 1ffff92000000f34 R14: ffffc900000079c0 R15: 0000000000000246
__mod_timer+0xb89/0xeb0 kernel/time/timer.c:1185
call_timer_fn+0x187/0x650 kernel/time/timer.c:1793
expire_timers kernel/time/timer.c:1844 [inline]
__run_timers kernel/time/timer.c:2418 [inline]
__run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2430
run_timer_base kernel/time/timer.c:2439 [inline]
run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2449
handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17
</IRQ>
<TASK>
asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738
RIP: 0010:rcu_read_unlock_special+0x88/0x570 kernel/rcu/tree_plugin.h:693
Code: f1 f1 f1 00 f2 f2 f2 49 89 04 14 66 41 c7 44 14 09 f3 f3 41 c6 44 14 0b f3 65 44 8b 3d f9 e3 7d 7e 41 f7 c7 00 00 f0 00 74 49 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 22 00 00 00 00 66 42 c7 44 22
RSP: 0018:ffffc90003e9fc60 EFLAGS: 00000206
RAX: ce801f1e7e3c9c00 RBX: 1ffff920007d3f94 RCX: ffffffff817b275a
RDX: dffffc0000000000 RSI: ffffffff8c0a9760 RDI: ffffffff8c5faea0
RBP: ffffc90003e9fd38 R08: ffffffff942a4897 R09: 1ffffffff2854912
R10: dffffc0000000000 R11: fffffbfff2854913 R12: 1ffff920007d3f90
R13: ffff88802adf4060 R14: ffffc90003e9fca0 R15: ffffffff8e93c800
__rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:437
dput+0x197/0x2b0 fs/dcache.c:866
do_unlinkat+0x4b9/0x830 fs/namei.c:4590
__do_sys_unlink fs/namei.c:4635 [inline]
__se_sys_unlink fs/namei.c:4633 [inline]
__x64_sys_unlink+0x47/0x50 fs/namei.c:4633
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2221d85d29
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:00007f2222b46038 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f2221f76080 RCX: 00007f2221d85d29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000200
RBP: 00007f2221e01aa8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f2221f76080 R15: 00007fffd9883528
</TASK>
RIP: 0010:rcu_read_unlock_special+0x88/0x570 kernel/rcu/tree_plugin.h:693
Code: f1 f1 f1 00 f2 f2 f2 49 89 04 14 66 41 c7 44 14 09 f3 f3 41 c6 44 14 0b f3 65 44 8b 3d f9 e3 7d 7e 41 f7 c7 00 00 f0 00 74 49 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 22 00 00 00 00 66 42 c7 44 22
RSP: 0018:ffffc90003e9fc60 EFLAGS: 00000206
RAX: ce801f1e7e3c9c00 RBX: 1ffff920007d3f94 RCX: ffffffff817b275a
RDX: dffffc0000000000 RSI: ffffffff8c0a9760 RDI: ffffffff8c5faea0
RBP: ffffc90003e9fd38 R08: ffffffff942a4897 R09: 1ffffffff2854912
R10: dffffc0000000000 R11: fffffbfff2854913 R12: 1ffff920007d3f90
R13: ffff88802adf4060 R14: ffffc90003e9fca0 R15: ffffffff8e93c800
__rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:437
dput+0x197/0x2b0 fs/dcache.c:866
do_unlinkat+0x4b9/0x830 fs/namei.c:4590
__do_sys_unlink fs/namei.c:4635 [inline]
__se_sys_unlink fs/namei.c:4633 [inline]
__x64_sys_unlink+0x47/0x50 fs/namei.c:4633
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2221d85d29
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:00007f2222b46038 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f2221f76080 RCX: 00007f2221d85d29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000200
RBP: 00007f2221e01aa8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f2221f76080 R15: 00007fffd9883528
</TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 7427 Comm: kworker/u8:16 Not tainted 6.13.0-rc3-syzkaller-ge84a3bf7f4aa #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:340 [inline]
RIP: 0010:smp_call_function_many_cond+0x19fc/0x2c60 kernel/smp.c:884
Code: 01 31 ff e8 56 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 e5 0b 00 eb 38 f3 90 42 0f b6 04 23 84 c0 75 11 <41> f7 45 00 01 00 00 00 74 1e e8 e5 e4 0b 00 eb e4 44 89 e9 80 e1
RSP: 0018:ffffc90003b376e0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff110170c8c89 RCX: ffff88805cf60000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003b378e0 R08: ffffffff81938eda R09: 1ffffffff2854910
R10: dffffc0000000000 R11: fffffbfff2854911 R12: dffffc0000000000
R13: ffff8880b8646448 R14: ffff8880b873fac0 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000e736000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
<NMI>
</NMI>
<TASK>
on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:2114 [inline]
text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324
text_poke_flush arch/x86/kernel/alternative.c:2515 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210
static_key_enable+0x1a/0x20 kernel/jump_label.c:223
toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
</TASK>