Repository navigation
Commit b42b420
KVM: nVMX: Truncate base/index GPR value on address calc in !64-bit
commit 82277ee upstream.
Drop bits 63:32 of the base and/or index GPRs when calculating the
effective address of a VMX instruction memory operand. Outside of 64-bit
mode, memory encodings are strictly limited to E*X and below.
Fixes: 064aea7 ("KVM: nVMX: Decoding memory operands of VMX instructions")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210422022128.3464144-7-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent b6a2b17 commit b42b420
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4639 | 4639 | | |
4640 | 4640 | | |
4641 | 4641 | | |
4642 | | - | |
| 4642 | + | |
4643 | 4643 | | |
4644 | | - | |
| 4644 | + | |
4645 | 4645 | | |
4646 | 4646 | | |
4647 | 4647 | | |
| |||
0 commit comments