Received: by 10.223.164.221 with SMTP id h29csp1254484wrb; Wed, 1 Nov 2017 13:07:54 -0700 (PDT) X-Google-Smtp-Source: ABhQp+T13TDCYw4TFzEdo/Pu25rTM3G3owQz44J21UNiR9VKBYOCmf2+cIN4oo/F5k2OTRDucUmh X-Received: by 10.99.38.129 with SMTP id m123mr974614pgm.53.1509566874054; Wed, 01 Nov 2017 13:07:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509566874; cv=none; d=google.com; s=arc-20160816; b=xExk4Fz1R1yBmlzXz3rd6BWK+fVdZNd8N3+WR82B4bot9+Qt3B8WUNhUaxoCR/beM0 cJEY72f2a/zmsWo9j8Hjx/fI3WskFwnNbBHsJtPHIlx9jhSKhD7tb7aETnwagTYkqstL cGTh8eQTILj1bC0vyL0n3+Lf6bvLWt3pmkhoaDKPyrPXC5INqWbvPXcwNmItM2DCJvIy SUQsiwuAHjehNk6Po7EfrfG3BnTtQ1m+SmHjZKfVFAYgPP393SrJWiQIiE6iAdn62R4r cuDof8+dAcm3IKXFN8DNxiz7VN6s42SN7pmRW3daYL2F0bRdb/weaLSYm19R1petVIXV /OBw== 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=w9WXadk53/fzx6jRc+lJ4OHyj1c5GJnysy7ggXQtKw4=; b=V62QBwk4vFOuWzcTBLxCJPJ691lxKNZR+2z5YT/5UvCD2adIuNbZlW6+C+GtI/JUlw cPiHh3iLMYfDGcEk8lHks4hg3xuAqICvf05nNoa0bikwxcCl4PnHRTLWyyUHjc95JmOR FEM95/lXtk5tcfgRunSt4fPMhC3S81mVIEj+MutuxozovJxNXd1QpEK0uoaZPwtYheVk s1YGNvKgIVw41itXVUYvpZFsedPqXh0oaOQf9nBBSUjIkxGND1YR1tpJOzhKgydIGb/N Q/5YCDF2AmBtVvyEVdSt/IsvZpLZfo98MpQu1YC/qSHPNpOg8H7zBNrSSNpsu9iiQlOX h04g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=eM/kT2s5; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r7si1748999pgf.738.2017.11.01.13.07.40; Wed, 01 Nov 2017 13:07:54 -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=@google.com header.s=20161025 header.b=eM/kT2s5; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755124AbdKAUGz (ORCPT + 99 others); Wed, 1 Nov 2017 16:06:55 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:46302 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751778AbdKAUGw (ORCPT ); Wed, 1 Nov 2017 16:06:52 -0400 Received: by mail-io0-f196.google.com with SMTP id 101so8787792ioj.3 for ; Wed, 01 Nov 2017 13:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=w9WXadk53/fzx6jRc+lJ4OHyj1c5GJnysy7ggXQtKw4=; b=eM/kT2s5SMIKscCsG5Zp4+tN/pUCNYout8lanaqK9GwGuAEE2SyfHoQhpPuu2eY1O/ To5OJ0nd6AlW/cKCv7DcLqP5AGQtbLEyPGnsVZ4seCXuXE/S+L/cYGx1/Of7xoeaheAL 1asBbTuLY+JG9Ye7vBPvSVRZPLtktLD9iv29jnjtjm33tCCxd109XDMcDzOJDS5LftAg z9wiRJl0ZQdARBnJsvna3aNEtQrepktEo5rqp4l9lb9oqF0kqM++0CyBmSyLfYcnQt6x 4XtJYpA1por6vQ5+9GPJeYdX3/3L8uq9Xwek9+rY4JmIqWJE4/cgmGIgZg9tf+0ePiQ7 ZtNg== 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=w9WXadk53/fzx6jRc+lJ4OHyj1c5GJnysy7ggXQtKw4=; b=taultlX0WaaAPWdyZ/WyX5H43bIE00vIjCXwPjqLAZeVU4ZX61+Mp7WQgWXmCheG1D QPD4LUscgpEGOMxtfuAU1ObUxlMfelNv/9ztosyDE5sb64VkEPT9RdbrsXnHQ4n58f94 OCSM6E2lMXmijVA8EqFroJhQju78u7GiCc2uUzRlM7hQRcMnzZhKduosDGYJHh0Yzpmq FiBWwwy5JMEfvR4/HGL4o6Zg5AXni9H/hlq/AOTjoWzbD1Ee0+iHRnviNMcwgN9vUF4t moEc59od+d4AuRj+BYhze6xuFpxL5UL+iTRIiLRSJg4hDUMBJWxNCV5z3dvMtIv+m69t 22iw== X-Gm-Message-State: AJaThX52nQLVd4jSjhX77NtzR4d+UFbCcfXTDuglQqtIZ8bfu0LUXWzE c2dtqNUAgK8tCRMloWdh4SfJSqSvQaLDGqq0cI4Cjw== X-Received: by 10.107.9.27 with SMTP id j27mr1421370ioi.111.1509566811934; Wed, 01 Nov 2017 13:06:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.155.231 with HTTP; Wed, 1 Nov 2017 13:06:31 -0700 (PDT) In-Reply-To: <001a114aa95cf6decb055cf1623b@google.com> References: <001a114aa95cf6decb055cf1623b@google.com> From: Dmitry Vyukov Date: Wed, 1 Nov 2017 23:06:31 +0300 Message-ID: Subject: Re: WARNING in kvm_arch_vcpu_ioctl_run (2) To: syzbot Cc: "H. Peter Anvin" , KVM list , LKML , Ingo Molnar , Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , syzkaller-bugs@googlegroups.com, Thomas Gleixner , "the arch/x86 maintainers" , Wanpeng Li 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 On Wed, Nov 1, 2017 at 11:05 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 045c5205823fc3cd4e5cafdedb2cc7d434424909 > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is attached. > C reproducer is attached > syzkaller reproducer is attached. See https://goo.gl/kgGztJ > for information about syzkaller reproducers This happens on more recent commits as well, including e.g. upstream 5f479447d983111c039f1d6d958553c1ad1b2ff1(Oct 30): ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6790 at arch/x86/kvm/x86.c:7265 kvm_arch_vcpu_ioctl_run+0x213/0x5c70 arch/x86/kvm/x86.c:7265 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 6790 Comm: syz-executor4 Not tainted 4.14.0-rc7+ #155 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:16 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:52 panic+0x1e4/0x417 kernel/panic.c:181 __warn+0x1c4/0x1d9 kernel/panic.c:542 report_bug+0x211/0x2d0 lib/bug.c:183 fixup_bug+0x40/0x90 arch/x86/kernel/traps.c:178 do_trap_no_signal arch/x86/kernel/traps.c:212 [inline] do_trap+0x260/0x390 arch/x86/kernel/traps.c:261 do_error_trap+0x120/0x390 arch/x86/kernel/traps.c:298 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:311 invalid_op+0x18/0x20 arch/x86/entry/entry_64.S:905 RIP: 0010:kvm_arch_vcpu_ioctl_run+0x213/0x5c70 arch/x86/kvm/x86.c:7265 RSP: 0018:ffff8801c5307670 EFLAGS: 00010212 RAX: 0000000000010000 RBX: ffff8801d2da1000 RCX: ffffc9000244f000 RDX: 000000000000003e RSI: ffffffff810e0713 RDI: ffff8801c6da1160 RBP: ffff8801c5307a40 R08: 1ffff10038db4abb R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000004 R12: 0000000000000000 R13: ffff8801c18d4700 R14: ffff8801c26f1300 R15: ffff8801c6da0f40 kvm_vcpu_ioctl+0x64c/0x1010 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2551 vfs_ioctl fs/ioctl.c:45 [inline] do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:685 SYSC_ioctl fs/ioctl.c:700 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:691 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x452869 RSP: 002b:00007f61c0ff0be8 EFLAGS: 00000212 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000007580d8 RCX: 0000000000452869 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000017 RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f1580 R13: 00000000ffffffff R14: 00007f61c0ff16d4 R15: 0000000000000001 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds.. > EPT pointer = 0x00000001cbc2801e > ------------[ cut here ]------------ > WARNING: CPU: 0 PID: 3247 at arch/x86/kvm/x86.c:7265 > kvm_arch_vcpu_ioctl_run+0x213/0x5c70 arch/x86/kvm/x86.c:7265 > Kernel panic - not syncing: panic_on_warn set ... > > CPU: 0 PID: 3247 Comm: syzkaller201086 Not tainted 4.14.0-rc2-next-20170927+ > #30 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > Call Trace: > __dump_stack lib/dump_stack.c:16 [inline] > dump_stack+0x194/0x257 lib/dump_stack.c:52 > panic+0x1e4/0x417 kernel/panic.c:181 > __warn+0x1c4/0x1d9 kernel/panic.c:542 > report_bug+0x211/0x2d0 lib/bug.c:183 > fixup_bug+0x40/0x90 arch/x86/kernel/traps.c:178 > do_trap_no_signal arch/x86/kernel/traps.c:212 [inline] > do_trap+0x260/0x390 arch/x86/kernel/traps.c:261 > do_error_trap+0x120/0x390 arch/x86/kernel/traps.c:298 > do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:311 > invalid_op+0x18/0x20 arch/x86/entry/entry_64.S:905 > RIP: 0010:kvm_arch_vcpu_ioctl_run+0x213/0x5c70 arch/x86/kvm/x86.c:7265 > RSP: 0018:ffff8801cb807670 EFLAGS: 00010297 > RAX: ffff8801cbf28280 RBX: ffff8801cbef1000 RCX: ffff8801cd678adc > RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8801cd6788f8 > RBP: ffff8801cb807a40 R08: 0000000000000000 R09: 0000000000000001 > R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 > R13: 1ffff10039700f72 R14: ffff8801d6928c00 R15: ffff8801cd6786c0 > kvm_vcpu_ioctl+0x64c/0x1010 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2551 > vfs_ioctl fs/ioctl.c:45 [inline] > do_vfs_ioctl+0x1b1/0x1530 fs/ioctl.c:685 > SYSC_ioctl fs/ioctl.c:700 [inline] > SyS_ioctl+0x8f/0xc0 fs/ioctl.c:691 > entry_SYSCALL_64_fastpath+0x1f/0xbe > RIP: 0033:0x446039 > RSP: 002b:00007f520767adc8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 > RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000446039 > RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 000000000000000f > RBP: 0000000000000086 R08: 00007f520767b700 R09: 00007f520767b700 > R10: 00007f520767b700 R11: 0000000000000202 R12: 0000000000000000 > R13: 00007ffdb6946c2f R14: 00007f520767b9c0 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. > Please credit me with: Reported-by: syzbot > > syzbot will keep track of this bug report. > Once a fix for this bug is committed, 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. > > -- > You received this message because you are subscribed to the Google Groups > "syzkaller-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to syzkaller-bugs+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/syzkaller-bugs/001a114aa95cf6decb055cf1623b%40google.com. > For more options, visit https://groups.google.com/d/optout. From 1582895480167067631@xxx Wed Nov 01 20:06:04 +0000 2017 X-GM-THRID: 1582895480167067631 X-Gmail-Labels: Inbox,Category Forums