mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: Dmitry Vyukov <dvyukov@google.com>,
	Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Andy Lutomirski" <luto@kernel.org>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	syzbot
	<bot+1f445b1009b8eeededa30fe62ccf685f2ec9d155@syzkaller.appspotmail.com>,
	"Borislav Petkov" <bp@suse.de>,
	"Dmitry Safonov" <dsafonov@virtuozzo.com>,
	"Peter Anvin" <hpa@zytor.com>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	"Kyle Huey" <me@kylehuey.com>, "Ingo Molnar" <mingo@redhat.com>,
	syzkaller-bugs@googlegroups.com,
	"the arch/x86 maintainers" <x86@kernel.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Radim Krčmář" <rkrcmar@redhat.com>,
	"KVM list" <kvm@vger.kernel.org>,
	tianyu.lan@intel.com, "James Mattson" <jmattson@google.com>,
	"Wanpeng Li" <kernellwp@gmail.com>
Subject: Re: BUG: unable to handle kernel paging request in __switch_to
Date: Fri, 15 Dec 2017 10:51:56 +0100	[thread overview]
Message-ID: <1036ed60-035c-70a0-0a5f-00efe8ebf4da@redhat.com> (raw)
In-Reply-To: <CACT4Y+buFtqoO6KF0ZW1HQTMC3rVZ=_0FQq826TmWLZyxkPcwA@mail.gmail.com>


> 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

  parent reply	other threads:[~2017-12-15  9:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <001a1145e8548cbd3d055f73374f@google.com>
2017-12-14 17:12 ` Thomas Gleixner
2017-12-14 18:42   ` Linus Torvalds
2017-12-14 18:54     ` Andy Lutomirski
2017-12-14 19:28       ` Linus Torvalds
2017-12-14 21:27         ` Andy Lutomirski
2017-12-14 21:39           ` Linus Torvalds
2017-12-15  9:07             ` Dmitry Vyukov
2017-12-15  9:13               ` Dmitry Vyukov
2017-12-15  9:38                 ` Dmitry Vyukov
2017-12-15  9:40                   ` Wanpeng Li
2017-12-15  9:51                   ` David Hildenbrand [this message]
2017-12-15  9:58                     ` Wanpeng Li
2017-12-15 10:02                       ` Dmitry Vyukov
2017-12-15 16:16                         ` Andy Lutomirski
2017-12-15 16:44                           ` Ingo Molnar
2017-12-19 11:48                             ` Dmitry Vyukov
2017-12-15  9:49               ` Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1036ed60-035c-70a0-0a5f-00efe8ebf4da@redhat.com \
    --to=david@redhat.com \
    --cc=bot+1f445b1009b8eeededa30fe62ccf685f2ec9d155@syzkaller.appspotmail.com \
    --cc=bp@suse.de \
    --cc=dsafonov@virtuozzo.com \
    --cc=dvyukov@google.com \
    --cc=hpa@zytor.com \
    --cc=jmattson@google.com \
    --cc=kernellwp@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=me@kylehuey.com \
    --cc=mingo@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=rkrcmar@redhat.com \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=tglx@linutronix.de \
    --cc=tianyu.lan@intel.com \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®