diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-19 18:07:21 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-24 14:47:45 +0100 |
commit | 0c1d77f4ba5cc9c05a29adca3d6466cdf4969b70 (patch) | |
tree | b7cdb81b498534c3deb7c8685405824ab1fb5b86 /virt | |
parent | 172b2386ed16a9143d9a456aae5ec87275c61489 (diff) | |
download | linux-0c1d77f4ba5cc9c05a29adca3d6466cdf4969b70.tar.bz2 |
KVM: x86: fix conversion of addresses to linear in 32-bit protected mode
Commit e8dd2d2d641c ("Silence compiler warning in arch/x86/kvm/emulate.c",
2015-09-06) broke boot of the Hurd. The bug is that the "default:"
case actually could modify "la", but after the patch this change is
not reflected in *linear.
The bug is visible whenever a non-zero segment base causes the linear
address to wrap around the 4GB mark.
Fixes: e8dd2d2d641cb2724ee10e76c0ad02e04289c017
Cc: stable@vger.kernel.org
Reported-by: Aurelien Jarno <aurelien@aurel32.net>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions