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

Alexander Graf
2012-11-23T15:48:58Z

On 22.11.2012, at 10:24, Paul Mackerras wrote:

> 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.

Thanks, applied 2/5 and 5/5 to kvm-ppc-next :)

Alex

>
> 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(-)
> --
> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html