summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/signal_n32.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-10-19 14:46:55 (GMT)
committerMarcelo Tosatti <mtosatti@redhat.com>2010-10-19 16:21:45 (GMT)
commit9581d442b9058d3699b4be568b6e5eae38a41493 (patch)
tree76d1b596d873514fdb9b3bf75d6d7b3cbfada85d /arch/mips/kernel/signal_n32.c
parent2b666ca4a68cbc22483b0f2e1ba3c0e59b01ae9e (diff)
downloadlinux-fsl-qoriq-9581d442b9058d3699b4be568b6e5eae38a41493.tar.xz
KVM: Fix fs/gs reload oops with invalid ldt
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>
Diffstat (limited to 'arch/mips/kernel/signal_n32.c')
0 files changed, 0 insertions, 0 deletions