From: Avi Kivity Date: Tue, 19 Oct 2010 14:46:55 +0000 (+0200) Subject: KVM: Fix fs/gs reload oops with invalid ldt X-Git-Tag: v2.6.36~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9581d442b9058d3699b4be568b6e5eae38a41493;p=pandora-kernel.git 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 Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed