From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751760AbcFVIsc (ORCPT ); Wed, 22 Jun 2016 04:48:32 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:34408 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750834AbcFVIsa (ORCPT ); Wed, 22 Jun 2016 04:48:30 -0400 Subject: Re: kvm: GPF in kvm_lapic_latched_init To: Dmitry Vyukov References: Cc: Gleb Natapov , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "x86@kernel.org" , KVM list , LKML , mtosatti@redhat.com, yoshikawa_takuya_b1@lab.ntt.co.jp, guangrong.xiao@linux.intel.com, Eric Northup , Andrew Honig , syzkaller , Kostya Serebryany , Alexander Potapenko , Eric Dumazet , Sasha Levin From: Paolo Bonzini Message-ID: Date: Wed, 22 Jun 2016 10:46:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/06/2016 10:38, Dmitry Vyukov wrote: > On Wed, Jun 22, 2016 at 10:36 AM, Paolo Bonzini wrote: >> On 22/06/2016 10:20, Dmitry Vyukov wrote: >>>>>>> All crashes suggest that apic is NULL. >>>>>>> >>>>>>> On commit b06f3a168cdcd80026276898fd1fee443ef25743 (Jan 6). >>> >>> Ping. Just hit it again on 67016f6cdfd079e632bbc49e33178b2d558c120a (Jun 20): >> >> This might have been the same bug you reported yesterday in kvm_set_cr8. >> I've sent a patch to fix static keys. > > Then it is probably the same as the following one as well? Not 100% sure, can you send the reproducer? Paolo > WARNING: CPU: 3 PID: 23379 at kernel/sched/core.c:2583[< none > >] preempt_notifier_register+0x2b/0x120 kernel/sched/core.c:2583 > registering preempt_notifier while notifiers disabled > Modules linked in: > CPU: 3 PID: 23379 Comm: syz-executor Not tainted 4.7.0-rc4+ #2 > Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 > ffffffff880b58e0 ffff88003a79fa60 ffffffff82cc62cf ffffffff81495e98 > fffffbfff1016b1c ffff88003a79fad8 0000000000000000 ffffffff86ca0220 > ffffffff813ed78b 0000000000000009 ffff88003a79faa8 ffffffff8136d27f > Call Trace: > [< inline >] __dump_stack lib/dump_stack.c:15 > [] dump_stack+0x12e/0x18f lib/dump_stack.c:51 > [] __warn+0x19f/0x1e0 kernel/panic.c:516 > [] warn_slowpath_fmt+0xac/0xd0 kernel/panic.c:531 > [] preempt_notifier_register+0x2b/0x120 > kernel/sched/core.c:2583 > [] vcpu_load+0x46/0x70 > arch/x86/kvm/../../../virt/kvm/kvm_main.c:146 > [] kvm_arch_vcpu_setup+0x1f/0x60 arch/x86/kvm/x86.c:7390 > [< inline >] kvm_vm_ioctl_create_vcpu > arch/x86/kvm/../../../virt/kvm/kvm_main.c:2355 > [] kvm_vm_ioctl+0x582/0x10d0 > arch/x86/kvm/../../../virt/kvm/kvm_main.c:2839 > [< inline >] vfs_ioctl fs/ioctl.c:43 > [] do_vfs_ioctl+0x18c/0xff0 fs/ioctl.c:674 > [< inline >] SYSC_ioctl fs/ioctl.c:689 > [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:680 > [] entry_SYSCALL_64_fastpath+0x23/0xc1 > arch/x86/entry/entry_64.S:207 > ---[ end trace c0e5c1ad551a4947 ]--- > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >