From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF1A9C07E95 for ; Wed, 14 Jul 2021 02:22:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A92656128E for ; Wed, 14 Jul 2021 02:22:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237478AbhGNCZk (ORCPT ); Tue, 13 Jul 2021 22:25:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237375AbhGNCZj (ORCPT ); Tue, 13 Jul 2021 22:25:39 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A99FC0613DD for ; Tue, 13 Jul 2021 19:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=B3fKLu6x90gYniUL5gogEh9zBG7fF7DVZEYNuV5m4q0=; b=NtmylrsCgZ2SnKyzsjA02m/cpv Lojz2OtZCoq0uRMf8PJ1ERJm7b4U6OFL3HBn4sYNo0F8qsLxnkDI1Xu9uJde8fY7DlXIGEZHqERMM LQEeUpvKEDDAq9sqPEZp+TaLJPVza+4VOfoF5nBJ4JYSb2FiDCiZkYfCWBhwxTlKEKsX0URFO5RZn cUWANCeH+X8PJT6JLwEddaQSaw/cFaU55CRCo2PvgfaEqEsNyvsOs+gukMhIDmETdWzjM0ttjqt4W JdNk2UNAnqVFCL8qzUMuZLFhv/OrWv8r5gTOvCKrDoXT90VBbahCDaMGw7m4vQbaUKA877XeYFGDF 1377F20w==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3UVw-001kkZ-4U; Wed, 14 Jul 2021 02:20:51 +0000 Date: Wed, 14 Jul 2021 03:20:44 +0100 From: Matthew Wilcox To: Andrew Morton Cc: Mina Almasry , YueHaibing , Axel Rasmussen , Peter Xu , Mike Kravetz , Linus Torvalds , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: Make copy_huge_page() always available Message-ID: References: <20210712153207.39302-1-willy@infradead.org> <20210713191244.553680171f9fab3bf6e0889b@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210713191244.553680171f9fab3bf6e0889b@linux-foundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 13, 2021 at 07:12:44PM -0700, Andrew Morton wrote: > On Mon, 12 Jul 2021 16:32:07 +0100 "Matthew Wilcox (Oracle)" wrote: > > > Rewrite copy_huge_page() and move it into mm/util.c so it's always > > available. Fixes an exposure of uninitialised memory on configurations > > with HUGETLB and UFFD enabled and MIGRATION disabled. > > Wait. Exposing uninitialized memory is serious. Can we please include > full info on this flaw and decide whether a -stable backport is justified? > If not, why not, etc? Well, the code was only merged this merge window, so as long as it goes in in the next few weeks, there's no need to trouble -stable with it.