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.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham 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 D3711C43381 for ; Tue, 5 Mar 2019 09:00:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 99C46206DD for ; Tue, 5 Mar 2019 09:00:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725835AbfCEJAn (ORCPT ); Tue, 5 Mar 2019 04:00:43 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:39327 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725818AbfCEJAn (ORCPT ); Tue, 5 Mar 2019 04:00:43 -0500 X-Originating-IP: 78.194.159.98 Received: from gandi.net (unknown [78.194.159.98]) (Authenticated sender: thibaut@sautereau.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 2C73260009; Tue, 5 Mar 2019 09:00:40 +0000 (UTC) Date: Tue, 5 Mar 2019 10:00:39 +0100 From: Thibaut Sautereau To: Greg KH Cc: stable@vger.kernel.org, Thibaut Sautereau , YueHaibing , Al Viro Subject: Re: [PATCH] exec: Fix mem leak in kernel_read_file Message-ID: <20190305090039.GB3189@gandi.net> References: <20190304221738.GA3189@gandi.net> <20190305062020.GA18909@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190305062020.GA18909@kroah.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Mar 05, 2019 at 07:20:20AM +0100, Greg KH wrote: > On Mon, Mar 04, 2019 at 11:17:38PM +0100, Thibaut Sautereau wrote: > > Commit f612acfae86af7ecad754ae6a46019be9da05b8e upstream > > ("exec: Fix mem leak in kernel_read_file"), addressing CVE-2019-8980, > > should be applied to 4.20, 4.19, 4.14 and 4.9 stable kernels. > > Any reason you didn't cc: the authors of that patch? No, I just forgot, sorry for that. > And as it _just_ went into Linus's tree today, give us a few weeks to > get it backported... > > Also, it's just a "normal" syzbot fix, for a very rare case, why is this > a CVE? I don't know (I'm not the one who requested a CVE), but I saw that this patch had been backported in Arch Linux's kernels to address CVE-2019-8980 [1] and that stable@kernel.org hadn't been put in Cc:. As the fix was already waiting in a pull-request [2] from Al Viro, I thought it was too late to notice the author about Ccing stable, therefore I followed option 2 of Documentation/process/stable-kernel-rules.rst to ensure it would not fall through the cracks. If that was the wrong way to do it, please tell me what I should have done in this case. Thanks, [1] https://nvd.nist.gov/vuln/detail/CVE-2019-8980 [2] https://lkml.org/lkml/2019/3/2/230 -- Thibaut Sautereau