Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 12 Jul 2018 16:03:50 -0000 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1fde4K-0000hQ-Sp for speck@linutronix.de; Thu, 12 Jul 2018 18:03:49 +0200 Received: by mail-pf0-x22c.google.com with SMTP id s21-v6so20882191pfm.6 for ; Thu, 12 Jul 2018 09:03:48 -0700 (PDT) Received: from i7.lan (c-73-11-52-149.hsd1.or.comcast.net. [73.11.52.149]) by smtp.gmail.com with ESMTPSA id k64-v6sm27592240pgd.47.2018.07.12.09.03.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jul 2018 09:03:41 -0700 (PDT) Sender: Linus Torvalds Date: Thu, 12 Jul 2018 09:03:40 -0700 (PDT) From: Linus Torvalds Subject: [MODERATED] Re: [patch V10 10/10] Control knobs and Documentation 10 In-Reply-To: <20180712142957.791282859@linutronix.de> Message-ID: References: <20180712141902.576562442@linutronix.de> <20180712142957.791282859@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Thu, 12 Jul 2018, speck for Thomas Gleixner wrote: > + > +Default mitigations > +------------------- > + > + The kernel default mitigations for vulnerable processors are: Ack. > + The kernel does not by default enforce the disabling of SMT, which leaves > + SMT systems vulnerable when running untrusted guests with EPT enabled. > + > + The rationale for this choice is: and good to have this explicitly mentioned. I doubt distros want to disable SMT by default, but maybe some OpenBSD- like "security is everything" distro wants to. I guess that's their choice. Linus