Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751965AbeAIV3y (ORCPT + 1 other); Tue, 9 Jan 2018 16:29:54 -0500 Received: from mail.skyhub.de ([5.9.137.197]:55292 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750797AbeAIV3x (ORCPT ); Tue, 9 Jan 2018 16:29:53 -0500 Date: Tue, 9 Jan 2018 22:29:40 +0100 From: Borislav Petkov To: Andy Lutomirski Cc: Willy Tarreau , LKML , X86 ML , Brian Gerst , Dave Hansen , Ingo Molnar , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , Josh Poimboeuf , "H. Peter Anvin" , Kees Cook Subject: Re: [RFC PATCH v2 2/6] x86/arch_prctl: add ARCH_GET_NOPTI and ARCH_SET_NOPTI to enable/disable PTI Message-ID: <20180109212940.ffvqb6wmehmxre4i@pd.tnic> References: <1515502580-12261-1-git-send-email-w@1wt.eu> <1515502580-12261-3-git-send-email-w@1wt.eu> <20180109141713.ngqrf6weyiy2q3in@pd.tnic> <20180109143653.GA12976@1wt.eu> <20180109145157.5ltqbz4o5sqkcggb@pd.tnic> <20180109145422.GD12976@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, Jan 09, 2018 at 01:26:57PM -0800, Andy Lutomirski wrote: > 2.Turning off PTI is, in general, a terrible idea. It totally breaks > any semblance of a security model on a Meltdown-affected CPU. So I > think we should require CAP_SYS_RAWIO *and* that the system is booted > with pti=allow_optout or something like that. Uhh, I like that. Maybe also taint the kernel ... -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.