Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756189AbdLOJwF (ORCPT ); Fri, 15 Dec 2017 04:52:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49373 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754842AbdLOJwC (ORCPT ); Fri, 15 Dec 2017 04:52:02 -0500 Subject: Re: BUG: unable to handle kernel paging request in __switch_to To: Dmitry Vyukov , Linus Torvalds Cc: Andy Lutomirski , Thomas Gleixner , syzbot , Borislav Petkov , Dmitry Safonov , Peter Anvin , Linux Kernel Mailing List , Kyle Huey , Ingo Molnar , syzkaller-bugs@googlegroups.com, the arch/x86 maintainers , Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , KVM list , tianyu.lan@intel.com, James Mattson , Wanpeng Li References: <001a1145e8548cbd3d055f73374f@google.com> From: David Hildenbrand Organization: Red Hat GmbH Message-ID: <1036ed60-035c-70a0-0a5f-00efe8ebf4da@redhat.com> Date: Fri, 15 Dec 2017 10:51:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 15 Dec 2017 09:52:02 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 554 Lines: 27 > int main() > { > int fd = open("/dev/kvm", 0x80102ul); > int vm = ioctl(fd, KVM_CREATE_VM, 0); > int cpu = ioctl(vm, KVM_CREATE_VCPU, 4); Not even a memory region :) So maybe the first memory access directly triggers a fault? > ioctl(cpu, KVM_RUN, 0); > return 0; > } > > And, yes, this in fact triggers instant reboot of kernel (running in qemu). > Am I missing something here? > > +kvm maintainers, you can see full thread here: > https://groups.google.com/forum/#!topic/syzkaller-bugs/_oveOKGm3jw > -- Thanks, David / dhildenb