Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp35832rwi; Tue, 25 Oct 2022 19:46:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4zDf7ETR6Key1w7b2QpG+yXYqEf8uakZlwm8jLUlJZ0xvqx2MWJd+iWJLaSPh++TJmnXfW X-Received: by 2002:a05:6402:8cc:b0:45c:a5c9:c0a with SMTP id d12-20020a05640208cc00b0045ca5c90c0amr38390615edz.135.1666752407419; Tue, 25 Oct 2022 19:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666752407; cv=none; d=google.com; s=arc-20160816; b=aO8xI302o332Wx+m+U0vzb7DNVBTlgB7jwOkh6zSh+IuR1TSa6bGxucngDSqNVTyoK gGPHX0sMufLEgj/8UizppgwWwCcjj4B29I4N+qijCyi1pSJCbX7Ypip8THYXUiICN5lS ngyc7/tE+eSH1R/juvZoZvHWgDup2yiZ90XMLW0JJ8csBd0IMdjZmXB2fhOUTxAlWsj/ cZwusJo8R9OP7xYqHFb8k739Wrlgb1eQE3J+hU8j4/Lk60pGfta+vM0cVst5Uqou921w tnb58oJTPIXSKJYiZZ+X5HYeeLKdGrKsndtAKjm96GgsFff9VQDBeUrcxjI9gZzrWz38 4riw== 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=yecWmzsy3zyxUrCWTGcZzapzJraUSLhYg8sRvC4iTp0=; b=NYiInva4N3fHnuI9JzsonI0ZCvhxTCyW7bunc2FVRxd84BVw880mELpCi0FG4ZM3ZR iXaECle3+nSRJwdvnrlxPgwIk8yBLd6dPpdoMTioi/sxmvsAHBXlXZ+eNgQdfFo/BQr5 4bXnpKw5xEppuDVVJtMPDUtfQYgkeXUNWhELG66ofBy06k2foGUKoMiQK+7ZfN7NtAGQ +R8T+LIXeqHvoimXSP0pAflLZ5s4yjmhAxGruKh+1s0NozwT3CUPGg5UhEMcz3AoBbs7 IJN7KKB91Khg+b8nnVHIFihcCEFIeMR1ZgPcbD9eAyjiGMWwCjT/Qxapj8j4eujGlq0F SV2Q== 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 ho12-20020a1709070e8c00b0078d3ab37efasi5233068ejc.84.2022.10.25.19.45.34; Tue, 25 Oct 2022 19:46: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; 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 S231903AbiJZCIm (ORCPT + 99 others); Tue, 25 Oct 2022 22:08:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230327AbiJZCIk (ORCPT ); Tue, 25 Oct 2022 22:08:40 -0400 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68FA1B5FF8 for ; Tue, 25 Oct 2022 19:08:39 -0700 (PDT) Received: by mail-il1-f198.google.com with SMTP id i8-20020a056e0212c800b002f9a4c75658so12421865ilm.3 for ; Tue, 25 Oct 2022 19:08:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yecWmzsy3zyxUrCWTGcZzapzJraUSLhYg8sRvC4iTp0=; b=aSFJNDd3q/UtVSazFlmjvJ3NKwzy5TTL2mv2ktDZXjO13V+muLcGK+Flx+dTsWdpRc UZYVjOHhN63qGV5gcCZ8DT2Ds7eQlmEY14y9Z9YcQ3I028QOMxhSlY5u6feOlo9h8CKu a2TlK5zxFH9P8VmXW23CZ2G9+kNvgfx392BZkSj/dv5wa/GGe43qdIWQLRGNd1/QfMRn fW3BwxrJWLWLjbbxfBhn1xdjHLnq33IEfAb4u3YjiV78Ev0AhvwRIcB1Zn68Mj+SJ5k/ Osa9J4LXxi62yKIb/9g/FTbUc4WupMqELbICsK6I/uejvcOgQpg9ZJybXtarNb8ELwpw ev5A== X-Gm-Message-State: ACrzQf1osEmspS/8nv8kNTh6f6bhTUTTpfkV9wgVzzczh20qFRXz5IYz egbRb/AUdEAog2R6QCtamoEX5/5PL0zZnYQ3S4K2yEcGg20q MIME-Version: 1.0 X-Received: by 2002:a02:c8cb:0:b0:36e:3514:bdfe with SMTP id q11-20020a02c8cb000000b0036e3514bdfemr11271147jao.172.1666750118802; Tue, 25 Oct 2022 19:08:38 -0700 (PDT) Date: Tue, 25 Oct 2022 19:08:38 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000c2ba5205ebe680bc@google.com> Subject: [syzbot] WARNING in vcpu_enter_guest (2) From: syzbot To: bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, jarkko@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sgx@vger.kernel.org, mingo@redhat.com, pbonzini@redhat.com, seanjc@google.com, syzkaller-bugs@googlegroups.com, tglx@linutronix.de, x86@kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.9 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,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: 4dc12f37a8e9 Merge tag 'platform-drivers-x86-v6.1-2' of gi.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=113363d2880000 kernel config: https://syzkaller.appspot.com/x/.config?x=a66c6c673fb555e8 dashboard link: https://syzkaller.appspot.com/bug?extid=dbef12497aa912c8e7ba 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=132e84fc880000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10a872f2880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/7858e54948b9/disk-4dc12f37.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/f37bd48d06dc/vmlinux-4dc12f37.xz kernel image: https://storage.googleapis.com/syzbot-assets/98114f50afb3/bzImage-4dc12f37.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+dbef12497aa912c8e7ba@syzkaller.appspotmail.com kvm: KVM_SET_TSS_ADDR need to be called before entering vcpu ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3603 at arch/x86/kvm/x86.c:10047 kvm_check_and_inject_events arch/x86/kvm/x86.c:10047 [inline] WARNING: CPU: 0 PID: 3603 at arch/x86/kvm/x86.c:10047 vcpu_enter_guest+0x92c/0x5a10 arch/x86/kvm/x86.c:10649 Modules linked in: CPU: 0 PID: 3603 Comm: syz-executor122 Not tainted 6.1.0-rc2-syzkaller-00070-g4dc12f37a8e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:kvm_check_and_inject_events arch/x86/kvm/x86.c:10047 [inline] RIP: 0010:vcpu_enter_guest+0x92c/0x5a10 arch/x86/kvm/x86.c:10649 Code: c0 74 06 0f 8e d2 4f 00 00 45 0f b6 b4 24 e8 08 00 00 31 ff 44 89 f6 e8 72 db 6a 00 45 84 f6 0f 84 d4 41 00 00 e8 d4 de 6a 00 <0f> 0b e9 1e 11 00 00 e8 c8 de 6a 00 be 08 00 00 00 4c 89 ff e8 4b RSP: 0018:ffffc90003d3fb60 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888023d8ba80 RSI: ffffffff8111bdac RDI: 0000000000000001 RBP: ffffc90003d3fc80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 000000000008c07e R12: ffff88801c784000 R13: 0000000000000000 R14: 0000000000000001 R15: ffff88801c784038 FS: 0000555556d6e300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffcf8d4d68 CR3: 000000007b6d6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vcpu_run arch/x86/kvm/x86.c:10951 [inline] kvm_arch_vcpu_ioctl_run+0xa5e/0x2b30 arch/x86/kvm/x86.c:11172 kvm_vcpu_ioctl+0x570/0xfc0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4065 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6a646982b9 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffcf8d6828 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6a646982b9 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005 RBP: 00007f6a6465bd10 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6a6465bda0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 --- 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