watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.0.2369:9165]
Modules linked in:
CPU: 0 PID: 9165 Comm: syz.0.2369 Tainted: G W 5.10.226-syzkaller-00184-g139a6bb26d9d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:native_restore_fl arch/x86/include/asm/irqflags.h:41 [inline]
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:84 [inline]
RIP: 0010:kvm_wait+0xfc/0x150 arch/x86/kernel/kvm.c:926
Code: 38 f0 75 26 41 f7 c7 00 02 00 00 75 0f 0f 1f 44 00 00 0f 00 2d 55 53 d5 03 f4 eb 0e 0f 1f 44 00 00 0f 00 2d 46 53 d5 03 fb f4 <4c> 89 7c 24 18 ff 74 24 18 9d 48 c7 44 24 20 0e 36 e0 45 49 c7 04
RSP: 0018:ffffc90000eb7680 EFLAGS: 00000246
RAX: 0000000000000003 RBX: 1ffff920001d6ed4 RCX: ffffffff8150c824
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc90000eb76c0
RBP: ffffc90000eb7730 R08: dffffc0000000000 R09: ffffed1023b930b2
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88811dc98588 R14: 0000000000000003 R15: 0000000000000246
FS: 00007ff4083236c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000011a149000 CR4: 00000000003506b0
DR0: 0000000020000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
pv_wait arch/x86/include/asm/paravirt.h:564 [inline]
pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
__pv_queued_spin_lock_slowpath+0x72f/0xc70 kernel/locking/qspinlock.c:508
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:554 [inline]
queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
do_raw_spin_lock include/linux/spinlock.h:183 [inline]
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline]
_raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:175
spin_lock_bh include/linux/spinlock.h:359 [inline]
lock_sock_nested+0x92/0x300 net/core/sock.c:3117
lock_sock include/net/sock.h:1640 [inline]
tipc_sendstream+0x47/0x70 net/tipc/socket.c:1540
sock_sendmsg_nosec net/socket.c:652 [inline]
__sock_sendmsg net/socket.c:664 [inline]
____sys_sendmsg+0x59e/0x8f0 net/socket.c:2376
___sys_sendmsg+0x252/0x2e0 net/socket.c:2430
__sys_sendmsg net/socket.c:2459 [inline]
__do_sys_sendmsg net/socket.c:2468 [inline]
__se_sys_sendmsg+0x1b1/0x280 net/socket.c:2466
__x64_sys_sendmsg+0x7b/0x90 net/socket.c:2466
do_syscall_64+0x34/0x70
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7ff409cac809
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:00007ff408323058 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ff409e71fa0 RCX: 00007ff409cac809
RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000006
RBP: 00007ff409d1f93e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff409e71fa0 R15: 00007ffd0448f2a8
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9166 Comm: syz.0.2369 Tainted: G W 5.10.226-syzkaller-00184-g139a6bb26d9d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:221 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:162 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:273 [inline]
RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:208
Code: 74 05 83 ff 30 75 12 5d c3 81 ff d0 00 00 00 74 f6 81 ff e0 00 00 00 74 ee c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <0f> 1f 44 00 00 eb d6 89 f6 31 d2 e8 37 c9 3e 01 5d c3 0f 1f 44 00
RSP: 0018:ffffc90000170e00 EFLAGS: 00000046
RAX: 00000000000000ac RBX: ffffffff85dc6988 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 00000000000000ac RDI: 0000000000000838
RBP: ffffc90000170e00 R08: ffffffff815e06a1 R09: ffffffff815e062d
R10: 0000000000000002 R11: ffff888136af0000 R12: 0000000000000acf
R13: dffffc0000000000 R14: 00000000000000ac R15: dffffc0000000000
FS: 00007ff4083026c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000001 CR3: 000000011a149000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
apic_write arch/x86/include/asm/apic.h:396 [inline]
lapic_next_event+0x5f/0x70 arch/x86/kernel/apic/apic.c:466
clockevents_program_event+0x1a7/0x2c0 kernel/time/clockevents.c:334
tick_program_event+0x9f/0x120 kernel/time/tick-oneshot.c:44
hrtimer_interrupt+0x4cf/0x8b0 kernel/time/hrtimer.c:1724
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline]
__sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1100
asm_call_irq_on_stack+0xf/0x20
__run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline]
run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline]
sysvec_apic_timer_interrupt+0x85/0xe0 arch/x86/kernel/apic/apic.c:1094
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
RIP: 0010:atomic_fetch_add_relaxed include/asm-generic/atomic-instrumented.h:142 [inline]
RIP: 0010:__refcount_add include/linux/refcount.h:193 [inline]
RIP: 0010:__refcount_inc include/linux/refcount.h:250 [inline]
RIP: 0010:refcount_inc include/linux/refcount.h:267 [inline]
RIP: 0010:sock_hold include/net/sock.h:732 [inline]
RIP: 0010:tipc_sk_lookup+0x4d2/0x650 net/tipc/socket.c:2999
Code: ff df 74 7b 48 8b 44 24 48 42 0f b6 04 30 84 c0 0f 85 62 01 00 00 48 8b 44 24 18 0f b7 00 49 29 c5 74 63 4d 8d b5 80 00 00 00 <4c> 89 f7 be 04 00 00 00 e8 91 a1 0e fd bb 01 00 00 00 f0 41 0f c1
RSP: 0018:ffffc90000e16800 EFLAGS: 00000286
RAX: 00000000000003e8 RBX: 0000000000000004 RCX: 0000000000e16803
RDX: ffff888136af0000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000e168f0 R08: ffffffff8499b54f R09: 0000000000000003
R10: fffff520001c2d10 R11: dffffc0000000001 R12: fffffffffffffc18
R13: ffff88811dc98500 R14: ffff88811dc98580 R15: 000000000000035c
tipc_sk_rcv+0x499/0x1e30 net/tipc/socket.c:2488
tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
tipc_node_xmit_skb net/tipc/node.c:1739 [inline]
tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1754
tipc_sk_rcv+0x177d/0x1e30 net/tipc/socket.c:2497
tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
tipc_sk_push_backlog net/tipc/socket.c:1306 [inline]
tipc_sk_filter_connect net/tipc/socket.c:2253 [inline]
tipc_sk_filter_rcv+0x1da8/0x3e00 net/tipc/socket.c:2362
tipc_sk_enqueue net/tipc/socket.c:2442 [inline]
tipc_sk_rcv+0x8a1/0x1e30 net/tipc/socket.c:2493
tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
tipc_node_xmit_skb net/tipc/node.c:1739 [inline]
tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1754
tipc_sk_backlog_rcv+0x18b/0x210 net/tipc/socket.c:2410
sk_backlog_rcv include/net/sock.h:1050 [inline]
__release_sock+0x148/0x410 net/core/sock.c:2583
release_sock net/core/sock.c:3134 [inline]
sock_setsockopt+0x1e3b/0x2e00 net/core/sock.c:1257
__sys_setsockopt+0x441/0x870 net/socket.c:2142
__do_sys_setsockopt net/socket.c:2157 [inline]
__se_sys_setsockopt net/socket.c:2154 [inline]
__x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2154
do_syscall_64+0x34/0x70
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7ff409cac809
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:00007ff408302058 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007ff409e72080 RCX: 00007ff409cac809
RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000005
RBP: 00007ff409d1f93e R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff409e72080 R15: 00007ffd0448f2a8