Re: [PATCH backport hints for <3.10] KVM: x86: Convert vapicsynchronization to _cached functions (CVE-2013-6368)

From: Greg KH
Date: Mon Dec 16 2013 - 10:22:49 EST


On Mon, Dec 16, 2013 at 12:38:17PM +0100, Paolo Bonzini wrote:
> The KVM patch "fix vapic memory corruption" applies to most kernels that
> have KVM, but the fix does not apply on many older branches. The APIs it
> uses are available in 3.1, but until 3.9 kvm_gfn_to_hva_cache_init had
> one fewer parameter.
>
> The comments in this patch should help fixing kvm_lapic_set_vapic_addr
> in older kernels. I will review the backports as they are posted to
> LKML (if I am CCed...).
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---
> arch/x86/kvm/lapic.c | 38 +++++++++++++++++++++++++++++---------
> arch/x86/kvm/lapic.h | 4 ++--
> arch/x86/kvm/x86.c | 33 +--------------------------------
> 3 files changed, 32 insertions(+), 43 deletions(-)

I don't understand, what are people supposed to do with this?

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/