From: Paolo Bonzini <pbonzini@redhat.com>
To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Cc: rkrcmar@redhat.com
Subject: [PATCH 0/7] KVM: syzkaller fixes
Date: Wed, 1 Jun 2016 14:09:17 +0200 [thread overview]
Message-ID: <1464782964-10481-1-git-send-email-pbonzini@redhat.com> (raw)
These fix most of the bugs reported by Dmitry Vyukov a while back.
I couldn't reproduce one of the bugs (patch 7) but the fix is easy.
Probably, more VM ioctls should take kvm->lock, but I have not looked
at it yet.
I have only marked for stable the two patches that fix an oops. However,
all of patches 1-6 could go in 4.7-rc, I think.
Thanks,
Paolo
Paolo Bonzini (7):
kvm: x86: avoid warning on repeated KVM_SET_TSS_ADDR
KVM: x86: avoid vmalloc(0) in the KVM_SET_CPUID
KVM: fail KVM_SET_VCPU_EVENTS with invalid exception number
KVM: irqfd: fix NULL pointer dereference in kvm_irq_map_gsi
KVM: x86: avoid vmalloc(0) in the KVM_SET_CPUID
KVM: x86: fix OOPS after invalid KVM_SET_DEBUGREGS
KVM: x86: protect KVM_CREATE_PIT/KVM_CREATE_PIT2 with kvm->lock
arch/x86/kvm/cpuid.c | 22 ++++++++++++----------
arch/x86/kvm/i8254.c | 4 +++-
arch/x86/kvm/x86.c | 15 ++++++++++++---
virt/kvm/irqchip.c | 2 +-
virt/kvm/kvm_main.c | 22 ++++++++++++----------
5 files changed, 40 insertions(+), 25 deletions(-)
--
1.8.3.1
next reply other threads:[~2016-06-01 12:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-01 12:09 Paolo Bonzini [this message]
2016-06-01 12:09 ` [PATCH 1/7] kvm: x86: avoid warning on repeated KVM_SET_TSS_ADDR Paolo Bonzini
2016-06-01 12:09 ` [PATCH 2/7] KVM: x86: avoid vmalloc(0) in the KVM_SET_CPUID Paolo Bonzini
2016-06-01 12:09 ` [PATCH 3/7] KVM: fail KVM_SET_VCPU_EVENTS with invalid exception number Paolo Bonzini
2016-06-01 12:09 ` [PATCH 4/7] KVM: irqfd: fix NULL pointer dereference in kvm_irq_map_gsi Paolo Bonzini
2017-01-09 22:39 ` Steve Rutherford
2017-01-10 9:32 ` Paolo Bonzini
2016-06-01 12:09 ` [PATCH 5/7] KVM: x86: avoid vmalloc(0) in the KVM_SET_CPUID Paolo Bonzini
2016-06-04 23:55 ` Wanpeng Li
2016-06-01 12:09 ` [PATCH 6/7] KVM: x86: fix OOPS after invalid KVM_SET_DEBUGREGS Paolo Bonzini
2016-06-01 12:09 ` [PATCH 7/7] KVM: x86: protect KVM_CREATE_PIT/KVM_CREATE_PIT2 with kvm->lock Paolo Bonzini
2016-06-01 16:07 ` [PATCH 0/7] KVM: syzkaller fixes Radim Krčmář
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=1464782964-10481-1-git-send-email-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rkrcmar@redhat.com \
/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