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 91B3EC433FE for ; Fri, 18 Feb 2022 01:21:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231219AbiBRBVh (ORCPT ); Thu, 17 Feb 2022 20:21:37 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:36168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230424AbiBRBVg (ORCPT ); Thu, 17 Feb 2022 20:21:36 -0500 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A37942DF404 for ; Thu, 17 Feb 2022 17:21:20 -0800 (PST) Received: by mail-il1-f199.google.com with SMTP id p8-20020a056e02144800b002be41f4c3d2so3044164ilo.15 for ; Thu, 17 Feb 2022 17:21:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:in-reply-to:message-id:subject :from:to; bh=PI4bJ+3UyFNIhL2gM6ZjIwlHECbqteu1Qx27eZtjvq0=; b=Is6aePWeafUVw75ZLMAZT/17CZMpmg/OpijfweK6kmm7IYneyqGK68y2Urrxx2U+ks 37pYu5jQXb5RG0epfWDJOXwEuv6/jaVTCJyFb5e6CKO4kLzWv+eT/sdK+UmvADjb8L/X z0oG6H+bNZ0ViYNKEoZK3FMBu/mEsrmU2FZahBL9bgUofqFvZ7vH4oL5AxtiUti4p4Sz KEoFDSp9Vu83N5a7sGYkCAkEz7L7bstauJaTjUNBGVCOTtk9NNAEi0jCql6atHHVpPeP DqBbzSOoWa61OfXoKcUzQr9wABgcioZ7U63VjGQBRn2iEQuW82qyvMR/OhaP8kIvksVX Bi3A== X-Gm-Message-State: AOAM531XHC/UBR5fhWJv9HPgMFVqJDK2P6YTiJiXUoVs/wC82ihfqsN0 ssX9qmr6SsRbHtFv7b9yp94jlJtN6oJ8LDJcx0aG9IcS/IfJ X-Google-Smtp-Source: ABdhPJzMJrON2BfGCITlW3+eDZBkMBVufcpwdoMqqQUBSQYi62zjJDqVxJCzoKejc1qpyiIQn37+6yEdGUiIUI4TInkv67gcdYe3 MIME-Version: 1.0 X-Received: by 2002:a02:a1d6:0:b0:314:af71:b38a with SMTP id o22-20020a02a1d6000000b00314af71b38amr323871jah.95.1645147280047; Thu, 17 Feb 2022 17:21:20 -0800 (PST) Date: Thu, 17 Feb 2022 17:21:20 -0800 In-Reply-To: <00000000000070ac6505d7d9f7a8@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000003b07b305d840b30f@google.com> Subject: Re: [syzbot] kernel BUG in vhost_get_vq_desc From: syzbot To: jasowang@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, mst@redhat.com, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com, virtualization@lists.linux-foundation.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org syzbot has found a reproducer for the following issue on: HEAD commit: f71077a4d84b Merge tag 'mmc-v5.17-rc1-2' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=104c04ca700000 kernel config: https://syzkaller.appspot.com/x/.config?x=a78b064590b9f912 dashboard link: https://syzkaller.appspot.com/bug?extid=3140b17cb44a7b174008 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1362e232700000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11373a6c700000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+3140b17cb44a7b174008@syzkaller.appspotmail.com ------------[ cut here ]------------ kernel BUG at drivers/vhost/vhost.c:2335! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3597 Comm: vhost-3596 Not tainted 5.17.0-rc4-syzkaller-00054-gf71077a4d84b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:vhost_get_vq_desc+0x1d43/0x22c0 drivers/vhost/vhost.c:2335 Code: 00 00 00 48 c7 c6 20 2c 9d 8a 48 c7 c7 98 a6 8e 8d 48 89 ca 48 c1 e1 04 48 01 d9 e8 b7 59 28 fd e9 74 ff ff ff e8 5d c8 a1 fa <0f> 0b e8 56 c8 a1 fa 48 8b 54 24 18 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc90001d1fb88 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff8880234b0000 RSI: ffffffff86d715c3 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff86d706bc R11: 0000000000000000 R12: ffff888072c24d68 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888072c24bb0 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000002 CR3: 000000007902c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vhost_vsock_handle_tx_kick+0x277/0xa20 drivers/vhost/vsock.c:522 vhost_worker+0x23d/0x3d0 drivers/vhost/vhost.c:372 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:vhost_get_vq_desc+0x1d43/0x22c0 drivers/vhost/vhost.c:2335 Code: 00 00 00 48 c7 c6 20 2c 9d 8a 48 c7 c7 98 a6 8e 8d 48 89 ca 48 c1 e1 04 48 01 d9 e8 b7 59 28 fd e9 74 ff ff ff e8 5d c8 a1 fa <0f> 0b e8 56 c8 a1 fa 48 8b 54 24 18 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc90001d1fb88 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff8880234b0000 RSI: ffffffff86d715c3 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff86d706bc R11: 0000000000000000 R12: ffff888072c24d68 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888072c24bb0 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000002 CR3: 000000007902c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400