BUG: soft lockup in conn_put

4 views
Skip to first unread message

syzbot

unread,
Aug 18, 2021, 2:20:25 PM8/18/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 59456c9cc40c Linux 4.19.204
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=114cf741300000
kernel config: https://syzkaller.appspot.com/x/.config?x=a84b4514346e13dc
dashboard link: https://syzkaller.appspot.com/bug?extid=46abf7c520629c7a80c0
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+46abf7...@syzkaller.appspotmail.com

IPVS: ftp: loaded support on port[0] = 21
loop4:
loop4: partition table partially beyond EOD, truncated
watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kworker/u4:0:7]
Modules linked in:
irq event stamp: 17658823
hardirqs last enabled at (17658822): [<ffffffff8129170b>] kvm_wait arch/x86/kernel/kvm.c:799 [inline]
hardirqs last enabled at (17658822): [<ffffffff8129170b>] kvm_wait+0x14b/0x240 arch/x86/kernel/kvm.c:779
hardirqs last disabled at (17658823): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (17648188): [<ffffffff87d886ad>] spin_unlock_bh include/linux/spinlock.h:374 [inline]
softirqs last enabled at (17648188): [<ffffffff87d886ad>] batadv_nc_purge_paths+0x22d/0x310 net/batman-adv/network-coding.c:482
softirqs last disabled at (17648194): [<ffffffff87bacafa>] spin_lock_bh include/linux/spinlock.h:334 [inline]
softirqs last disabled at (17648194): [<ffffffff87bacafa>] tipc_conn_kref_release net/tipc/topsrv.c:137 [inline]
softirqs last disabled at (17648194): [<ffffffff87bacafa>] kref_put include/linux/kref.h:70 [inline]
softirqs last disabled at (17648194): [<ffffffff87bacafa>] conn_put+0x7a/0x3a0 net/tipc/topsrv.c:155
CPU: 0 PID: 7 Comm: kworker/u4:0 Not tainted 4.19.204-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: tipc_rcv tipc_conn_recv_work
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
Code: 48 89 df e8 d4 59 7f f9 e9 2e ff ff ff 48 89 df e8 c7 59 7f f9 eb 82 90 90 90 90 90 e9 07 00 00 00 0f 00 2d b4 77 4e 00 fb f4 <c3> 90 e9 07 00 00 00 0f 00 2d a4 77 4e 00 f4 c3 90 90 41 56 41 55
RSP: 0018:ffff8880b5a47bb8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e305c RBX: ffff88809e1bf5d0 RCX: 1ffff11016b46d57
RDX: dffffc0000000000 RSI: ffff8880b5a36a98 RDI: ffff8880b5a36a44
RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000282
R13: ffffed1013c37eba R14: 0000000000000001 R15: ffff8880ba02bd80
FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd45b932000 CR3: 000000009d319000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline]
kvm_wait arch/x86/kernel/kvm.c:799 [inline]
kvm_wait+0x179/0x240 arch/x86/kernel/kvm.c:779
pv_wait arch/x86/include/asm/paravirt.h:689 [inline]
pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:471 [inline]
__pv_queued_spin_lock_slowpath+0x86a/0xae0 kernel/locking/qspinlock.c:474
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:679 [inline]
queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:53 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:88 [inline]
do_raw_spin_lock+0x189/0x220 kernel/locking/spinlock_debug.c:113
spin_lock_bh include/linux/spinlock.h:334 [inline]
tipc_conn_kref_release net/tipc/topsrv.c:137 [inline]
kref_put include/linux/kref.h:70 [inline]
conn_put+0x7a/0x3a0 net/tipc/topsrv.c:155
process_one_work+0x864/0x1570 kernel/workqueue.c:2153
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 13696 Comm: kworker/u4:9 Not tainted 4.19.204-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:idr_find+0x0/0x50 lib/idr.c:176
Code: 84 c0 74 04 3c 03 7e 15 8b 45 48 48 89 ef 31 d2 48 29 c3 48 89 de 5b 5d e9 ad 10 01 00 e8 58 b6 aa f9 eb e4 66 0f 1f 44 00 00 <55> 48 89 fd 53 48 89 f3 e8 43 e2 74 f9 48 8d 7d 48 48 b8 00 00 00
RSP: 0018:ffff88808d137bd8 EFLAGS: 00000293
RAX: ffff88804580c580 RBX: 000000002a232343 RCX: ffffffff87bb115d
RDX: 0000000000000000 RSI: 000000002a232343 RDI: ffff88809e1bf580
RBP: ffff88809e1bf580 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88809e1bf5d0
R13: ffffed1013c37ec1 R14: ffff88808e02a1c0 R15: 000000000000011b
FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000543038 CR3: 00000000aad3f000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tipc_topsrv_stop net/tipc/topsrv.c:698 [inline]
tipc_topsrv_exit_net+0x25e/0x5c0 net/tipc/topsrv.c:722
ops_exit_list+0xa5/0x150 net/core/net_namespace.c:153
cleanup_net+0x3b4/0x8b0 net/core/net_namespace.c:553
process_one_work+0x864/0x1570 kernel/workqueue.c:2153
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
----------------
Code disassembly (best guess):
0: 48 89 df mov %rbx,%rdi
3: e8 d4 59 7f f9 callq 0xf97f59dc
8: e9 2e ff ff ff jmpq 0xffffff3b
d: 48 89 df mov %rbx,%rdi
10: e8 c7 59 7f f9 callq 0xf97f59dc
15: eb 82 jmp 0xffffff99
17: 90 nop
18: 90 nop
19: 90 nop
1a: 90 nop
1b: 90 nop
1c: e9 07 00 00 00 jmpq 0x28
21: 0f 00 2d b4 77 4e 00 verw 0x4e77b4(%rip) # 0x4e77dc
28: fb sti
29: f4 hlt
2a: c3 retq <-- trapping instruction
2b: 90 nop
2c: e9 07 00 00 00 jmpq 0x38
31: 0f 00 2d a4 77 4e 00 verw 0x4e77a4(%rip) # 0x4e77dc
38: f4 hlt
39: c3 retq
3a: 90 nop
3b: 90 nop
3c: 41 56 push %r14
3e: 41 55 push %r13


---
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.

syzbot

unread,
Dec 16, 2021, 1:20:19 PM12/16/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages