Received: by 10.213.65.68 with SMTP id h4csp154574imn; Wed, 28 Mar 2018 00:30:59 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/jb8GWg8pdsR2smToIBYzO+yqFrlGQvognXAFs3XobQv7NGH+WlLRSmo9gqQsN8uUhAA24 X-Received: by 2002:a17:902:5609:: with SMTP id h9-v6mr2620889pli.121.1522222259402; Wed, 28 Mar 2018 00:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522222259; cv=none; d=google.com; s=arc-20160816; b=LEFQujBx9j8jjW0bF+G5TXYCsWSxYyhCjH+NQp7V0pz+QWsirukpne0fJCFdu8qRJk F7dI1j+VEcW9EW+kJDhkZiDtURn+B6mv2wCJMGKtK/Qx3WtGfIR71vU/wtLcCoEz9uDB sgfpRmOIuz5X3oqIWIXILKR5eLOG9SfL0C+UhqZ17j41n+WkA7Sm583QM9jZ3c3zfyUS bYPQo772AED7de7WU6dtsrIHamzaKrbxtWlDi+GWIVkZqQ+eGiqSfhjcGFcufGMz4F4W Bi+y8BoklWTpOceXMLEv3DovN05TDH0D0p0v6n7Vjn9PA6064u/gFAd0CICt1+YimGdU L/ww== 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=2szWSyFE5yB5glTQyuwT2CEiAVkPl4bTKpU20UC506o=; b=npGR/35O6+0hIrg7FPDLGAXLJCWg1XD285og4NufA91vna418J9/h9gdmCofd7PXsV Sevtq24Se9hbpUjqSA/l1Zmzz1INvdWXE1EmZvQFPzbNeaiRmUH+iZF7GncNN03F8wr7 oy52ZssnQ/Gd837ZDl10rpldS5w4hdAnxXDYBB1LBteek+e01AgGoRkCvXdrE+e5JPEP Jk/eiG7AXoz6TruFRb/HAWJjsWUs20RUP8929jfizCbwecqZfRWqPIPjqBDEr8NEWRV5 fWOejM9QeIJpXTLqfyFuOUMOiQ16XgEhYFIjaRdEJUXzAZZKb3shvie6bm8/AbAEa++e cm5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pFQDbSU7; 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=QUARANTINE 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 i61-v6si3010014plb.560.2018.03.28.00.30.45; Wed, 28 Mar 2018 00:30:59 -0700 (PDT) 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=pFQDbSU7; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752487AbeC1H3F (ORCPT + 99 others); Wed, 28 Mar 2018 03:29:05 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:45348 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751224AbeC1H3B (ORCPT ); Wed, 28 Mar 2018 03:29:01 -0400 Received: by mail-oi0-f68.google.com with SMTP id 71-v6so1289595oie.12; Wed, 28 Mar 2018 00:29:01 -0700 (PDT) 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=2szWSyFE5yB5glTQyuwT2CEiAVkPl4bTKpU20UC506o=; b=pFQDbSU7IBSAZF8wHk1SMTOpOd6u8wyZxcqZwiCC9mF+IZ40KQgdCeuhrKgaqAMfuX 2mhEAmM0OA6skaFTsXapsyj0pxAnI2/Ap/gFu+esEJbCGHHBez6k+l89qyK5llAZQI5V 70RGQy89HPDUD1u/s4saEEPspW4ciy4YvV/qYSPzUfuGCzGPkGEPomZU66++MyB3+r2J fw+ySBMR7aYpkpU7uNcPRyOQXUuS0xlasNHooJEJ/X4lnS8aImgd42QtmC4D22UVRRlL Q40wHr+KtX3NtPb1m+HZdfKlvnRNem9BzZHGo+RhonneWeyK1UppO9VMmZRp87Cpusga 5MHg== 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=2szWSyFE5yB5glTQyuwT2CEiAVkPl4bTKpU20UC506o=; b=CS040YXgLegE2GDYRyTR3pUahQ6IYdFZ3wvjihzLB35Re2snWKv+cmbSbb3aV6VxkY kt/9KTBj010L7IytJLTZbCzeD75MuQwtgzvKtDBkhYdIHTk7fRGXzjBU4YfhEXoS3vV5 38vgyaMbQuAKnGMgXlDwCnyfC0AF2cutIfCtY5BhU37GISeSl5zEfBb/gvCGRKm5LHib u9EF/w4ExDgZ79KENnqePAd9DRLdnjdRe3JQ8ZcxF9NB3vDM6jHhkKiTjrytsdjf9feJ dtn4TMqRQEFagBykuEcL6g5WPzNQS/K/lkW14Z37tBLGj8Ner51sDd714HS/AXInWVXE zGbA== X-Gm-Message-State: AElRT7EokoAsdmZ5FywqrMjO1tKghbeOd8qDk+ODgit9uBY5RJNfAytA P7GpU/OYLoBPZxjFFtaNsx5msev97OzWa9scZDQ= X-Received: by 10.202.18.13 with SMTP id 13mr1433167ois.197.1522222141229; Wed, 28 Mar 2018 00:29:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.210.78 with HTTP; Wed, 28 Mar 2018 00:29:00 -0700 (PDT) In-Reply-To: <000000000000d05a78056873bc47@google.com> References: <000000000000d05a78056873bc47@google.com> From: Wanpeng Li Date: Wed, 28 Mar 2018 15:29:00 +0800 Message-ID: Subject: Re: WARNING in kvm_arch_vcpu_ioctl_run (3) To: syzbot Cc: "H. Peter Anvin" , kvm , LKML , 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 2018-03-28 15:13 GMT+08:00 syzbot : > Hello, > > syzbot hit the following crash on upstream commit > 99fec39e7725d091c94d1bb0242e40c8092994f6 (Fri Mar 23 22:34:18 2018 +0000) > Merge tag 'trace-v4.16-rc4' of > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace > syzbot dashboard link: > https://syzkaller.appspot.com/bug?extid=760a73552f47a8cd0fd9 > > Unfortunately, I don't have any reproducer for this crash yet. > Raw console output: > https://syzkaller.appspot.com/x/log.txt?id=6275011434250240 > Kernel config: > https://syzkaller.appspot.com/x/.config?id=-5034017172441945317 > compiler: gcc (GCC) 7.1.1 20170620 > user-space arch: i386 > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+760a73552f47a8cd0fd9@syzkaller.appspotmail.com > It will help syzbot understand when the bug is fixed. See footer for > details. > If you forward the report, please keep this part and the footer. > > WARNING: CPU: 1 PID: 9515 at arch/x86/kvm/x86.c:7544 Maybe the same as this one. https://lkml.org/lkml/2018/3/21/174 Paolo, any idea against my analysis? Regards, Wanpeng Li > kvm_arch_vcpu_ioctl_run+0x1c7/0x5c80 arch/x86/kvm/x86.c:7544 > Kernel panic - not syncing: panic_on_warn set ... > > CPU: 1 PID: 9515 Comm: syz-executor4 Not tainted 4.16.0-rc6+ #274 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > Call Trace: > __dump_stack lib/dump_stack.c:17 [inline] > dump_stack+0x194/0x24d lib/dump_stack.c:53 > panic+0x1e4/0x41c kernel/panic.c:183 > __warn+0x1dc/0x200 kernel/panic.c:547 > report_bug+0x1f4/0x2b0 lib/bug.c:186 > fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178 > fixup_bug arch/x86/kernel/traps.c:247 [inline] > do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296 > do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 > invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:986 > RIP: 0010:kvm_arch_vcpu_ioctl_run+0x1c7/0x5c80 arch/x86/kvm/x86.c:7544 > RSP: 0018:ffff8801a2d17580 EFLAGS: 00010212 > RAX: 0000000000010000 RBX: ffff8801cdfd8000 RCX: ffffffff810dfea7 > RDX: 0000000000000062 RSI: ffffc90003c1b000 RDI: ffff8801ac1a8498 > RBP: ffff8801a2d17910 R08: 1ffff10035835b2d R09: 0000000000000001 > R10: ffff8801a2d17560 R11: 0000000000000005 R12: 0000000000000000 > R13: ffff8801ab083100 R14: ffff8801ac1a8280 R15: ffff8801ac1a8280 > kvm_vcpu_ioctl+0x6f1/0xff0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2560 > kvm_vcpu_compat_ioctl+0x364/0x450 > arch/x86/kvm/../../../virt/kvm/kvm_main.c:2755 > C_SYSC_ioctl fs/compat_ioctl.c:1461 [inline] > compat_SyS_ioctl+0x151/0x2a30 fs/compat_ioctl.c:1407 > do_syscall_32_irqs_on arch/x86/entry/common.c:330 [inline] > do_fast_syscall_32+0x3ec/0xf9f arch/x86/entry/common.c:392 > entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 > RIP: 0023:0xf7f41c99 > RSP: 002b:00000000f773d09c EFLAGS: 00000286 ORIG_RAX: 0000000000000036 > RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 000000000000ae80 > RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 > RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 > R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 > R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 > Dumping ftrace buffer: > (ftrace buffer empty) > Kernel Offset: disabled > Rebooting in 86400 seconds.. > > > --- > This bug is generated by a dumb bot. It may contain errors. > See https://goo.gl/tpsmEJ for details. > Direct all questions to syzkaller@googlegroups.com. > > syzbot will keep track of this bug report. > If you forgot to add the Reported-by tag, once the fix for this bug is > merged > into any tree, please reply to this email with: > #syz fix: exact-commit-title > To mark this as a duplicate of another syzbot report, please reply with: > #syz dup: exact-subject-of-another-report > If it's a one-off invalid bug report, please reply with: > #syz invalid > Note: if the crash happens again, it will cause creation of a new bug > report. > Note: all commands must start from beginning of the line in the email body.