From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753627AbbG0Phd (ORCPT ); Mon, 27 Jul 2015 11:37:33 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:30390 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbbG0Phc (ORCPT ); Mon, 27 Jul 2015 11:37:32 -0400 Message-ID: <55B64FEA.70204@oracle.com> Date: Mon, 27 Jul 2015 11:36:10 -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: Andy Lutomirski , Peter Zijlstra , Steven Rostedt CC: "security@kernel.org" , X86 ML , Borislav Petkov , Sasha Levin , linux-kernel@vger.kernel.org, Konrad Rzeszutek Wilk , Andrew Cooper , Jan Beulich , xen-devel Subject: Re: [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/25/2015 01:36 AM, Andy Lutomirski wrote: > Here's v3. It fixes the "dazed and confused" issue, I hope. It's also > probably a good general attack surface reduction, and it replaces some > scary code with IMO less scary code. > > Also, servers and embedded systems should probably turn off modify_ldt. > This makes that possible. > > Xen people, can you take a look at this? > > Willy and Kees: I left the config option alone. The -tiny people will > like it, and we can always add a sysctl of some sort later. > > Changes from v3: > - Hopefully fixed Xen. 32b-on-32b fails in the same manner. (but non-zero LDT is taken care of) > - Fixed 32-bit test case on 32-bit native kernel. I am not sure I see what changed. -boris