syzbot


BUG: soft lockup in vsock_connect

Status: closed as dup on 2023/03/24 15:33
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+0bc015ebddc291a97116@syzkaller.appspotmail.com
First crash: 433d, last: 433d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
general protection fault in virtio_transport_purge_skbs net C done 3 433d 432d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] [virt?] [io-uring?] [kvm?] BUG: soft lockup in vsock_connect 5 (6) 2023/03/27 09:07
Last patch testing requests (3)
Created Duration User Patch Repo Result
2023/03/24 15:03 24m sgarzare@redhat.com https://github.com/stefano-garzarella/linux.git vsock-fix-loopback-cancel OK log
2023/03/24 14:15 0m sgarzare@redhat.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fff5a5e7f528 error OK
2023/03/24 10:42 24m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fff5a5e7f528 OK log

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 27s! [syz-executor244:6747]
Modules linked in:
irq event stamp: 6033
hardirqs last  enabled at (6032): [<ffff8000124604ac>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline]
hardirqs last  enabled at (6032): [<ffff8000124604ac>] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94
hardirqs last disabled at (6033): [<ffff80001245e188>] __el1_irq arch/arm64/kernel/entry-common.c:468 [inline]
hardirqs last disabled at (6033): [<ffff80001245e188>] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:486
softirqs last  enabled at (616): [<ffff80001066ca80>] spin_unlock_bh include/linux/spinlock.h:395 [inline]
softirqs last  enabled at (616): [<ffff80001066ca80>] lock_sock_nested+0xe8/0x138 net/core/sock.c:3480
softirqs last disabled at (618): [<ffff8000122dbcfc>] spin_lock_bh include/linux/spinlock.h:355 [inline]
softirqs last disabled at (618): [<ffff8000122dbcfc>] virtio_transport_purge_skbs+0x11c/0x500 net/vmw_vsock/virtio_transport_common.c:1372
CPU: 0 PID: 6747 Comm: syz-executor244 Not tainted 6.3.0-rc1-syzkaller-gfe15c26ee26e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __sanitizer_cov_trace_pc+0xc/0x8c kernel/kcov.c:203
lr : virtio_transport_purge_skbs+0x19c/0x500 net/vmw_vsock/virtio_transport_common.c:1374
sp : ffff80001e787890
x29: ffff80001e7879e0 x28: 1ffff00003cf0f2a x27: ffff80001a487a60
x26: ffff80001e787950 x25: ffff0000ce2d3b80 x24: ffff80001a487a78
x23: 1ffff00003490f4c x22: ffff80001a29c1a8 x21: dfff800000000000
x20: ffff80001a487a60 x19: ffff80001e787940 x18: 1fffe000368951b6
x17: ffff800015cdd000 x16: ffff8000085110b0 x15: 0000000000000000
x14: 1ffff00002b9c0b2 x13: dfff800000000000 x12: ffff700003cf0efc
x11: ff808000122dbee8 x10: 0000000000000000 x9 : ffff8000122dbee8
x8 : ffff0000ce511b40 x7 : ffff8000122dbcfc x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000832d758
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 get_current arch/arm64/include/asm/current.h:19 [inline]
 __sanitizer_cov_trace_pc+0xc/0x8c kernel/kcov.c:206
 vsock_loopback_cancel_pkt+0x28/0x3c net/vmw_vsock/vsock_loopback.c:48
 vsock_transport_cancel_pkt net/vmw_vsock/af_vsock.c:1284 [inline]
 vsock_connect+0x6b8/0xaec net/vmw_vsock/af_vsock.c:1426
 __sys_connect_file net/socket.c:2004 [inline]
 __sys_connect+0x268/0x290 net/socket.c:2021
 __do_sys_connect net/socket.c:2031 [inline]
 __se_sys_connect net/socket.c:2028 [inline]
 __arm64_sys_connect+0x7c/0x94 net/socket.c:2028
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/23 08:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe15c26ee26e f94b4a29 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: soft lockup in vsock_connect
* Struck through repros no longer work on HEAD.