Received: by 10.223.176.5 with SMTP id f5csp1104640wra; Tue, 6 Feb 2018 12:45:11 -0800 (PST) X-Google-Smtp-Source: AH8x225jc8Oz2v0wNN0pQ5iD9nGWEzNXVofVGkDsS22wwtZOoXHnS4lcC6Dx5cqA1hzY/5ixxzIo X-Received: by 10.98.103.131 with SMTP id t3mr3628079pfj.53.1517949911591; Tue, 06 Feb 2018 12:45:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517949911; cv=none; d=google.com; s=arc-20160816; b=t8SLGvQk7mZdrp3hFIkP/NzkyzuBPL80KWbx5DH6yvZufI5+GcRe0F1k2Us9hVlHMV YKbmENpYWhfi+cmo7i8XwlH+YQ7FHvroxRGGKpMPgxeLdMN2isT/RVHJq6FjAQBh58/g hVEVAJoBfcdYVKZrI9dbHKUNjfeMOsMwTLsO09FUXXShwJSHxuOaNUEglcINOROaG0JE OWPjKEP2EGYRBk1psKzEsO0oCiafaXIkiag6GfPxtHcCivsly37uwsdPaKZK7t2NhukT QUskIy1YkIl9h8S3dnf9a4pOjye9fNEXeHGFcvI1384EmehAOPAXQTDNkGHUA64mllp9 PwrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Id4A0UyU4xH5fPSpN1ganqDceG3PYm9dY87PUsTKiR0=; b=ynzR+5jgbj6eP/s1LxNZGO8OcJ/h0hgcFX9njGs13geTCGTqvurAqGw/d5wfLAicvJ ZkG48Iho2UzRvkLImIAlQMFbFaRjhLcGLijeHrVS5KzlsyIDqkNLseEjY805cYF7665+ RJ8KwB7QS9Nb44NRzbZdF9F5mcauj14KS6CSBL8awVhKBd/SDIbgGjsDQWWXEdaV2NMH zjUxFm0+OpZ2ZjeY/f/EBPz36WQxYClKZ9s4w2tMLV3XFWcRbmTiJCDmj/7V4q0FlMSa VJM+O3EApbjkoI9FIpgXtf/i+RKNqDrTxwjswC3rdTKmdZLaONr7TYbn/jIMvrYdyo3v uR9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=vRuMWGDN; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q76si253957pfj.189.2018.02.06.12.44.56; Tue, 06 Feb 2018 12:45:11 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=vRuMWGDN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753546AbeBFUnW (ORCPT + 99 others); Tue, 6 Feb 2018 15:43:22 -0500 Received: from mail-it0-f42.google.com ([209.85.214.42]:33355 "EHLO mail-it0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753041AbeBFUnU (ORCPT ); Tue, 6 Feb 2018 15:43:20 -0500 Received: by mail-it0-f42.google.com with SMTP id u12-v6so13237038ite.0; Tue, 06 Feb 2018 12:43:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Id4A0UyU4xH5fPSpN1ganqDceG3PYm9dY87PUsTKiR0=; b=vRuMWGDN0uS35jVjGxMhyw8Q9XFvpi+uuLPNFLD86gRuwTrU1nJLD3XgE2b+yNrLAr Bq/wTZuSjRjOSQxPQuFV5XJ7JPW8oaLXQ3HYg692AchkZumzyeXtiRfoih9VwKL1CD3x DesOSecYqZYEUsfhlGqa3/RREwhlVpz6xuYk3d956D4lXzeNN9fA6OXCU826pLHeSlo/ oYTjw/rariOnj31BmMHe2EF2Oad9WIvAyQh56xdD1cI4NfrBVUCmN3jtqRqZ6JmX723I sQwuYIolMg3UfP4xKmr9xItXdhfNId4YQtSbnoQ5J7wLpBaNvOL4GF6TbL1Zqot32FV4 MnCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Id4A0UyU4xH5fPSpN1ganqDceG3PYm9dY87PUsTKiR0=; b=ckDQ3n1nHb44zr7Vy8S9Z3lToj5kwrcal8O5rmbujYfcP3RkB4NoooZB0NETQe8gB3 DIHZ8qAj2xHlNS54ripSji3AcTTIf0s8Ti1biMZKtV3lF8+3WheGq7jS0HEjttfMwz5k udaNKlE0bf7/QzcZr/wbWTyGVq6ziOz00DNJHiu1pkRcib6L6RMZQpPKGtd8stvpbGBz hgTKa4Ft72Werhmsk+G8JbqreI44rkPxj/70VhUEDrt6AaGNtdDcnViEOvL4tnZeSNHG cvzkA3gFNv0XbirEs1xMdBacbuHb/U8RsqEro2uEam1CNEsnC4dWYxVZ91jR3Zzg8BwW HJ/g== X-Gm-Message-State: APf1xPAP5sJjFp3Hwx22hCE8w0zWd2DiW9qsknC2F1JGk8/5wvofB8pU OM8qX+SXczp7nKCvRiegbwvDvdwIpkYk315oX7g= X-Received: by 10.36.47.5 with SMTP id j5mr4685181itj.123.1517949799652; Tue, 06 Feb 2018 12:43:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.59.196 with HTTP; Tue, 6 Feb 2018 12:43:19 -0800 (PST) In-Reply-To: References: <151632009605.21271.11304291057104672116.stgit@dwillia2-desk3.amr.corp.intel.com> <151632014097.21271.16980532033566583357.stgit@dwillia2-desk3.amr.corp.intel.com> <20180206192925.qkmghwsbaysr4iv2@hermes.olymp> From: Linus Torvalds Date: Tue, 6 Feb 2018 12:43:19 -0800 X-Google-Sender-Auth: vVoRzTrKrVwbY400v2-4UXx95fk Message-ID: Subject: Re: [PATCH v4 07/10] x86: narrow out of bounds syscalls to sys_read under speculation To: Dan Williams Cc: Luis Henriques , Linux Kernel Mailing List , linux-arch , Kernel Hardening , Greg KH , X86 ML , Ingo Molnar , Andy Lutomirski , "H. Peter Anvin" , Thomas Gleixner , Andrew Morton , Alan Cox Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 6, 2018 at 12:42 PM, Linus Torvalds wrote: > > Sadly, that is *very* easy to miscompile. Side note: don't read email, go watch the falcon heavy takeoff. Linus