Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6171325yba; Thu, 11 Apr 2019 13:39:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVyWds929tjPFfoT1lXuHaleeXxI2v5GjhPsm+c6VZuuWYK++32Vq//G1gU891AI70qqqq X-Received: by 2002:a17:902:9043:: with SMTP id w3mr52866238plz.101.1555015150075; Thu, 11 Apr 2019 13:39:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555015150; cv=none; d=google.com; s=arc-20160816; b=bw5dhu7a2BFV1yVSk40cF9+nkuOZuLuUoEyqEQYvYPAwCmVKjzCeQTa+jc/dAKF2+8 kVFLUSu1J800RKUW8ZdfTm6aHMN7CcffyK7kxx2znf79TvBK6lk2yildR81Dd3jJbU+S Dqr0orVsPMNcd2AjqRhqfEF5bK068SxXqRal2VLlNE9+SH/z4rF/FfPQi4jxfUweexgo EPEPHRbcEFC3LxaRpx/izvo2n97yBNg392WdZmBJEmO6P7GJaWXuTXmTTXaxgbK+wfRh giHItw2N3hmiFCXTvZod8XoJB3OQr2EPeJY8M/WHpzzPN6G9MP/obq4H2RM6iJkRqLBd /Rfg== 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 :in-reply-to:references:mime-version:dkim-signature; bh=LHThbCjbRRpzc8ii2OMzeBZem6XJJjKKjhIHY/St8eE=; b=aSleHVpDqFxFl4EfgNz9VrlgGUD0qj2NWACTlr6Alv+dP3bPiVvkUxG8Tj/BUQ+Z/w 96a6HkHQ9CCriLlWZWSQ/w8iTtSenXug2/4R20MFR7/J0YtX35U4vIXRVDySJD+hnuGv qekreekQ7YyRQi3jHVaY7By9IFYrP+5kiJ/TcUIUyDN18J+IjkA+EQi8CVZJp/0utG1u YuIY3kzxJbghiKO8jcwAVbME5L8v4Ls9O+t1c+Hc2mKEIosHY6UqBSpSyhVGEZYZa8uN dVApv8M5s7Bqfs/MLfC4eMaM1NwUoB7qbA3Lc3VwqoNRUElzkccTZlqi22xvJPT7q1J6 EQ3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Td0bi4W8; 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=pass (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 4si19653387pfp.185.2019.04.11.13.38.53; Thu, 11 Apr 2019 13:39:10 -0700 (PDT) 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=pass header.i=@chromium.org header.s=google header.b=Td0bi4W8; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726997AbfDKUgz (ORCPT + 99 others); Thu, 11 Apr 2019 16:36:55 -0400 Received: from mail-ua1-f45.google.com ([209.85.222.45]:37388 "EHLO mail-ua1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726978AbfDKUgw (ORCPT ); Thu, 11 Apr 2019 16:36:52 -0400 Received: by mail-ua1-f45.google.com with SMTP id l17so2506649uar.4 for ; Thu, 11 Apr 2019 13:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LHThbCjbRRpzc8ii2OMzeBZem6XJJjKKjhIHY/St8eE=; b=Td0bi4W8T8i8LXYBoXjDvAZ16eEig1BUUpw2DskS8xfM6eLIhUg8UuHqaJIrZOj0Z5 Z9X23/3OWlGennv2Ucci7a5DC88uXNwtiU3TQuf+6FQoc8KIa7IaSt8l1uicTO6X5G9S L9BvpPxwMN6/OkVNChPSZIrA3XTQ+hRZ/9aRA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LHThbCjbRRpzc8ii2OMzeBZem6XJJjKKjhIHY/St8eE=; b=Vfluh0nQsghDhQhgvkcnGcVPutGgoWqSfcm6ZrNcuY/2fn0zuOvlIeuLY5iYelRD0i /jxJtHmGB7Bcm8XDsQRV23F/kzaJ6D9YVQiiZm0QSs6tljF/dAlK4zNfaDJKGwpnSlj1 fr5NVWTvTl0S/KcVha4Lpz5WawGgipBqXRyWr4IqoQPHW49A1xYnY2EBKkFptclB8V/R Gt+64YpV+oieUb1BoWsFvdacGvGMwi91I1t8RqgqiCeFbl4+W4mSEg8At792+kdY1ZZz pnamgk68f0TRrQ1/XqIbVMt11o3+FLwjllnS2UrB0lznyDfoXkGaT5xeYJBcelid9qRz CHJA== X-Gm-Message-State: APjAAAXzkszJ2axqP+lY8K4wVctUv2FC7/guTq9e3DkZwddcjhfdgOZF nv/bgIW1n5chWSz6jPFEJV3lZz3m1W4= X-Received: by 2002:ab0:7817:: with SMTP id x23mr4886339uaq.35.1555015011044; Thu, 11 Apr 2019 13:36:51 -0700 (PDT) Received: from mail-vk1-f175.google.com (mail-vk1-f175.google.com. [209.85.221.175]) by smtp.gmail.com with ESMTPSA id b197sm47107572vkd.9.2019.04.11.13.36.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 13:36:50 -0700 (PDT) Received: by mail-vk1-f175.google.com with SMTP id w140so1680774vkd.3 for ; Thu, 11 Apr 2019 13:36:49 -0700 (PDT) X-Received: by 2002:a1f:7d4e:: with SMTP id y75mr28798331vkc.53.1555015009326; Thu, 11 Apr 2019 13:36:49 -0700 (PDT) MIME-Version: 1.0 References: <20190321175122.GA1587@sol.localdomain> <20190410031734.GB7140@sol.localdomain> <20190410190729.GA120258@gmail.com> <20190410231156.GB120258@gmail.com> <20190411175823.GC225654@gmail.com> <20190411192607.GD225654@gmail.com> In-Reply-To: <20190411192607.GD225654@gmail.com> From: Kees Cook Date: Thu, 11 Apr 2019 13:36:37 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: crypto: Kernel memory overwrite attempt detected to spans multiple pages To: Eric Biggers Cc: Dmitry Vyukov , Geert Uytterhoeven , Herbert Xu , linux-security-module , Linux ARM , Linux Crypto Mailing List , Linux Kernel Mailing List , Laura Abbott , Rik van Riel 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 Thu, Apr 11, 2019 at 12:26 PM Eric Biggers wrote: > Well, I guess I'll just add __GFP_COMP so I at least don't get spammed with > useless bug reports. Thanks, I appreciate it. > But I don't think it's in any way acceptable to change the semantics of the > kernel's page allocator but only under some obscure config option, don't > document it anywhere, ignore the known problems for years, say that the option > is broken anyway so it shouldn't be used, and have to exchange 15 emails to get > anything resembling an explanation. I understand what you mean, yeah. I'm sorry I wasn't clear about it earlier. What do you think might help the situation as far as documentation? -- Kees Cook