Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7158920yba; Thu, 2 May 2019 05:24:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNX1slH3sOZ9I6606m4yhQz5MY13wau2vn67xpg404Rq55OVb6Qz/YielYUQ5WgbwTyLgL X-Received: by 2002:aa7:8e55:: with SMTP id d21mr3841810pfr.62.1556799872983; Thu, 02 May 2019 05:24:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556799872; cv=none; d=google.com; s=arc-20160816; b=vUwxXX5bXx/iwZyc2cppo3NBEdbElJmMeoXAPslULnYEqgjf6Z1zDAHS/jUT36EL38 J9G3BA6MKVTaf6ywU0BADrpRcQZLgYbB/JMTf7zZnfU2SAY1hNn1hAgVwBExFXI5EaqQ jUVcg4w6Flb7C+S5Tl57KtcfiRB7gpW6UkHvucaw60zxclqicwILkEGGVk69riCJmbfQ WEfMzO6FxlSDRpkOJ/21n9vWTaq5U1HxrLII385Vpa+X1m6uK/beVnG2PazvM1YjLXLV b8j0UsQf1daTi6O+691gYuaT6148GmSBlvb6/bXxeYjYdZHRJKR1vcDklZ0iUzrqMvYm OGOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=r/u8R2cHiSYJDLMarwW+V0EzcvHH5A3gDf7tbl9V0Rg=; b=V7jQDD34z1byJLBnUzKI+BKTAnMeFC1qEb/3vVYDgwdVuoc9+DZUtO0xGOb5DOsXrJ EbqFT8G2Tcui2jIzDpMBwvQ0q8S6Fp6ARJ78Af//7dddhSrYFKBme/hqDMWwfyUDWnZE q5WaLChUjNEuViCaDLuMfEUQoukWHzKzn+rVbv5ynOfKM6lRA82GELG25SdZ9ZWI+Jig j6hwz6HihWRAep/GP62DZXQKFfrrrS062iG+FnPJ1k2Qbfmj9Z/N2PvOnhMN1piL5xKT mYm5sS7eIY+JsLtjhAxUnpCbH4F7/D25Rz5+QFAaX5S2UOhw+Lccs9HsO2D6LyiIMqK1 VZ/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0XTRRMUh; 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 98si45056881plb.84.2019.05.02.05.24.17; Thu, 02 May 2019 05:24:32 -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=@kernel.org header.s=default header.b=0XTRRMUh; 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 S1726403AbfEBMVc (ORCPT + 99 others); Thu, 2 May 2019 08:21:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:48826 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726268AbfEBMVc (ORCPT ); Thu, 2 May 2019 08:21:32 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AE6C920645; Thu, 2 May 2019 12:21:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556799691; bh=R/ozEIIEfsa2BBgUE6Zb0DzWINwSciwlbxuHIoiZm/s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0XTRRMUhLI54mTjNUrl3u8Pgw1CnKMLL7BU/VWQQLVvLwEqsg2QGEFYkOLCrfMefg 72/5LLgQvaEFw/NGIvQTFrCbD2sBmrd1FZVuXsTUDJcnapwzEJij3k7uGBg9fKZk6J NYNl4NCI3Zb1X9/mQWzxXz0YyeQTvgjb68kltXAw= Date: Thu, 2 May 2019 14:21:28 +0200 From: Greg KH To: Linus Torvalds Cc: Christoph Hellwig , Linux List Kernel Mailing , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, Martin Schwidefsky , linux-s390 Subject: Re: Linux 5.1-rc5 Message-ID: <20190502122128.GA2670@kroah.com> References: <20190415051919.GA31481@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 15, 2019 at 09:17:10AM -0700, Linus Torvalds wrote: > On Sun, Apr 14, 2019 at 10:19 PM Christoph Hellwig wrote: > > > > Can we please have the page refcount overflow fixes out on the list > > for review, even if it is after the fact? > > They were actually on a list for review long before the fact, but it > was the security mailing list. The issue actually got discussed back > in January along with early versions of the patches, but then we > dropped the ball because it just wasn't on anybody's radar and it got > resurrected late March. Willy wrote a rather bigger patch-series, and > review of that is what then resulted in those commits. So they may > look recent, but that's just because the original patches got > seriously edited down and rewritten. > > That said, powerpc and s390 should at least look at maybe adding a > check for the page ref in their gup paths too. Powerpc has the special > gup_hugepte() case, and s390 has its own version of gup entirely. I > was actually hoping the s390 guys would look at using the generic gup > code. > > I ruthlessly also entirely ignored MIPS, SH and sparc, since they seem > largely irrelevant, partly since even theoretically this whole issue > needs a _lot_ of memory. > > Michael, Martin, see commit 6b3a70773630 ("Merge branch 'page-refs' > (page ref overflow)"). You may or may not really care. I've now queued these patches up for the next round of stable releases, as some people seem to care about these. I didn't see any follow-on patches for s390 or ppc64 hit the tree for these changes, am I just missing them and should also queue up a few more to handle this issue on those platforms? thanks, greg k-h