diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-01-23 14:39:24 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-02-20 22:48:23 +0100 |
| commit | 8570f9e881e3fde98801bb3a47eef84dd934d405 (patch) | |
| tree | 3eb392e9956418c9e1aeae0f6767a8ab0719f63f /scripts/stackusage | |
| parent | KVM: nVMX: Sign extend displacements of VMX instr's mem operands (diff) | |
| download | linux-8570f9e881e3fde98801bb3a47eef84dd934d405.tar.gz linux-8570f9e881e3fde98801bb3a47eef84dd934d405.zip | |
KVM: nVMX: Apply addr size mask to effective address for VMX instructions
The address size of an instruction affects the effective address, not
the virtual/linear address. The final address may still be truncated,
e.g. to 32-bits outside of long mode, but that happens irrespective of
the address size, e.g. a 32-bit address size can yield a 64-bit virtual
address when using FS/GS with a non-zero base.
Fixes: 064aea774768 ("KVM: nVMX: Decoding memory operands of VMX instructions")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
