commit | 37f66bbef0920429b8cb5eddba849ec4308a9f8e | [log] [tgz] |
---|---|---|
author | Maxim Levitsky <mlevitsk@redhat.com> | Thu Aug 27 20:11:44 2020 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Sat Sep 12 12:22:55 2020 -0400 |
tree | 67f132e53a670820276243ba7238aba555ae8484 | |
parent | 3ebb5d2617fbf45567975f878232178c5b292d58 [diff] |
KVM: emulator: more strict rsm checks. Don't ignore return values in rsm_load_state_64/32 to avoid loading invalid state from SMM state area if it was tampered with by the guest. This is primarly intended to avoid letting guest set bits in EFER (like EFER.SVME when nesting is disabled) by manipulating SMM save area. Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20200827171145.374620-8-mlevitsk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>