Received: by 10.223.185.116 with SMTP id b49csp1310085wrg; Wed, 21 Feb 2018 16:24:35 -0800 (PST) X-Google-Smtp-Source: AH8x224U0szjTTq988eG8uKRwcv7JaqQ2Omk+3R89WAP1o9Kp//bghJa/sfN1Qtw62dRLXBXq9Mi X-Received: by 2002:a17:902:f83:: with SMTP id 3-v6mr4766708plz.287.1519259075019; Wed, 21 Feb 2018 16:24:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519259074; cv=none; d=google.com; s=arc-20160816; b=aGg4Md6+uPQ8ZAOFdNuIrIpulA923izQzJ3q2DTxD6PlYxgq6Ez/u8SPdFs+xrDiYM SyUR8guDFIUNSn2pqQA+XxU8s8C4vtEeJovLVI4u1hOq6udLO6Kj8mo/8iYPu7+wIiOF k8qOR0rK7Mo5Jb602aedBUgNhrn+jBl/nVu1NxKOFMASnLpUgAUfV+SePrUzOQZQhiuG 7+iLVzEprpsyFE732ogV2AFN5fknfW9tE6q78SY5ed/v6xZwsccbBX53qBe0TVM54vUS j04tDil7PjWm3xxIuf/aOPiZQlHkPx2sAGbHu0rSoeAS2o8VKzJRm7TKx1oELUoknIf/ CWgQ== 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:dkim-signature :arc-authentication-results; bh=efu4X3iWrS9CwdTFGkq3WRcR0Le41Qs8B4KVx/N2LLA=; b=CjIznms4ZPYSrnh1lGWKyffwv8xmH69AlO4QWIsFPGCccTLMRubfnFavRLlJ04R+f9 33Ea80mewpiG54/1KmbmbKmtFG2Ub7FCfBuAn8sFmxNmNnRqmt3twpXqdLIKaNwMLAli siUz3etAj4I1EqcHPgBR/liDp9J3ACGiZGSi1yrv4bLdRobbhyPCZx1hj0i5Aq1CDCqn h63PpzXczd4PAlX7EeorVSHFnORqIsYG8uNT9s3jrKEpIl3qqtAQoQSgwiVzJJjLwPGH ZTDiUt6QzvQ2ku1rrmvq5ZEU3lFCKzWUQj2nQvli4EOKmJiLyeLiLxFZyeTAapcHYrNG bRmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=E9jXl2k/; dkim=fail header.i=@chromium.org header.s=google header.b=JIvh6IZp; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4si69039pgr.205.2018.02.21.16.24.20; Wed, 21 Feb 2018 16:24:34 -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=@google.com header.s=20161025 header.b=E9jXl2k/; dkim=fail header.i=@chromium.org header.s=google header.b=JIvh6IZp; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751418AbeBVAXa (ORCPT + 99 others); Wed, 21 Feb 2018 19:23:30 -0500 Received: from mail-ua0-f194.google.com ([209.85.217.194]:40334 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751302AbeBVAX2 (ORCPT ); Wed, 21 Feb 2018 19:23:28 -0500 Received: by mail-ua0-f194.google.com with SMTP id t6so2240862ual.7 for ; Wed, 21 Feb 2018 16:23:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=efu4X3iWrS9CwdTFGkq3WRcR0Le41Qs8B4KVx/N2LLA=; b=E9jXl2k/8z/N/z9NYra0r2av2CTrN9a5FeRazdy/YoUa5CE7HrBhpgtB36prziioEA HHMLvkViZ9o68Xe48F/0jzsxiY65TnUbaN6PGl3w0BW8v7q9fkvf3xPlVkW0i08/kQYJ pW6HWpXBlV/MYtG+1b5qjK8+DiJiWRFRimP2HFam37WpzQA4qZLgl1pHrZIjvzHNAuY8 v37JCcBPJbfHqRKyd081be4o8jSTIDlfGH+PWWDXAKu+IPszDW/PIWKV7qsP0xJPd2Gf JEi1vS9l5O0geCCEQIb0Q8JbOQbkRMhvRE6nsSFYRSbNtDdR4MFuCBjAcNnFPn+BKT9b USEg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=efu4X3iWrS9CwdTFGkq3WRcR0Le41Qs8B4KVx/N2LLA=; b=JIvh6IZp+ZVSnKY2dsLU0T8WMvml8ByLtH0Z4T4MIuQ13aIPkBZrbXvCILOdNqvHZT IpnclJHuAxmI3UXTBzL+4/nV69OJ45Gd6E3TkXLyEg2L65jbv9BVJaaCm4VjXYEB+bHH W8oninAbTGOZ3dxVPQtoh06bQzZlNKIeKv478= 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=efu4X3iWrS9CwdTFGkq3WRcR0Le41Qs8B4KVx/N2LLA=; b=YjRXbvUSlp1X0f9HGOctXE5a5J2oh848wyxqfsYA5AIhvte4FFrF6Z4vhmPcpedeIC Bt8CNkiuqGVlX2QnviEJn5w8Jmx+/MS4lIPa/yaGezJEJBymn9epS4i9u2ZK+U48b3rL y8F2Jc5UoIhn3VeL9wQXLoYH5FOlQmJnXjSU5wi4YeuIUmz7h67IduWFoe3lfj3GMMTL BbF2/ddBmSdnmsVVb5ZBDxsZuuB62nmOhrIaDwxPCQ+haWoL/qhFh0wlX/auRwF+lFgE HZFrJJBwz90AHiIRuP6eC8dRJEuV8qTtiUtBJOOKMXMLmgraZabLz8IfiwLzloVXyoXC 9MNA== X-Gm-Message-State: APf1xPCyLZbJ/v4Mj1XVYgpgE5eFbFNUqU3lubpjh4h2fa3hYLf0+yAy SuOf7Ei2nlbyeQ5/ic+XZvoNILmKNBvfFARJCX9nNA== X-Received: by 10.176.93.35 with SMTP id u35mr3941817uaf.74.1519259007783; Wed, 21 Feb 2018 16:23:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.242.140 with HTTP; Wed, 21 Feb 2018 16:23:26 -0800 (PST) In-Reply-To: References: <6be06ce5-87e6-0d9d-55b9-6c70c3578ecf@maciej.szmigiero.name> From: Kees Cook Date: Wed, 21 Feb 2018 16:23:26 -0800 X-Google-Sender-Auth: dVCjxzYvTYPvmTUuaR-owPkuR9M Message-ID: Subject: Re: RANDSTRUCT structs need linux/compiler_types.h (Was: [nfsd4] potentially hardware breaking regression in 4.14-rc and 4.13.11) To: Linus Torvalds Cc: "Maciej S. Szmigiero" , Patrick McLean , Emese Revfy , Al Viro , Bruce Fields , "Darrick J. Wong" , Linux Kernel Mailing List , Linux NFS Mailing List , Thorsten Leemhuis , "kernel-hardening@lists.openwall.com" 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 Wed, Feb 21, 2018 at 4:22 PM, Linus Torvalds wrote: > On Wed, Feb 21, 2018 at 4:12 PM, Kees Cook wrote: >> >> Do you want me to send the patch for this, or do you already have it >> prepared? > > I'd rather get something explicitly tested. I tried my earlier patch > with "make allmodconfig" (and a fix to nfsd to make it compile), but > now I'm back to testing hjl's gas updates so it would be better to get > a tested commit with a good commit message. > >> The body-fields I had prepared for the nfs were: >> >> Reported-by: Patrick McLean >> Reported-by: Maciej S. Szmigiero > > Oh, I think Maciej needs to get more than a "Reported-by:". This was a > really subtle thing that we didn't figure out in the original thread, > so give him a gold star in the form of "Root-caused-by:" or something. Oops, I just sent this out. I will adjust a re-send. I couldn't find a documented field name for this... > *Fixing* this ends up being a one-liner or so. Finding the cause was > the painful part. Yes indeed! -Kees -- Kees Cook Pixel Security