Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1292589rwl; Fri, 24 Mar 2023 08:38:47 -0700 (PDT) X-Google-Smtp-Source: AKy350Yppx7M9nviMp1CeyN3rf+NW1f6kM07xZe/g6/qqfjeOzCkWstJMlafPKTe19luhTwcouOA X-Received: by 2002:aa7:d9c7:0:b0:4fc:6a39:d2f2 with SMTP id v7-20020aa7d9c7000000b004fc6a39d2f2mr3402934eds.18.1679672327480; Fri, 24 Mar 2023 08:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679672327; cv=none; d=google.com; s=arc-20160816; b=KujVjl4QvWmcJ8T2DHZaxSwFZp1IqRx0yaBSHKD3i4J35GLO8gABFvhtO5IwtkZp3a 9gv+iyxr/B1SVSUKqDPxH7sO8a26s4qpyR0o72UoztdelWh2EyhbdTst34KNdcs+Lbe1 C+/tGHYubLVP8SkkFKYtgEmnHyvdg1cDmxBjORnCBvYEUQYb1fbL1VrbgkmTaWKXziRc K3DrYGg3Mfo706xcTFJNbJh6dtKgM+t2e2nzomRBpqzv2XWY7TpXpRg2RuWXclNLiVza jSmMfff/LSoKCqzDdAUiUVLVq9U1q5qrLaHMMioFlIWEGLAqAOB6Fd++E/6Z/OCm92qp fTxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=1nwmpDcIRdezP7czdw9rZEPq2A0ddkt+6nhj7OJ5xz8=; b=Eus0TMIdKXfO1yIR2ZlPA8TQdG9+hJhEEjTMlLauyTcLmNjQfgSavplTUKfBEIE9NB QwxLIOGxYmwyIG/jpm0vzcytn7P1u6/IARtCuX02mmCNmvIKDzyTN8HM7+gXVzwkLDgw UFgjCgk0vypfN8K8vgRPBLWOsN4HgcjcNZ+5xinPGvHX+QBuY1fnt9NyUvmkn2i+AcOw 7YGiWS8IXtEdRTGEenvGb/3T+q4Gkfh6tm4B/Xme3eHiTmCybCZnZKRuMEiHXgdRwbYS FACq76E95qljdlbOG05/1JBqkxXpRsepr05RLGRrh2wYF6iZK8Ma3VZvyH1Dd+HU3sPL S3EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SSP9gHqu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p8-20020aa7cc88000000b004fc9c7986c5si19274332edt.530.2023.03.24.08.38.22; Fri, 24 Mar 2023 08:38:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SSP9gHqu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232433AbjCXPeM (ORCPT + 99 others); Fri, 24 Mar 2023 11:34:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231921AbjCXPeL (ORCPT ); Fri, 24 Mar 2023 11:34:11 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D57D365B7 for ; Fri, 24 Mar 2023 08:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679671999; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1nwmpDcIRdezP7czdw9rZEPq2A0ddkt+6nhj7OJ5xz8=; b=SSP9gHqulAakKNauab7y6o2g90wnWaNRzx6aaWOpasGC1gXMJWZYYY61wqZGWoF9rmDN4r mlfj0WU5a6oGvD7BEzCCdOHtkko9vpVD12tDFm3F2QhUDNtjv+L+oQ7Gm7eYrLyv+ii40W Ecok3pRnMxBwp01PXI2e6Rqp3E6YN/U= Received: from mail-yb1-f199.google.com (mail-yb1-f199.google.com [209.85.219.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-308-WjpoUPVHOEq4V1F5btciiw-1; Fri, 24 Mar 2023 11:33:18 -0400 X-MC-Unique: WjpoUPVHOEq4V1F5btciiw-1 Received: by mail-yb1-f199.google.com with SMTP id e23-20020a25e717000000b00b66ab374ba1so2101380ybh.22 for ; Fri, 24 Mar 2023 08:33:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679671997; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1nwmpDcIRdezP7czdw9rZEPq2A0ddkt+6nhj7OJ5xz8=; b=jwsich7XPgZ8aaxHFXOzCuysBgC3TeLUhD1T+LD8YL0rLC0cHP2hQGT4qjRbbwv0fp eLeK/sr8qQX9LgfpnHPf2DYT400Ri3unHCUpWBWmsS9WWXLGi8JPXzbzdNS53Qtwtm3l eyrQDyY+gLteMJZxQO6uIwPx1wNsOu+WkiKHv+EvyGja7N3ssyxrf0ZrYmu5yHPUQhoI 7ZIl9+DDQYIKoIyS91RneV+8oqhjFOeysladQsAYwTXSnqj50fASk6ddPmFShNLy8iUK RrcmZyYspZI8PbiGZDaPsDOWcXP5WFOfgDC7XJmm+GWoHAYMJZOP/ybBF5aF++jZSxJL +FBA== X-Gm-Message-State: AAQBX9deFdd3PybkiOPGCHbT/0QIE6ZSsVBdzw3E66VscFuz57eT7GP0 lpZ6XY2nQJpdrOd6u7Bkj4X7l68UKXdSTD7hBZ+Qyg37BiMx7hVt1jrv3IyDYxoapQeE+4+zWdB l0cF+na1H/bD0OVW/5Oi4SQ3uH3+pPMuZg4N4eS65 X-Received: by 2002:a05:690c:298d:b0:542:927b:1c79 with SMTP id eh13-20020a05690c298d00b00542927b1c79mr4493859ywb.3.1679671997283; Fri, 24 Mar 2023 08:33:17 -0700 (PDT) X-Received: by 2002:a05:690c:298d:b0:542:927b:1c79 with SMTP id eh13-20020a05690c298d00b00542927b1c79mr4493846ywb.3.1679671997029; Fri, 24 Mar 2023 08:33:17 -0700 (PDT) MIME-Version: 1.0 References: <00000000000075bebb05f79acfde@google.com> In-Reply-To: <00000000000075bebb05f79acfde@google.com> From: Stefano Garzarella Date: Fri, 24 Mar 2023 16:33:05 +0100 Message-ID: Subject: Re: [syzbot] [net?] [virt?] [io-uring?] [kvm?] BUG: soft lockup in vsock_connect To: syzbot Cc: axboe@kernel.dk, davem@davemloft.net, edumazet@google.com, io-uring@vger.kernel.org, kuba@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, stefanha@redhat.com, syzkaller-bugs@googlegroups.com, virtualization@lists.linux-foundation.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SORTED_RECIPS,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org #syz dup general protection fault in virtio_transport_purge_skbs On Fri, Mar 24, 2023 at 1:52=E2=80=AFAM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: fe15c26ee26e Linux 6.3-rc1 > git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux= .git for-kernelci > console output: https://syzkaller.appspot.com/x/log.txt?x=3D1577c97ec8000= 0 > kernel config: https://syzkaller.appspot.com/x/.config?x=3D7573cbcd881a8= 8c9 > dashboard link: https://syzkaller.appspot.com/bug?extid=3D0bc015ebddc291a= 97116 > compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Deb= ian) 2.35.2 > userspace arch: arm64 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D1077c996c80= 000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D17e38929c8000= 0 > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/89d41abd07bd/dis= k-fe15c26e.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/fa75f5030ade/vmlinu= x-fe15c26e.xz > kernel image: https://storage.googleapis.com/syzbot-assets/590d0f5903ee/I= mage-fe15c26e.gz.xz > > IMPORTANT: if you fix the issue, please add the following tag to the comm= it: > Reported-by: syzbot+0bc015ebddc291a97116@syzkaller.appspotmail.com > > watchdog: BUG: soft lockup - CPU#0 stuck for 27s! [syz-executor244:6747] > Modules linked in: > irq event stamp: 6033 > hardirqs last enabled at (6032): [] __exit_to_kernel_m= ode arch/arm64/kernel/entry-common.c:84 [inline] > hardirqs last enabled at (6032): [] exit_to_kernel_mod= e+0xe8/0x118 arch/arm64/kernel/entry-common.c:94 > hardirqs last disabled at (6033): [] __el1_irq arch/arm= 64/kernel/entry-common.c:468 [inline] > hardirqs last disabled at (6033): [] el1_interrupt+0x24= /0x68 arch/arm64/kernel/entry-common.c:486 > softirqs last enabled at (616): [] spin_unlock_bh incl= ude/linux/spinlock.h:395 [inline] > softirqs last enabled at (616): [] lock_sock_nested+0x= e8/0x138 net/core/sock.c:3480 > softirqs last disabled at (618): [] spin_lock_bh includ= e/linux/spinlock.h:355 [inline] > softirqs last disabled at (618): [] virtio_transport_pu= rge_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-gf= e15c26ee26e #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS G= oogle 03/02/2023 > pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=3D--) > pc : __sanitizer_cov_trace_pc+0xc/0x8c kernel/kcov.c:203 > lr : virtio_transport_purge_skbs+0x19c/0x500 net/vmw_vsock/virtio_transpo= rt_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 > > > --- > 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 syzkaller@googlegroups.com. > > syzbot will keep track of this issue. See: > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > syzbot can test patches for this issue, for details see: > https://goo.gl/tpsmEJ#testing-patches >