diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2020-08-27 20:11:44 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-12 12:22:55 -0400 |
commit | 37f66bbef0920429b8cb5eddba849ec4308a9f8e (patch) | |
tree | 67f132e53a670820276243ba7238aba555ae8484 /Documentation/virt | |
parent | 3ebb5d2617fbf45567975f878232178c5b292d58 (diff) | |
download | linux-37f66bbef0920429b8cb5eddba849ec4308a9f8e.tar.bz2 |
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>
Diffstat (limited to 'Documentation/virt')
0 files changed, 0 insertions, 0 deletions