Home
last modified time | relevance | path

Searched hist:a430c9166312e1aa3d80bce32374233bdbfeba32 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Demulate.cdiff a430c9166312e1aa3d80bce32374233bdbfeba32 Thu Oct 23 07:54:14 CDT 2014 Paolo Bonzini <pbonzini@redhat.com> KVM: emulate: avoid accessing NULL ctxt->memopp

A failure to decode the instruction can cause a NULL pointer access.
This is fixed simply by moving the "done" label as close as possible
to the return.

This fixes CVE-2014-8481.

Reported-by: Andy Lutomirski <luto@amacapital.net>
Cc: stable@vger.kernel.org
Fixes: 41061cdb98a0bec464278b4db8e894a3121671f5
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>