Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5933141ybe; Tue, 10 Sep 2019 10:59:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbX2v5f4fmfLQc96rByh6rjvirz7K4n+i/okwYp9tqiRbFiNkJDeDPBBkg/i8prO8UJAJY X-Received: by 2002:aa7:c382:: with SMTP id k2mr16461104edq.256.1568138361425; Tue, 10 Sep 2019 10:59:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568138361; cv=none; d=google.com; s=arc-20160816; b=B4q1VHe9DH7e4UkNoI/lWgRs/xKYD/S9kO7TzXitbg0AeDqD0TfLDkfibSp+hts5hU cGAHFT6hJqU0y0P4bRRvZuEtiYcJsORhvzQCOcx4G4auUn+mrQwrg5E4ax/z1CBnEZBl CQUtI3MGUp1tZ5SsuhSLLLCLVpIyrCRUWy8IwCxHRjxH7200lJsVBHxqeu3M3x0+78gz Ed3225QkeyZZkAj2ITcuT+/ca6l7j5Q9RQtv3BUcMgzxd9MnLb8+rEFzEmyx0WSoTMfK sGfCJ/yFDdeWZ7eL1QBVcbJ+/bKWQ1C5+r52jYdIfyVO1oXKleu4u8MCPTrctHttaBl/ 2P1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:dkim-filter; bh=amVw5RKHgQtC48TDjO25VF7TYKPY9dwQtCHHtmUiWLE=; b=laoHXgHZLomT/sVWxjVLRkvyXxlsQtuVhmhZaR/J7YWK2HWNbEWEGIdOfkinkMcy0b piiO+GdGhhcNSVwZXbAtUihs6SzMyA57IKp74DaNmfn0xzbU57PRwum1T9q8WssKxkzN 5PYXn5q4jcnBzyj3lqwkid1PD8KScwwFsKw2L3t3dykhMywcCg/OJ9VwJL9Lfh4b0WWV bi5CJUcCsvCTVhwYLGXnnrtlJKCOTTeCq/tvIpjoe40JqMp4bfKhjOf1Bl2vxZ4MtYZv u99zRz6OKOiSxHIVsMsxOtSvKme3RYhTvZjjnva38K8zmCOoTRLAuellxVv3VA3IySrr xDzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@zytor.com header.s=2019081901 header.b=lvoWhoZg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id re7si9795694ejb.349.2019.09.10.10.58.56; Tue, 10 Sep 2019 10:59:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@zytor.com header.s=2019081901 header.b=lvoWhoZg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404530AbfIIL47 (ORCPT + 99 others); Mon, 9 Sep 2019 07:56:59 -0400 Received: from terminus.zytor.com ([198.137.202.136]:60833 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404502AbfIIL47 (ORCPT ); Mon, 9 Sep 2019 07:56:59 -0400 Received: from [192.168.4.140] (38.85.69.148.rev.vodafone.pt [148.69.85.38] (may be forged)) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id x89BuRWN2370009 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 9 Sep 2019 04:56:29 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com x89BuRWN2370009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019081901; t=1568030190; bh=amVw5RKHgQtC48TDjO25VF7TYKPY9dwQtCHHtmUiWLE=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=lvoWhoZgfNLoIKEG5HMqgj2INg4WXNd1HFaah1iCDp0Ax9O9xMwZxJ/tVCfuFPX+t SovlpLHk3dL63OePhXjpdYrpwk+zhAKreqHglsT1DKolM9uMw0xDHftZf7qSL4I1dm cU7ZrGpYRYdJ2X4B5koCF9HFHOui2BhRpbBaPn/ZZnBBOy3f+nO1AZCVONjlCGdd+J R1sDya84Assf38LZxcJN9R9OQyM+Sj4Bw84Sp4RZPx4P8thdY9mXqTbQlvMyex5s4h oiSiklz8bhpNWZlFyYKe0WXb8ToI7I4SnOw/otHQAnzM5ukV/GqffGMu5/wJKBrnRn CoQCM9nw4hqSg== Date: Mon, 09 Sep 2019 12:56:18 +0100 User-Agent: K-9 Mail for Android In-Reply-To: <20190908072248.GB16220@zn.tnic> References: <20190905232222.14900-1-bshanks@codeweavers.com> <20190907212610.GA30930@ranerica-svr.sc.intel.com> <20190908072248.GB16220@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] x86/umip: Add emulation for 64-bit processes To: Borislav Petkov , Ricardo Neri CC: Brendan Shanks , linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , x86@kernel.org, "Eric W. Biederman" From: hpa@zytor.com Message-ID: <1E11E98F-4A38-4CDE-8549-64A2C28DC63E@zytor.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On September 8, 2019 8:22:48 AM GMT+01:00, Borislav Petkov = wrote: >On Sat, Sep 07, 2019 at 02:26:10PM -0700, Ricardo Neri wrote: >> > Wine users have encountered a number of 64-bit Windows games that >use >> > these instructions (particularly sgdt), and were crashing when run >on >> > UMIP-enabled systems=2E >>=20 >> Emulation support for 64-bit processes was not initially included >> because no use cases had been identified=2E > >AFAIR, we said at the time that 64-bit doesn't need it because this is >legacy software only and 64-bit will get fixed properly not to use >those >insns=2E I can probably guess how that went =2E=2E=2E I don't think Windows games was something we considered=2E However, needin= g to simulate these instructions is not a huge surprise=2E The important th= ing is that by simulating them, we can plug the leak of some very high valu= e kernel information =E2=80=93 mainly the GDT, IDT and TSS addresses=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E