Home
last modified time | relevance | path

Searched hist:"3 f6f1480d86bf9fc16c160d803ab1d006e3058d5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Demulate.cdiff 3f6f1480d86bf9fc16c160d803ab1d006e3058d5 Mon Oct 13 05:04:14 CDT 2014 Nadav Amit <namit@cs.technion.ac.il> KVM: x86: PREFETCH and HINT_NOP should have SrcMem flag

The decode phase of the x86 emulator assumes that every instruction with the
ModRM flag, and which can be used with RIP-relative addressing, has either
SrcMem or DstMem. This is not the case for several instructions - prefetch,
hint-nop and clflush.

Adding SrcMem|NoAccess for prefetch and hint-nop and SrcMem for clflush.

This fixes CVE-2014-8480.

Fixes: 41061cdb98a0bec464278b4db8e894a3121671f5
Cc: stable@vger.kernel.org
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>