diff options
author | Avi Kivity <avi@redhat.com> | 2010-10-19 16:46:55 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-01-06 18:08:22 -0500 |
commit | 69536bef5b84796e183b96fbc6f1dac1dce6dfd1 (patch) | |
tree | 83004228339c6bd8c0d6e2db4343cb877d6d3bf1 /drivers/net/wireless/p54/p54usb.c | |
parent | 279d80ac2efc706df67db8c1d636c96cd4ff97ac (diff) | |
download | linux-stable-69536bef5b84796e183b96fbc6f1dac1dce6dfd1.tar.gz |
KVM: Fix fs/gs reload oops with invalid ldt
commit 9581d442b9058d3699b4be568b6e5eae38a41493 upstream.
kvm reloads the host's fs and gs blindly, however the underlying segment
descriptors may be invalid due to the user modifying the ldt after loading
them.
Fix by using the safe accessors (loadsegment() and load_gs_index()) instead
of home grown unsafe versions.
This is CVE-2010-3698.
KVM-Stable-Tag.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/p54usb.c')
0 files changed, 0 insertions, 0 deletions