Hello,
syzbot found the following issue on:
HEAD commit: 22c0b7236c43 ANDROID: PM: Fix suspend spinlock in IRQ cont..
git tree: android14-6.1
console output:
https://syzkaller.appspot.com/x/log.txt?x=13f87be2580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=4b268c91041514a
dashboard link:
https://syzkaller.appspot.com/bug?extid=3b38c7160feac2d51a83
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=148de3cd980000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=14214258580000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/621fcf4446e1/disk-22c0b723.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/cdcc98ed36da/vmlinux-22c0b723.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/783bcd02850e/bzImage-22c0b723.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+3b38c7...@syzkaller.appspotmail.com
watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz.2.416:776]
Modules linked in:
CPU: 0 PID: 776 Comm: syz.2.416 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:kvm_wait+0xf2/0x140 arch/x86/kernel/kvm.c:1064
Code: 96 13 04 f4 eb 9a fa 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 3f 0f b6 07 40 38 f0 75 10 66 90 0f 00 2d 20 96 13 04 fb f4 <e9> 71 ff ff ff fb e9 6b ff ff ff e8 ae c9 b8 03 89 f9 80 e1 07 38
RSP: 0018:ffffc900000074c0 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffff888109480098 RCX: ffffffff84f43dc2
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888109480098
RBP: ffffc90000007550 R08: dffffc0000000000 R09: ffffed1021290014
R10: ffffed1021290014 R11: 1ffff11021290013 R12: 1ffff1103ee00001
R13: ffff8881f7038cd4 R14: dffffc0000000000 R15: 1ffff92000000e98
FS: 0000555568fe6500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f20f0c4f742 CR3: 000000010ef45000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
pv_wait arch/x86/include/asm/paravirt.h:603 [inline]
pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
__pv_queued_spin_lock_slowpath+0x690/0xc40 kernel/locking/qspinlock.c:511
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline]
queued_spin_lock_slowpath+0x47/0x50 arch/x86/include/asm/qspinlock.h:51
queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
do_raw_spin_lock include/linux/spinlock.h:187 [inline]
__raw_spin_lock include/linux/spinlock_api_smp.h:134 [inline]
_raw_spin_lock+0xd8/0xe0 kernel/locking/spinlock.c:154
tcp_v4_rcv+0x224e/0x2a80 net/ipv4/tcp_ipv4.c:2110
ip_protocol_deliver_rcu+0x325/0x6e0 net/ipv4/ip_input.c:205
ip_local_deliver_finish+0x24e/0x410 net/ipv4/ip_input.c:233
NF_HOOK include/linux/netfilter.h:305 [inline]
ip_local_deliver+0x1d8/0x320 net/ipv4/ip_input.c:254
dst_input include/net/dst.h:463 [inline]
ip_rcv_finish net/ipv4/ip_input.c:449 [inline]
NF_HOOK include/linux/netfilter.h:305 [inline]
ip_rcv+0x163/0x270 net/ipv4/ip_input.c:569
__netif_receive_skb_one_core net/core/dev.c:5597 [inline]
__netif_receive_skb+0xd7/0x2a0 net/core/dev.c:5711
process_backlog+0x351/0x600 net/core/dev.c:6039
__napi_poll+0xd0/0x5e0 net/core/dev.c:6606
napi_poll net/core/dev.c:6673 [inline]
net_rx_action+0x49b/0xaa0 net/core/dev.c:6787
handle_softirqs+0x1d7/0x600 kernel/softirq.c:642
__do_softirq kernel/softirq.c:680 [inline]
invoke_softirq kernel/softirq.c:497 [inline]
__irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729
irq_exit_rcu+0x9/0x10 kernel/softirq.c:741
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:182 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x10/0x60 kernel/kcov.c:216
Code: de e8 b4 b6 43 00 5b 5d c3 00 90 90 90 90 90 90 90 90 90 90 90 b8 0c 67 40 a5 55 48 89 e5 48 8b 45 08 65 48 8b 0d 90 4f 92 7e <65> 8b 15 91 4f 92 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75
RSP: 0018:ffffc90003f77650 EFLAGS: 00000202
RAX: ffffffff8166bc4e RBX: dffffc0000000000 RCX: ffff88811a220000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003f77650 R08: dffffc0000000000 R09: ffffed103ee0721b
R10: 0000000000000000 R11: ffffffff813435c0 R12: 1ffff1103ee07218
R13: 1ffff1103ee278a5 R14: 0000000000000001 R15: ffff8881f713c528
csd_lock_wait kernel/smp.c:453 [inline]
smp_call_function_many_cond+0x88e/0x960 kernel/smp.c:998
on_each_cpu_cond_mask+0x43/0x80 kernel/smp.c:1166
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:1574 [inline]
text_poke_bp_batch+0x3ce/0x580 arch/x86/kernel/alternative.c:1836
text_poke_flush arch/x86/kernel/alternative.c:1965 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1972
arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146
__jump_label_update+0x37c/0x3a0 kernel/jump_label.c:451
jump_label_update+0x39b/0x450 kernel/jump_label.c:797
static_key_enable_cpuslocked+0x126/0x240 kernel/jump_label.c:173
static_key_enable+0x1a/0x30 kernel/jump_label.c:186
tracepoint_add_func+0x876/0x900 kernel/tracepoint.c:361
tracepoint_probe_register_prio_may_exist+0x5b/0x90 kernel/tracepoint.c:482
tracepoint_probe_register_may_exist include/linux/tracepoint.h:52 [inline]
__bpf_probe_register kernel/trace/bpf_trace.c:2348 [inline]
bpf_probe_register+0x13f/0x1d0 kernel/trace/bpf_trace.c:2354
bpf_raw_tp_link_attach+0x3d1/0x550 kernel/bpf/syscall.c:3367
bpf_raw_tracepoint_open+0x258/0x480 kernel/bpf/syscall.c:3394
__sys_bpf+0x4d1/0x780 kernel/bpf/syscall.c:5044
__do_sys_bpf kernel/bpf/syscall.c:5106 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5104 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5104
x64_sys_call+0x488/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:322
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f20f0b8efc9
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:00007fff9e2071c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f20f0de5fa0 RCX: 00007f20f0b8efc9
RDX: 0000000000000018 RSI: 00002000000002c0 RDI: 0000000000000011
RBP: 00007f20f0c11f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f20f0de5fa0 R14: 00007f20f0de5fa0 R15: 0000000000000003
</TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 23 Comm: ksoftirqd/1 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:native_halt arch/x86/include/asm/irqflags.h:57 [inline]
RIP: 0010:halt arch/x86/include/asm/irqflags.h:98 [inline]
RIP: 0010:kvm_wait+0xcc/0x140 arch/x86/kernel/kvm.c:1058
Code: 20 f6 44 24 21 02 75 24 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 48 0f b6 07 40 38 f0 75 a6 66 90 0f 00 2d 45 96 13 04 f4 <eb> 9a fa 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 3f 0f b6 07
RSP: 0018:ffffc900001868a0 EFLAGS: 00000046
RAX: 0000000000000003 RBX: ffff8881f7127c40 RCX: ffffffff84f43dc2
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f7127c40
RBP: ffffc90000186930 R08: dffffc0000000000 R09: ffffed103ee24f89
R10: ffffed103ee24f89 R11: 1ffff1103ee24f88 R12: 1ffff1103ee20001
R13: ffff8881f7138cd4 R14: dffffc0000000000 R15: 1ffff92000030d14
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000006e0f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
pv_wait arch/x86/include/asm/paravirt.h:603 [inline]
pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
__pv_queued_spin_lock_slowpath+0x690/0xc40 kernel/locking/qspinlock.c:511
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline]
queued_spin_lock_slowpath+0x47/0x50 arch/x86/include/asm/qspinlock.h:51
queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
do_raw_spin_lock include/linux/spinlock.h:187 [inline]
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline]
_raw_spin_lock_irqsave+0x108/0x110 kernel/locking/spinlock.c:162
lock_timer_base+0x127/0x270 kernel/time/timer.c:1005
__mod_timer+0x10a/0xb30 kernel/time/timer.c:1078
add_timer+0x68/0x80 kernel/time/timer.c:1218
__queue_delayed_work+0x173/0x200 kernel/workqueue.c:1686
queue_delayed_work_on+0xdb/0x150 kernel/workqueue.c:1711
queue_delayed_work include/linux/workqueue.h:525 [inline]
schedule_delayed_monitor_work kernel/rcu/tree.c:3216 [inline]
kvfree_call_rcu+0x436/0x7a0 kernel/rcu/tree.c:3472
trie_delete_elem+0x572/0x720 kernel/bpf/lpm_trie.c:545
bpf_prog_5186c38a4019a4cb+0x42/0x46
bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline]
__bpf_prog_run include/linux/filter.h:603 [inline]
bpf_prog_run include/linux/filter.h:610 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2283 [inline]
bpf_trace_run3+0x113/0x270 kernel/trace/bpf_trace.c:2323
__bpf_trace_timer_start+0x2b/0x40 include/trace/events/timer.h:53
trace_timer_start include/trace/events/timer.h:53 [inline]
enqueue_timer+0x337/0x480 kernel/time/timer.c:615
__mod_timer+0x79f/0xb30 kernel/time/timer.c:-1
mod_timer+0x1f/0x30 kernel/time/timer.c:1172
sk_reset_timer+0x22/0xb0 net/core/sock.c:3390
inet_csk_reset_xmit_timer include/net/inet_connection_sock.h:-1 [inline]
tcp_reset_xmit_timer include/net/tcp.h:1366 [inline]
tcp_rearm_rto+0x312/0x700 net/ipv4/tcp_input.c:3264
tcp_event_new_data_sent+0x250/0x400 net/ipv4/tcp_output.c:82
tcp_write_xmit+0x161f/0x5fb0 net/ipv4/tcp_output.c:2717
__tcp_push_pending_frames+0x9c/0x2f0 net/ipv4/tcp_output.c:2895
tcp_push_pending_frames include/net/tcp.h:1987 [inline]
tcp_data_snd_check net/ipv4/tcp_input.c:5605 [inline]
tcp_rcv_established+0xed9/0x1a20 net/ipv4/tcp_input.c:6029
tcp_v4_do_rcv+0x446/0xa10 net/ipv4/tcp_ipv4.c:1683
tcp_v4_rcv+0x233c/0x2a80 net/ipv4/tcp_ipv4.c:2114
ip_protocol_deliver_rcu+0x325/0x6e0 net/ipv4/ip_input.c:205
ip_local_deliver_finish+0x24e/0x410 net/ipv4/ip_input.c:233
NF_HOOK include/linux/netfilter.h:305 [inline]
ip_local_deliver+0x1d8/0x320 net/ipv4/ip_input.c:254
dst_input include/net/dst.h:463 [inline]
ip_rcv_finish net/ipv4/ip_input.c:449 [inline]
NF_HOOK include/linux/netfilter.h:305 [inline]
ip_rcv+0x163/0x270 net/ipv4/ip_input.c:569
__netif_receive_skb_one_core net/core/dev.c:5597 [inline]
__netif_receive_skb+0xd7/0x2a0 net/core/dev.c:5711
process_backlog+0x351/0x600 net/core/dev.c:6039
__napi_poll+0xd0/0x5e0 net/core/dev.c:6606
napi_poll net/core/dev.c:6673 [inline]
net_rx_action+0x49b/0xaa0 net/core/dev.c:6787
handle_softirqs+0x1d7/0x600 kernel/softirq.c:642
run_ksoftirqd+0x28/0x30 kernel/softirq.c:1019
smpboot_thread_fn+0x4a0/0x910 kernel/smpboot.c:164
kthread+0x281/0x320 kernel/kthread.c:386
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
</TASK>
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup