From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4983CC46460 for ; Tue, 14 Aug 2018 17:16:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DDFBD21730 for ; Tue, 14 Aug 2018 17:16:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DDFBD21730 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387615AbeHNUEN (ORCPT ); Tue, 14 Aug 2018 16:04:13 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:49010 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1733040AbeHNUEN (ORCPT ); Tue, 14 Aug 2018 16:04:13 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5E8F6401EF23; Tue, 14 Aug 2018 17:16:09 +0000 (UTC) Received: from [10.36.116.173] (ovpn-116-173.ams2.redhat.com [10.36.116.173]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C20F77C21; Tue, 14 Aug 2018 17:16:06 +0000 (UTC) Subject: Re: WARNING in free_loaded_vmcs (2) To: syzbot , hpa@zytor.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, rkrcmar@redhat.com, syzkaller-bugs@googlegroups.com, tglx@linutronix.de, x86@kernel.org References: <000000000000b239d705736497a3@google.com> From: Paolo Bonzini Openpgp: preference=signencrypt Autocrypt: addr=pbonzini@redhat.com; prefer-encrypt=mutual; keydata= xsEhBFRCcBIBDqDGsz4K0zZun3jh+U6Z9wNGLKQ0kSFyjN38gMqU1SfP+TUNQepFHb/Gc0E2 CxXPkIBTvYY+ZPkoTh5xF9oS1jqI8iRLzouzF8yXs3QjQIZ2SfuCxSVwlV65jotcjD2FTN04 hVopm9llFijNZpVIOGUTqzM4U55sdsCcZUluWM6x4HSOdw5F5Utxfp1wOjD/v92Lrax0hjiX DResHSt48q+8FrZzY+AUbkUS+Jm34qjswdrgsC5uxeVcLkBgWLmov2kMaMROT0YmFY6A3m1S P/kXmHDXxhe23gKb3dgwxUTpENDBGcfEzrzilWueOeUWiOcWuFOed/C3SyijBx3Av/lbCsHU Vx6pMycNTdzU1BuAroB+Y3mNEuW56Yd44jlInzG2UOwt9XjjdKkJZ1g0P9dwptwLEgTEd3Fo UdhAQyRXGYO8oROiuh+RZ1lXp6AQ4ZjoyH8WLfTLf5g1EKCTc4C1sy1vQSdzIRu3rBIjAvnC tGZADei1IExLqB3uzXKzZ1BZ+Z8hnt2og9hb7H0y8diYfEk2w3R7wEr+Ehk5NQsT2MPI2QBd wEv1/Aj1DgUHZAHzG1QN9S8wNWQ6K9DqHZTBnI1hUlkp22zCSHK/6FwUCuYp1zcAEQEAAc0f UGFvbG8gQm9uemluaSA8Ym9uemluaUBnbnUub3JnPsLBTQQTAQIAIwUCVEJ7AwIbAwcLCQgH AwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEH4VEAzNNmmxNcwOniaZVLsuy1lW/ntYCA0Caz0i sHpmecK8aWlvL9wpQCk4GlOX9L1emyYXZPmzIYB0IRqmSzAlZxi+A2qm9XOxs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GMpoYwYOmHn plOzCXHvmdlW0i6SrMsBDl9rw4AtIa6bRwWLim1lQ6EM3PWifPrWSUPrPcw4OLSwFk0CPqC4 HYv/7ZnASVkR5EERFF3+6iaaVi5OgBd81F1TCvCX2BEyIDRZLJNvX3TOd5FEN+lIrl26xecz 876SvcOb5SL5SKg9/rCBufdPSjojkGFWGziHiFaYhbuI2E+NfWLJtd+ZvWAAV+O0d8vFFSvr iy9enJ8kxJwhC0ECbSKFY+W1eTIhMD3aeAKY90drozWEyHhENf4l/V+Ja5vOnW+gCDQkGt2Y 1lJAPPSIqZKvHzGShdh8DduC0U3xYkfbGAUvbxeepjgzp0uEnBXfPTy09JGpgWbg0w91GyfT /ujKaGd4vxG2Ei+MMNDmS1SMx7wu0evvQ5kT9NPzyq8R2GIhVSiAd2jioGuTjX6AZCFv3ToO 53DliFMkVTecLptsXaesuUHgL9dKIfvpm+rNXRn9wAwGjk0X/A== Message-ID: Date: Tue, 14 Aug 2018 19:16:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <000000000000b239d705736497a3@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 14 Aug 2018 17:16:09 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 14 Aug 2018 17:16:09 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'pbonzini@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Is there anything that was changed in syzkaller and is causing it to find all these bugs? Thanks, Paolo On 14/08/2018 14:46, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:    112cbae26d18 Merge branch 'linus' of > git://git.kernel.org/.. > git tree:       upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=161d8a3c400000 > kernel config:  https://syzkaller.appspot.com/x/.config?x=152cb8ccd35b1f70 > dashboard link: > https://syzkaller.appspot.com/bug?extid=01bc9e7a8a3f138b71cf > compiler:       gcc (GCC) 8.0.1 20180413 (experimental) > > Unfortunately, I don't have any reproducer for this crash yet. > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+01bc9e7a8a3f138b71cf@syzkaller.appspotmail.com > > WARNING: CPU: 1 PID: 5195 at arch/x86/kvm/vmx.c:4431 > free_loaded_vmcs+0x160/0x1b0 arch/x86/kvm/vmx.c:4431 > Kernel panic - not syncing: panic_on_warn set ... > > CPU: 1 PID: 5195 Comm: syz-executor3 Not tainted 4.18.0-rc8+ #182 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > Call Trace: >  __dump_stack lib/dump_stack.c:77 [inline] >  dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113 >  panic+0x238/0x4e7 kernel/panic.c:184 >  __warn.cold.8+0x163/0x1ba kernel/panic.c:536 >  report_bug+0x252/0x2d0 lib/bug.c:186 >  fixup_bug arch/x86/kernel/traps.c:178 [inline] >  do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296 >  do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 >  invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992 > RIP: 0010:free_loaded_vmcs+0x160/0x1b0 arch/x86/kvm/vmx.c:4431 > Code: 81 e8 64 25 53 00 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea > 03 80 3c 02 00 75 49 4c 8b 23 e9 22 ff ff ff e8 50 5f 5f 00 <0f> 0b eb > b0 e8 77 3b 9d 00 e9 f4 fe ff ff 48 89 df e8 8a 3b 9d 00 > RSP: 0018:ffff8801947bf780 EFLAGS: 00010293 > RAX: ffff88018fe4a680 RBX: ffff88018f95e3e8 RCX: 0000000000000000 > RDX: 0000000000000000 RSI: ffffffff811cb900 RDI: ffff88018f95e3f0 > RBP: ffff8801947bf798 R08: ffffea0007544608 R09: 0000000000000000 > R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d5118000 > R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000001 >  vmx_free_vcpu+0x204/0x300 arch/x86/kvm/vmx.c:10299 >  kvm_arch_vcpu_free arch/x86/kvm/x86.c:8314 [inline] >  kvm_free_vcpus arch/x86/kvm/x86.c:8763 [inline] >  kvm_arch_destroy_vm+0x365/0x7c0 arch/x86/kvm/x86.c:8860 >  kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:746 [inline] >  kvm_put_kvm+0x73f/0x1060 arch/x86/kvm/../../../virt/kvm/kvm_main.c:767 >  kvm_vcpu_release+0x7b/0xa0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2397 >  __fput+0x355/0x8b0 fs/file_table.c:209 >  ____fput+0x15/0x20 fs/file_table.c:243 >  task_work_run+0x1ec/0x2a0 kernel/task_work.c:113 >  tracehook_notify_resume include/linux/tracehook.h:192 [inline] >  exit_to_usermode_loop+0x313/0x370 arch/x86/entry/common.c:166 >  prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] >  syscall_return_slowpath arch/x86/entry/common.c:268 [inline] >  do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 >  entry_SYSCALL_64_after_hwframe+0x49/0xbe > RIP: 0033:0x410c41 > Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 19 00 00 c3 > 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c > 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 > RSP: 002b:0000000000a3fdc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 > RAX: 0000000000000000 RBX: 0000000000000007 RCX: 0000000000410c41 > RDX: 0000000000000000 RSI: 0000000000731000 RDI: 0000000000000006 > RBP: 0000000000000000 R08: ffffffffffffffff R09: ffffffffffffffff > R10: 0000000000a3fcf0 R11: 0000000000000293 R12: 0000000000000007 > R13: 000000000008c6e7 R14: 0000000000000398 R15: badc0ffeebadface > Dumping ftrace buffer: >    (ftrace buffer empty) > Kernel Offset: disabled > Rebooting in 86400 seconds.. > > > --- > This bug 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 bug report. See: > https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with > syzbot.