]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Add memory barrier on vmcs field lookup
authorAndrew Honig <ahonig@google.com>
Wed, 10 Jan 2018 18:12:03 +0000 (10:12 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Jan 2018 17:20:31 +0000 (18:20 +0100)
commit1d0e727d0626a6148ed50378599f08a53ec3b131
treee95c8451e33be341ccfaa853dd7a2927857882ef
parent7192a68628efdf3b4e0b57470a4e8cadeb69915d
KVM: x86: Add memory barrier on vmcs field lookup

This adds a memory barrier when performing a lookup into
the vmcs_field_to_offset_table.  This is related to
CVE-2017-5753.

Signed-off-by: Andrew Honig <ahonig@google.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c