diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2019-10-30 22:01:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-11 15:35:40 +0300 |
commit | 68460ceba319a46ea14b36129bfd0a152e0f00c3 (patch) | |
tree | a39d524bd1e820bc62466743767e6dcc4d78ece4 /include | |
parent | d0671151c2b9b3a3c233f186e3986716bb890a85 (diff) | |
download | linux-68460ceba319a46ea14b36129bfd0a152e0f00c3.tar.xz |
x86/kvm: Be careful not to clear KVM_VCPU_FLUSH_TLB bit
commit 8c6de56a42e0c657955e12b882a81ef07d1d073e upstream.
kvm_steal_time_set_preempted() may accidentally clear KVM_VCPU_FLUSH_TLB
bit if it is called more than once while VCPU is preempted.
This is part of CVE-2019-3016.
(This bug was also independently discovered by Jim Mattson
<jmattson@google.com>)
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions