diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2022-05-12 13:14:20 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-05-12 09:51:26 -0400 |
commit | 33fbe6befa622c082f7d417896832856814bdde0 (patch) | |
tree | b28967677f9bd5d4cee83c4ac18b6b83330c6b6d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9913288318aa4acf2c849add1616e9b4df5a7b44 (diff) |
KVM: x86: fix typo in __try_cmpxchg_user causing non-atomicness
This shows up as a TDP MMU leak when running nested. Non-working cmpxchg on L0
relies makes L1 install two different shadow pages under same spte, and one of
them is leaked.
Fixes: 1c2361f667f36 ("KVM: x86: Use __try_cmpxchg_user() to emulate atomic accesses")
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220512101420.306759-1-mlevitsk@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions