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=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 C7424C3A59B for ; Sat, 17 Aug 2019 15:27:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9990C22295 for ; Sat, 17 Aug 2019 15:27:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566055668; bh=68rFPdqHoDjgyU7ECWn8Pfbz/kAS8Diz2JA1tx5TOeo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=fFV/c71IFlMVk17O2FHUk+OJ+rIr249Wust74aqT5vHg5bV6Eua5kjiqUeHRBOxUY ZNcW8HqUBP39tDJ8iF/KRP74gzsuRedyj36lqJWz1E3UffApafobr9KTIlPj3bYtWK fGjxbWMFv14bmtHOezS4AJzypHHExQ3rvLr8ypU4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726012AbfHQP1s (ORCPT ); Sat, 17 Aug 2019 11:27:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:45010 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725925AbfHQP1r (ORCPT ); Sat, 17 Aug 2019 11:27:47 -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 817DA21EF2; Sat, 17 Aug 2019 15:27:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566055667; bh=68rFPdqHoDjgyU7ECWn8Pfbz/kAS8Diz2JA1tx5TOeo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kGCKaqfZcZ+zHY/2ayC/WYoj9vh/SYzHhtk3pYeNirAtFVY/Kd/XXrwjEGyrYZJC5 +urfU+lkCCw3cC1tpQ3y0lvg2wZJSyGre/xMzy/4gv6uKN6jQScmulpZE89ZDdE0X9 9FnFo3n6ZVKvKz8rYuG3AK3BwFuBwYdlj25PR1Cw= Date: Sat, 17 Aug 2019 17:27:44 +0200 From: Greg KH To: Miles Chen Cc: akpm@linux-foundation.org, cai@lca.pw, hannes@cmpxchg.org, mhocko@suse.com, stable@vger.kernel.org, torvalds@linux-foundation.org, vdavydov.dev@gmail.com Subject: Re: FAILED: patch "[PATCH] mm/memcontrol.c: fix use after free in mem_cgroup_iter()" failed to apply to 4.14-stable tree Message-ID: <20190817152744.GA16493@kroah.com> References: <156594986715496@kroah.com> <1565953640.26404.4.camel@mtkswgap22> <20190816153702.GA9558@kroah.com> <1566054818.26404.11.camel@mtkswgap22> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1566054818.26404.11.camel@mtkswgap22> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Sat, Aug 17, 2019 at 11:13:38PM +0800, Miles Chen wrote: > On Fri, 2019-08-16 at 17:37 +0200, Greg KH wrote: > > On Fri, Aug 16, 2019 at 07:07:20PM +0800, Miles Chen wrote: > > > On Fri, 2019-08-16 at 12:04 +0200, gregkh@linuxfoundation.org wrote: > > > > The patch below does not apply to the 4.14-stable tree. > > > > If someone wants it applied there, or to any other stable or longterm > > > > tree, then please email the backport, including the original git commit > > > > id to . > > > > > > > > thanks, > > > > > > > > greg k-h > > > > > > > Hi Greg, > > > > > > Below this the backport for 4.14 > > > > This backport, and the other 2, are all line-wrapped and the patch is > > corrupted and can not be applied :( > > Sorry for that. > > > > Can you fix up and resend? I can take an attachment if that is what is > > needed here. > > No problem. The backport patches are attached in this email. This didn't apply either. So I tried doing it "by hand" and it looks like you are not making these against the latest 4.14.y release (and other releases.) The difference is in a commit that showed up in 4.14.58, which was released July 2018. I'll take these as I've already fixed them up, but in the future, please make them against the latest version of the stable trees, not the "original" release that happened many years ago. thanks, greg k-h