]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
authorJim Mattson <jmattson@google.com>
Mon, 12 Dec 2016 19:01:37 +0000 (11:01 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 05:40:06 +0000 (21:40 -0800)
commit8f32a7cfbc5ea1bca49cae0473ce11e7a84b12cd
tree606f5752c15503bb17e5ca33b0e2f620b5ce744c
parentb45e716f904739421f2a1428b4fbeea7beccf1be
kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)

Orabug: 25291653
CVE: CVE-2016-9588

commit ef85b67385436ddc1998f45f1d6a210f935b3388 upstream.

When L2 exits to L0 due to "exception or NMI", software exceptions
(#BP and #OF) for which L1 has requested an intercept should be
handled by L1 rather than L0. Previously, only hardware exceptions
were forwarded to L1.

Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 3f618a0b872fea38c7d1d1f79eda40f88c6466c2)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Ethan Zhao <ethan.zhao@oracle.com>
arch/x86/kvm/vmx.c