From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754325AbbG3QdQ (ORCPT ); Thu, 30 Jul 2015 12:33:16 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:38703 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101AbbG3QdM (ORCPT ); Thu, 30 Jul 2015 12:33:12 -0400 Message-ID: <55BA5173.401@oracle.com> Date: Thu, 30 Jul 2015 12:31:47 -0400 From: Boris Ostrovsky User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Andrew Cooper , Borislav Petkov CC: "security@kernel.org" , Jan Beulich , Peter Zijlstra , X86 ML , linux-kernel@vger.kernel.org, Steven Rostedt , xen-devel , Andy Lutomirski , Sasha Levin Subject: Re: [Xen-devel] [PATCH v5 0/4] x86: modify_ldt improvement, test, and config option References: <55BA487E.9030708@oracle.com> <20150730160555.GB28617@nazgul.tnic> <55BA4D08.9070306@citrix.com> In-Reply-To: <55BA4D08.9070306@citrix.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/30/2015 12:12 PM, Andrew Cooper wrote: > On 30/07/15 17:05, Borislav Petkov wrote: >> On Thu, Jul 30, 2015 at 11:53:34AM -0400, Boris Ostrovsky wrote: >>> As far as Xen guests are concerned, >>> >>> Tested-by: Boris Ostrovsky >> Does that mean, this patch 1/4 fixes the 32bit issue you guys are still >> debugging on the v4 thread? Or does that need more fixing? >> > I was going to say... This v5 pre-dates figuring out what was wrong with > 32bit Xen. v5 1/4 is still susceptible. > > Boris: does your Tested-by cover v5 + proposed fix? > Only V5, no extra changes. And perhaps dropping aliases in xen_alloc_ldt() may be sufficient since with that done we will only have one mapping so a subsequent fault will have "correct" cr2 provided by the hypervisor (from your earlier email it sounded that hypervisor may have been providing incorrect cr2 if alias exists) -boris