WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] fxsave/fxrstor adjustments

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] fxsave/fxrstor adjustments
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Tue, 25 Apr 2006 08:54:10 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Andreas Kleen <ak@xxxxxxx>
Delivery-date: Mon, 24 Apr 2006 23:53:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <ba522d64e7bde4de804093e54f8dd568@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <444D0B62.76E4.0078.0@xxxxxxxxxx> <ba522d64e7bde4de804093e54f8dd568@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> 24.04.06 18:14 >>>
>
>On 24 Apr 2006, at 16:31, Jan Beulich wrote:
>
>> This patch addresses CVE-2006-1056 (information leak from 
>> fxsave/fxrstor on AMD CPUs) and also adjusts 64-bit handling
>> so that full 64-bit RIP/RDP values get saved/restored. More 
>> fine-grained handling may be needed if 32-bit processes are
>> expected to properly see their selectors (native Linux doesn't 
>> currently do that either, but there is a patch to adjust
>> it there).
>
>Why does this patch (and the one in Linux 2.6.16.9) use 'emms' in the 
>fxsave path rather than 'ffree st(7)' which is what AMD recommends in 
>their published advisory? Is the former faster?

I just cloned what Andi did for 32- and 64-bit Linux. Andi?

Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>