[PATCH 0/5] KVM: PPC: Fix various bugs and vulnerabilities in HV KVM

Paul Mackerras
2012-11-22T09:24:42Z

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(-)