public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] KVM: PPC: Fix various bugs and vulnerabilities in HV KVM
@ 2012-11-22  9:24 Paul Mackerras
  2012-11-22  9:25 ` [PATCH 1/5] KVM: PPC: Book3S HV: Handle guest-caused machine checks on POWER7 without panicking Paul Mackerras
                   ` (5 more replies)
  0 siblings, 6 replies; 33+ messages in thread
From: Paul Mackerras @ 2012-11-22  9:24 UTC (permalink / raw)
  To: Alexander Graf; +Cc: kvm-ppc, kvm

This series of patches fixes various bugs that we have found recently.
The bugs fixed in patches 1, 3 and 4 are also vulnerabilities where
the guest could cause the host to crash or could access host memory
inappropriately.  The bug fixed in patch 2 could cause the host to
hang or crash after the guest reboots.  The bug fixed in patch 5 is a
simple thinko in the recently-added HPT reading code.

These patches are against Alex Graf's kvm-ppc-next branch.  They only
affect HV code.

The first two patches have been posted previously but got no comments.

Please apply - given the nature of these bugs I'd really like this
series to make it into the 3.8 merge window.

Paul.

 arch/powerpc/include/asm/kvm_host.h     |    5 +-
 arch/powerpc/kernel/asm-offsets.c       |    4 +-
 arch/powerpc/kvm/Makefile               |    1 +
 arch/powerpc/kvm/book3s_64_mmu_hv.c     |   29 ++++++--
 arch/powerpc/kvm/book3s_hv.c            |    9 ++-
 arch/powerpc/kvm/book3s_hv_ras.c        |  115 ++++++++++++++++++++++++++++++
 arch/powerpc/kvm/book3s_hv_rm_mmu.c     |   59 ++++++++++++++--
 arch/powerpc/kvm/book3s_hv_rmhandlers.S |  117 +++++++++++++++++--------------
 8 files changed, 271 insertions(+), 68 deletions(-)

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2013-01-06 13:05 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-22  9:24 [PATCH 0/5] KVM: PPC: Fix various bugs and vulnerabilities in HV KVM Paul Mackerras
2012-11-22  9:25 ` [PATCH 1/5] KVM: PPC: Book3S HV: Handle guest-caused machine checks on POWER7 without panicking Paul Mackerras
2012-11-23 14:13   ` Alexander Graf
2012-11-23 21:42     ` Paul Mackerras
2012-11-26 13:15       ` Alexander Graf
2012-11-26 21:33         ` Paul Mackerras
2012-11-26 21:55           ` Alexander Graf
2012-11-26 22:03             ` Alexander Graf
2012-11-26 23:11               ` Paul Mackerras
2012-11-24  8:37     ` [PATCH v2] " Paul Mackerras
2012-11-26 23:16       ` Alexander Graf
2012-11-26 23:18         ` Paul Mackerras
2012-11-26 23:20           ` Alexander Graf
2012-11-27  0:20             ` Paul Mackerras
2012-12-22 14:09       ` [PATCH] KVM: PPC: Book3S HV: Fix compilation without CONFIG_PPC_POWERNV Andreas Schwab
2013-01-06 13:05         ` Alexander Graf
2012-11-22  9:27 ` [PATCH 2/5] KVM: PPC: Book3S HV: Reset reverse-map chains when resetting the HPT Paul Mackerras
2012-11-22  9:28 ` [PATCH 3/5] KVM: PPC: Book3S HV: Improve handling of local vs. global TLB invalidations Paul Mackerras
2012-11-23 15:43   ` Alexander Graf
2012-11-23 22:07     ` Paul Mackerras
2012-11-26 13:10       ` Alexander Graf
2012-11-26 21:48         ` Paul Mackerras
2012-11-26 22:03           ` Alexander Graf
2012-11-26 23:16             ` Paul Mackerras
2012-11-26 23:18               ` Alexander Graf
2012-11-22  9:28 ` [PATCH 4/5] KVM: PPC: Book3S HV: Don't give the guest RW access to RO pages Paul Mackerras
2012-11-23 15:47   ` Alexander Graf
2012-11-23 22:13     ` Paul Mackerras
2012-11-24  9:05       ` Alexander Graf
2012-11-24  9:32         ` Paul Mackerras
2012-11-26 13:09           ` Alexander Graf
2012-11-22  9:29 ` [PATCH 5/5] KVM: PPC: Book3S HV: Report correct HPT entry index when reading HPT Paul Mackerras
2012-11-23 15:48 ` [PATCH 0/5] KVM: PPC: Fix various bugs and vulnerabilities in HV KVM Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox