From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5A44C76196 for ; Fri, 24 Mar 2023 15:34:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232455AbjCXPeO (ORCPT ); Fri, 24 Mar 2023 11:34:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232435AbjCXPeM (ORCPT ); Fri, 24 Mar 2023 11:34:12 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D74B8E057 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-f198.google.com (mail-yb1-f198.google.com [209.85.219.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-411-Rr3Pfr2IOfq9zti1aYzxsg-1; Fri, 24 Mar 2023 11:33:18 -0400 X-MC-Unique: Rr3Pfr2IOfq9zti1aYzxsg-1 Received: by mail-yb1-f198.google.com with SMTP id i11-20020a256d0b000000b0086349255277so2125302ybc.8 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=AXB+nzJ8fwPG9mbB+H1mQ7yArUkUZAQNJ2mjKt7M+qBm1wdJjS7jb0xVXdh1v+ylGC 6jwrnnHR09YE6xgJohug0kHD/d21O304KVOOF5apESGK5mR2TbREr/fAZi65huIlz0Et tcgro1cuqobcRiu0hQJB2zgnp8qcLAtuF8BRYEkibPgqUBglA0GmFgSSOb2T5Z02IBC4 RUJAyyVoKusv9i3VqhRsDNHA7EHGaO5D0e2ufDCOXQSOyOlk/jiCKaWmocoDXzDSm4iN 07ccH2iH+9OEb84wfClPNyBFTtupqttwGBfa7cZcPopTRJXiZVLmhfeyi1LnNQi002ko Hb2w== X-Gm-Message-State: AAQBX9dHyIZxYHXEm+ZFNtmNqaJJVvritL6ADNgYy00g/Wbbo3TRHoqE v5EWbkA+ofd4Z2YN9qhzq7nEiM6ODlldLsP1uCPcjyAvmyjNLyXTwfi7hKiHhCrk6HFkMxuqc6k QcNEYDyPNoxbq6Gqa7Oms71Mu1N9YEWg3dO4= X-Received: by 2002:a05:690c:298d:b0:542:927b:1c79 with SMTP id eh13-20020a05690c298d00b00542927b1c79mr4493854ywb.3.1679671997282; Fri, 24 Mar 2023 08:33:17 -0700 (PDT) X-Google-Smtp-Source: AKy350axSseOYGZVaoae4ffdh9HEDtW8lZ2RalvnCpXRfyuMSMHUSaaLIhse5Fh/4JSBAkJ+6QXkQ8DPJpDEIMOl87o= 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 Precedence: bulk List-ID: X-Mailing-List: io-uring@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 >