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=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 04363C07E9B for ; Sun, 11 Jul 2021 15:45:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DD4E361106 for ; Sun, 11 Jul 2021 15:45:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236231AbhGKPr6 convert rfc822-to-8bit (ORCPT ); Sun, 11 Jul 2021 11:47:58 -0400 Received: from esa1.mentor.iphmx.com ([68.232.129.153]:51538 "EHLO esa1.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234738AbhGKPr6 (ORCPT ); Sun, 11 Jul 2021 11:47:58 -0400 X-Greylist: delayed 427 seconds by postgrey-1.27 at vger.kernel.org; Sun, 11 Jul 2021 11:47:58 EDT IronPort-SDR: 0r/OgIl75ZHcK8wxrSlMvY/RtYbSgGHcSexNWRNtk5XKWbzlO/UzHFgwufAIoHc+gdO06/w6GH Hhys9/dkPC3MUI6b5axtq/OKU5R/hfg3fEZUYdIsaX3FJVogaVDvnjJ6pvGSCmuhHostzzsAcv WuJuGZX4gusb9wgWC/3fch81MbkhG8DcI39Apcm4q26hmwOAbEACAkGtb4oAlp27XexC0ITtJk 0lJDhLyVCx4z4GG/zaioakaJwuCJ8b8p3vrQB8oFZwehUbtG9I0L25TOY5Yr5K68ftqj1bRRtu Uh8= X-IronPort-AV: E=Sophos;i="5.84,231,1620720000"; d="scan'208";a="65827291" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 11 Jul 2021 07:38:05 -0800 IronPort-SDR: DMxmtnnmzBvukntamkj5o3aI9byTsHCH5W4epPaOkgDXh8IshSJueuHpO33SHXmcMiqheeVFag B3+17LIlNc2XeZcAlzNmO9Tfn8xSvCei9biJ3953XSD0jHRBY2HTX4CIghCcQAcTotbp3x5rxa 58ZLnRbqY/ZRovv/wPTGih0d8PX8+fOML+UbKdo/5aGI50uMJRWuqHGgmZc4pL1HzfMfVdl9Ig FoXLMB21O08U+or/YIw3HeNNi6Om0Ggja9JdT5DPoS2fApohTaCfhOvjtqYz5Wkx3fQ5xkt18G MvA= From: Andrew Gabbasov To: 'Greg Kroah-Hartman' CC: Macpaul Lin , Eugeniu Rosca , , , , Felipe Balbi , Eugeniu Rosca , Eddie Hung References: <20210603171507.22514-1-andrew_gabbasov@mentor.com> <20210604110503.GA23002@vmlxhi-102.adit-jv.com> <20210702184957.4479-1-andrew_gabbasov@mentor.com> <20210702184957.4479-2-andrew_gabbasov@mentor.com> <000001d77187$e9782dd0$bc688970$@mentor.com> In-Reply-To: Subject: RE: [PATCH v4.14] usb: gadget: f_fs: Fix setting of device and driver data cross-references Date: Sun, 11 Jul 2021 18:37:20 +0300 Organization: Mentor Graphics Corporation Message-ID: <000001d7766a$a755ada0$f60108e0$@mentor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHXb3MiK5x8JbQzK0Wthg8LyVovu6sz6U+AgABMtp+ACb8xgA== Content-Language: en-us X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-08.mgc.mentorg.com (139.181.222.8) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Greg, > -----Original Message----- > From: 'Greg Kroah-Hartman' > Sent: Monday, July 05, 2021 1:42 PM > To: Gabbasov, Andrew > Cc: Macpaul Lin ; Eugeniu Rosca ; linux-usb@vger.kernel.org; > linux-kernel@vger.kernel.org; stable@vger.kernel.org; Felipe Balbi ; Eugeniu Rosca > ; Eddie Hung > Subject: Re: [PATCH v4.14] usb: gadget: f_fs: Fix setting of device and driver data cross-references > > On Mon, Jul 05, 2021 at 01:24:10PM +0300, Andrew Gabbasov wrote: > > Hello Greg, > > > > > -----Original Message----- > > > From: Greg Kroah-Hartman > > > Sent: Monday, July 05, 2021 10:08 AM > > > To: Gabbasov, Andrew > > > Cc: Macpaul Lin ; Eugeniu Rosca ; linux-usb@vger.kernel.org; > > > linux-kernel@vger.kernel.org; stable@vger.kernel.org; Felipe Balbi ; Eugeniu Rosca > > > ; Eddie Hung > > > Subject: Re: [PATCH v4.14] usb: gadget: f_fs: Fix setting of device and driver data cross-references > > > > > > On Fri, Jul 02, 2021 at 01:49:57PM -0500, Andrew Gabbasov wrote: > > > > Fixes: 4b187fceec3c ("usb: gadget: FunctionFS: add devices management code") > > > > Fixes: 3262ad824307 ("usb: gadget: f_fs: Stop ffs_closed NULL pointer dereference") > > > > Fixes: cdafb6d8b8da ("usb: gadget: f_fs: Fix use-after-free in ffs_free_inst") > > > > Reported-by: Bhuvanesh Surachari > > > > Tested-by: Eugeniu Rosca > > > > Reviewed-by: Eugeniu Rosca > > > > Signed-off-by: Andrew Gabbasov > > > > Link: https://lore.kernel.org/r/20210603171507.22514-1-andrew_gabbasov@mentor.com > > > > Signed-off-by: Greg Kroah-Hartman > > > > (cherry-picked from commit ecfbd7b9054bddb12cea07fda41bb3a79a7b0149) > > > > > > There is no such commit id in Linus's tree :( > > > > > > Please resubmit with the correct id. > > > > This commit is not yet included to the mainline, it only exists in linux-next: > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux- > next.git/commit/?id=ecfbd7b9054bddb12cea07fda41bb3a79a7b0149 > > > > Could you please advise if I need to somehow denote the linux-next repo in the "cherry picked from" line, > > or just remove this line, or so far wait and re-submit the patch after the original commit is merged to Linus' > tree? > > BTW, I just noticed that the line contains incorrect "cherry-picked" instead of "cherry picked", > > so I'll have to re-submit the patch anyway 😉 > > This is not the correct way to submit patches for inclusion in the > stable kernel tree. Please read: > https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html > for how to do this properly. > > Patches have to be in Linus's tree first before we can take it into a > stable tree. Please feel free to resubmit this once it is in a -rc > release. Sorry I was one day early before the commit was included to Linus' tree. Now it is there and I'm re-submitting the patch, back-ported to v4.14. Thanks! Best regards, Andrew