Received: by 10.223.164.202 with SMTP id h10csp3732079wrb; Mon, 20 Nov 2017 04:14:20 -0800 (PST) X-Google-Smtp-Source: AGs4zMbMpc9Yp3DqLD8ntQne9drRCP3trwjGI5ikxODyvEaDQOUEzXUSgtQkZUttrGd+f6V47gwP X-Received: by 10.99.126.74 with SMTP id o10mr13389156pgn.153.1511180060878; Mon, 20 Nov 2017 04:14:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511180060; cv=none; d=google.com; s=arc-20160816; b=JAvPxeZMGhr+Qtt8bZu8cmyO5RGlw4dXj6KA1O0VQ1XdYw3X4yJLLr1e6OjvE/+G/U BYbIO4s0ZQXj/3N0gcXOyhM4YDM7mkPRyYmfZrHYpsr0hjbaT9zBIRsAN8Jzn7xu8rXH tAs+/EY9tNCHh5xa4Yg4jnydYfbtI7RjLRYJ1mxR3aCoAQbWrpMg8CySj1gRUrZxChK2 UseGAAMwgTYDxmY67XwXQy+8Bhwqud2st5grzderu+axygtP6MlXAjF/iAM1Z8y/CQpD lOxn3bAQjHmPXLDTxM3MLiKaNQXmuS7+N4pdZRTFQkc1bPQOozBaUasjICxJNHqy8IGj ID9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=pph8G58y2oFTWbnIsHVlRYwRMmoRCiqZS69yD8ap7cg=; b=c6qkFskAisT+h9IXM9xHsDBgIkPEvgk3eRDOhvq9ScudqlpSqVhPaGD7PMGJwxdvMJ CnUkycu6dvgJ7bWa5+CI6LAaymohpPv6H62JKKKtbTUTnQZkErGFs/G31kA1cEIZiqrv +mg/LxOt7N85jKZqaTrNUQmTuoq9meTz1+U/nXd4f7h9/8Bom1yF15Of4Y5Giwi/xfHx mBvkxEhi5+J7pUlv/NO5hOI4c81SneLE2bchpcWOO/NvH2IAemLaMTA+Yrd6HihIylty izVWXUCAO/JuWAQchiaMcNIjdnT+NuRChR/tK2NFsSoZLmHcNXSW3dPdghvijOVmqnqd 3VZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=unkw6dvF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9si7980080pgu.783.2017.11.20.04.14.09; Mon, 20 Nov 2017 04:14:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=unkw6dvF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751146AbdKTMNc (ORCPT + 67 others); Mon, 20 Nov 2017 07:13:32 -0500 Received: from mail-oi0-f67.google.com ([209.85.218.67]:42659 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751021AbdKTMNb (ORCPT ); Mon, 20 Nov 2017 07:13:31 -0500 Received: by mail-oi0-f67.google.com with SMTP id p23so2896495oie.9; Mon, 20 Nov 2017 04:13:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pph8G58y2oFTWbnIsHVlRYwRMmoRCiqZS69yD8ap7cg=; b=unkw6dvFp+g2GfFXjm6fjSf1ts0M7Bejt9ukvndkzpf2lJrypNcaW4BawGwUvq8Az+ vMkYOrVrFPwW/ce6dNtH8O0bGLZtk6o3CiDspQ5lqmiOO/igEG/Im7+QuT4b2gHXl/WA XdvC/WkLSakpHyBJsiSyI9lWsITIdqTGswma6pjF7gGzDYSmRXeO8ToUi4poZUkU/7Wq C3dlCgl9WL0u3F703JZhGGCaqbiEswAYjqS9o7AJU0EGxAUuERGhl4uPc8u4Icc/meJG AiJkQLmYJr2tZiGlj0p+iWI1VUgVr8DY7uUvZVmy+wPRCm6Dnx3MzcHqnaXY/3a3iKOF d9pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pph8G58y2oFTWbnIsHVlRYwRMmoRCiqZS69yD8ap7cg=; b=Eu9LaxDEDdQRaTJZRRR4mkNe3Te/R1bvonJFy3FYm93g6cJu2nyHYqx/QM/ChvlEKO 4rZ0ePZ+2OHxrtj0eewTiBufxwY4WS5JEqBm5Y6sTFzXNt8g/nEsIkB38VLuzv4zJL/1 c3vNZeSg7M/5Mx7dZzo6cZq2Mg9FfdHBgfoGg0y9VqA/nN4cdWK2qip1rQEBzZMxVIbQ I1cB270VrZxnJmdtr/0JA88UL0u1gUKeAT8f3nnjyqHgm4NleY5nV9pRDihUi7JC39Hd OwZvh2tQHET7DCjlqSpLGXQ0lUxIF62Z/DICV0QpOLOeWiiatFkOuzycxW31FR5pcNZL jzZw== X-Gm-Message-State: AJaThX4UVbdVYli3KADiQHeGf6f2lGCedYO08qB4KLl87yAAisvBfh7l pC3XcaG0rPI2CiCtZLVsa7Udc7lmnmo51Ghamd4= X-Received: by 10.202.63.130 with SMTP id m124mr6961300oia.112.1511180010191; Mon, 20 Nov 2017 04:13:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.74.182.67 with HTTP; Mon, 20 Nov 2017 04:13:29 -0800 (PST) In-Reply-To: References: <001a114aa95cf6decb055cf1623b@google.com> <001a113ebb3240667d055e337d48@google.com> From: Wanpeng Li Date: Mon, 20 Nov 2017 20:13:29 +0800 Message-ID: Subject: Re: WARNING in kvm_arch_vcpu_ioctl_run (2) To: Dmitry Vyukov Cc: "H. Peter Anvin" , syzbot , kvm , "linux-kernel@vger.kernel.org" , Ingo Molnar , Paolo Bonzini , Radim Krcmar , syzkaller-bugs@googlegroups.com, Thomas Gleixner , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2017-11-20 20:06 GMT+08:00 Dmitry Vyukov : > On Mon, Nov 20, 2017 at 10:23 AM, Dmitry Vyukov wrote: >> On Mon, Nov 20, 2017 at 10:19 AM, Wanpeng Li wrote: >>> Hi Dmitry, >>> 2017-11-20 12:09 GMT+08:00 Wanpeng Li : >>>> 2017-11-18 4:22 GMT+08:00 syzbot >>>> : >>>>> Hello, >>>>> >>>>> syzbot has tested the proposed patch but the reproducer still triggered >>>>> crash: >>>>> WARNING in kvm_arch_vcpu_ioctl_run >>>>> >>>>> VMExit: intr_info=00000000 errcode=00000000 ilen=00000000 >>>>> reason=80000021 qualification=0000000000000000 >>>>> IDTVectoring: info=00000000 errcode=00000000 >>>>> TSC Offset = 0xffffffeeb46bc6ac >>>>> EPT pointer = 0x00000001ce37601e >>>>> WARNING: CPU: 0 PID: 3023 at arch/x86/kvm/x86.c:7293 >>>>> kvm_arch_vcpu_ioctl_run+0x213/0x5d20 >>>>> Kernel panic - not syncing: panic_on_warn set ... >>>>> >>>>> CPU: 0 PID: 3023 Comm: syz-executor4 Not tainted 4.14.0-next-20171117+ #9 >>>>> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS >>>>> Google 01/01/2011 >>>>> Call Trace: >>>>> dump_stack+0x173/0x237 >>>>> panic+0x1e4/0x41c >>>>> __warn+0x1d9/0x1f0 >>>>> report_bug+0x20a/0x2d0 >>>>> fixup_bug.part.10+0x32/0x80 >>>>> do_error_trap+0x29c/0x370 >>>>> invalid_op+0x18/0x20 >>>>> RIP: 0010:kvm_arch_vcpu_ioctl_run+0x213/0x5d20 >>>>> RSP: 0018:ffff8801ce197680 EFLAGS: 00010293 >>>>> RAX: ffff8801ce588440 RBX: ffff8801d5b8f000 RCX: ffffffff810d4003 >>>>> RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8801ce0e02b8 >>>>> RBP: ffff8801ce197a50 R08: 0000000000000001 R09: 0000000000000001 >>>>> R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 >>>>> R13: ffff8801ce0e0168 R14: ffff8801cec10980 R15: ffff8801ce0e0080 >>>>> kvm_vcpu_ioctl+0x619/0xf80 >>>>> do_vfs_ioctl+0x18b/0x13e0 >>>>> SyS_ioctl+0x7e/0xb0 >>>>> entry_SYSCALL_64_fastpath+0x1f/0x96 >>>>> RIP: 0033:0x452879 >>>>> RSP: 002b:00007f4bc97fdbe8 EFLAGS: 00000212 ORIG_RAX: 0000000000000010 >>>>> RAX: ffffffffffffffda RBX: 0000000000000082 RCX: 0000000000452879 >>>>> RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000004 >>>>> RBP: 00007ffce1993510 R08: 0000000000000000 R09: 0000000000000000 >>>>> R10: 0000000000000000 R11: 0000000000000212 R12: 0000000000000000 >>>>> R13: 00007ffce199348f R14: 00007f4bc97fe9c0 R15: 0000000000000006 >>>>> Dumping ftrace buffer: >>>>> (ftrace buffer empty) >>>>> Kernel Offset: disabled >>>>> Rebooting in 86400 seconds.. >>>> >>>> I will have a look. >>> >>> Please have a try. https://lkml.org/lkml/2017/11/20/118 >> >> Hi Wanpeng, >> >> There is shiny new feature being rolled for syzbot, see "#syz test" here: >> >> https://github.com/google/syzkaller/blob/master/docs/syzbot.md#communication-with-syzbot >> >> Please have a try ;) > > > Bringing some of offline discussion online. We are unable to test > patches for hundreds of bugs reported across branches/releases/OSes > and want to automate most of the process. > Let's give it a try still: > > #syz test: git://git.kernel.org/pub/scm/virt/kvm/kvm.git next The patch fixes the bug which the repro.c triggers, so I'm fine with the result and thanks for your report. :) Regards, Wanpeng Li From 1584586728727223251@xxx Mon Nov 20 12:07:45 +0000 2017 X-GM-THRID: 1582895480167067631 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread