Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4136861rwd; Tue, 30 May 2023 00:39:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4BcwU9qnqwTfC1fwIBZickyekJIoGia4EdTWHg4OkKRqecDv40g6ujFzz/IbGJmmcncOv4 X-Received: by 2002:a05:6a20:4325:b0:10a:e73d:2572 with SMTP id h37-20020a056a20432500b0010ae73d2572mr2032195pzk.3.1685432358395; Tue, 30 May 2023 00:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685432358; cv=none; d=google.com; s=arc-20160816; b=1GPxPVcRYiunktglz898W8nJzKdxKGuptVccIlEYcVZTvNAA+MbPstMTONYOOPaOZZ lJZ0BLK+mHpN4rj+hcI5X/S6SmWO3QxQujO9W9tNfZZ2b5kvf1CawAlEgIojnAgkAcZA zp55gCExt+T8QM3jOALKWdsmemLodQBl11tz7SulW0zQ7Xlw3Xg9mO4a5hx1ze2lPAtQ kBRhNu1/3GqOqg5/DE63x71pUiinIg2l6CYZ5Dd6V27PZy2G2IzZ/eBnNPRauAnN5tuf 1zqb64lBqvHXt4WpW4i45EUgdnU2fo0TBuO+IUYS/f6J8FoBjmHv3JqeYqL4ecZDuvFp inXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=a5KqC1edhiO7JepEHlmRT8WJ2yLfb5IhYu4wMi2/DSw=; b=psICGPzkSb9KPp5kfrJHFHBXhgWY+zFQNFvqsny14JkyH+3sHJq8ILXIq46p7+7HYK aKrm4+AYrKPJV1TDiW/x8ZTAHGwlAMCcwiZEY04wPlC87ECkpqist+PwH5R89Lywh5R0 rxGh3CFPB3iRwIYOPmGxjg0Fez9+Ugd+U16ZG3jZtzKHvyvJknYZOGUEn4ofjOeIMnr8 T3Eq8mCRASj4LdKbqCtSWrYOCJFVzf5K9BOEXGaz0W3LbnHUysyqU1W4l+XTZRg+2erg fEEsFFcJ0u+eIV+J25JOckTSKYYRRCyUE12mDacSv7jL8aXihnZcq7f1DI4425qSALgY Hnbw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oc17-20020a17090b1c1100b0025355f85165si7584306pjb.139.2023.05.30.00.39.04; Tue, 30 May 2023 00:39:18 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231210AbjE3HbT (ORCPT + 99 others); Tue, 30 May 2023 03:31:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230319AbjE3Hah (ORCPT ); Tue, 30 May 2023 03:30:37 -0400 Received: from mail-io1-f78.google.com (mail-io1-f78.google.com [209.85.166.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCC23E76 for ; Tue, 30 May 2023 00:30:06 -0700 (PDT) Received: by mail-io1-f78.google.com with SMTP id ca18e2360f4ac-77496ce1b52so249529639f.0 for ; Tue, 30 May 2023 00:30:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685431806; x=1688023806; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=a5KqC1edhiO7JepEHlmRT8WJ2yLfb5IhYu4wMi2/DSw=; b=kFn1Op286JFsUskge/wPi5L9PAb1gLe0O/BxHkT2OVihQ+kvBC58D3bfj3xXpKn6Tx mh8XI3o1SIXEPrfaeOPybHL06VSSfFMTfINyZVdi5S0soW4pCdFJ2TzTpx7EwxLt7Yis FDZXZ19pRJlMFbImulA+hyiinsN0q6/Y+XDdkXhZZrvBlknSP99pfzWqkmJjcVpRFeTE LNNlOdErvIuGejz474LFePSFE2JOVqp5UZeAJGVITfa/sXNEIjxBV4ZNUvmBf9d8jsTZ YrvOqAvUpkHy4SAJbAzac7ZBY1zdTUDj4Zu+rWXSIRdeRwd6epwN+ksGLyvKP2iyweLz G19g== X-Gm-Message-State: AC+VfDwbEjDcpO2BQ/8Y1jgvkoLLxF0BIc0pDlUIMz3pRw8QslbkA+Im q0Go0dLf/IZiSoR9R9A+VM0qzhnsytC4Zv3fO+e88BSBvq2V MIME-Version: 1.0 X-Received: by 2002:a05:6638:1103:b0:41a:c455:f4c1 with SMTP id n3-20020a056638110300b0041ac455f4c1mr678488jal.4.1685431806029; Tue, 30 May 2023 00:30:06 -0700 (PDT) Date: Tue, 30 May 2023 00:30:06 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000001777f605fce42c5f@google.com> Subject: [syzbot] [kvm?] [net?] [virt?] general protection fault in vhost_work_queue 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" X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 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 Hello, syzbot found the following issue on: HEAD commit: 933174ae28ba Merge tag 'spi-fix-v6.4-rc3' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=138d4ae5280000 kernel config: https://syzkaller.appspot.com/x/.config?x=f389ffdf4e9ba3f0 dashboard link: https://syzkaller.appspot.com/bug?extid=d0d442c22fa8db45ff0e compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/21a81b8c2660/disk-933174ae.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/b4951d89e238/vmlinux-933174ae.xz kernel image: https://storage.googleapis.com/syzbot-assets/21eb405303cc/bzImage-933174ae.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+d0d442c22fa8db45ff0e@syzkaller.appspotmail.com general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077] CPU: 0 PID: 29845 Comm: syz-executor.4 Not tainted 6.4.0-rc3-syzkaller-00032-g933174ae28ba #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023 RIP: 0010:vhost_work_queue drivers/vhost/vhost.c:259 [inline] RIP: 0010:vhost_work_queue+0xfc/0x150 drivers/vhost/vhost.c:248 Code: 00 00 fc ff df 48 89 da 48 c1 ea 03 80 3c 02 00 75 56 48 b8 00 00 00 00 00 fc ff df 48 8b 1b 48 8d 7b 70 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 42 48 8b 7b 70 e8 95 9e ae f9 5b 5d 41 5c 41 5d e9 RSP: 0018:ffffc9000333faf8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000d84d000 RDX: 000000000000000e RSI: ffffffff841221d7 RDI: 0000000000000070 RBP: ffff88804b6b95b0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88804b6b00b0 R13: 0000000000000000 R14: ffff88804b6b95e0 R15: ffff88804b6b95c8 FS: 00007f3b445ec700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e423000 CR3: 000000005d734000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: vhost_transport_send_pkt+0x268/0x520 drivers/vhost/vsock.c:288 virtio_transport_send_pkt_info+0x54c/0x820 net/vmw_vsock/virtio_transport_common.c:250 virtio_transport_connect+0xb1/0xf0 net/vmw_vsock/virtio_transport_common.c:813 vsock_connect+0x37f/0xcd0 net/vmw_vsock/af_vsock.c:1414 __sys_connect_file+0x153/0x1a0 net/socket.c:2003 __sys_connect+0x165/0x1a0 net/socket.c:2020 __do_sys_connect net/socket.c:2030 [inline] __se_sys_connect net/socket.c:2027 [inline] __x64_sys_connect+0x73/0xb0 net/socket.c:2027 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3b4388c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3b445ec168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f3b439ac050 RCX: 00007f3b4388c169 RDX: 0000000000000010 RSI: 0000000020000140 RDI: 0000000000000004 RBP: 00007f3b438e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3b43acfb1f R14: 00007f3b445ec300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:vhost_work_queue drivers/vhost/vhost.c:259 [inline] RIP: 0010:vhost_work_queue+0xfc/0x150 drivers/vhost/vhost.c:248 Code: 00 00 fc ff df 48 89 da 48 c1 ea 03 80 3c 02 00 75 56 48 b8 00 00 00 00 00 fc ff df 48 8b 1b 48 8d 7b 70 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 42 48 8b 7b 70 e8 95 9e ae f9 5b 5d 41 5c 41 5d e9 RSP: 0018:ffffc9000333faf8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000d84d000 RDX: 000000000000000e RSI: ffffffff841221d7 RDI: 0000000000000070 RBP: ffff88804b6b95b0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88804b6b00b0 R13: 0000000000000000 R14: ffff88804b6b95e0 R15: ffff88804b6b95c8 FS: 00007f3b445ec700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e428000 CR3: 000000005d734000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 5 bytes skipped: 0: 48 89 da mov %rbx,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 75 56 jne 0x63 d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 48 8b 1b mov (%rbx),%rbx 1a: 48 8d 7b 70 lea 0x70(%rbx),%rdi 1e: 48 89 fa mov %rdi,%rdx 21: 48 c1 ea 03 shr $0x3,%rdx * 25: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 29: 75 42 jne 0x6d 2b: 48 8b 7b 70 mov 0x70(%rbx),%rdi 2f: e8 95 9e ae f9 callq 0xf9ae9ec9 34: 5b pop %rbx 35: 5d pop %rbp 36: 41 5c pop %r12 38: 41 5d pop %r13 3a: e9 .byte 0xe9 --- 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. If the bug is already fixed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to change bug's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the bug is a duplicate of another bug, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup