From: 'Greg Kroah-Hartman' <gregkh@linuxfoundation.org>
To: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Cc: Macpaul Lin <macpaul.lin@mediatek.com>,
Eugeniu Rosca <erosca@de.adit-jv.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org, Felipe Balbi <balbi@kernel.org>,
Eugeniu Rosca <roscaeugeniu@gmail.com>,
Eddie Hung <eddie.hung@mediatek.com>
Subject: Re: [PATCH v4.14] usb: gadget: f_fs: Fix setting of device and driver data cross-references
Date: Thu, 15 Jul 2021 14:01:32 +0200 [thread overview]
Message-ID: <YPAjnCXOBK5CFfHu@kroah.com> (raw)
In-Reply-To: <000001d77674$0fd59b20$2f80d160$@mentor.com>
On Sun, Jul 11, 2021 at 07:44:41PM +0300, Andrew Gabbasov wrote:
> Hello Greg,
>
> > -----Original Message-----
> > From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > Sent: Sunday, July 11, 2021 7:07 PM
> > To: Gabbasov, Andrew <Andrew_Gabbasov@mentor.com>
> > Cc: Macpaul Lin <macpaul.lin@mediatek.com>; Eugeniu Rosca <erosca@de.adit-jv.com>; linux-usb@vger.kernel.org;
> > linux-kernel@vger.kernel.org; stable@vger.kernel.org; Felipe Balbi <balbi@kernel.org>; Eugeniu Rosca
> > <roscaeugeniu@gmail.com>; Eddie Hung <eddie.hung@mediatek.com>
> > Subject: Re: [PATCH v4.14] usb: gadget: f_fs: Fix setting of device and driver data cross-references
> >
> > On Sun, Jul 11, 2021 at 10:51:30AM -0500, Andrew Gabbasov wrote:
> > > commit ecfbd7b9054bddb12cea07fda41bb3a79a7b0149 upstream.
> > >
>
> [ skipped ]
>
> > > 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 <bhuvanesh_surachari@mentor.com>
> > > Tested-by: Eugeniu Rosca <erosca@de.adit-jv.com>
> > > Reviewed-by: Eugeniu Rosca <erosca@de.adit-jv.com>
> > > Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
> > > Link: https://lore.kernel.org/r/20210603171507.22514-1-andrew_gabbasov@mentor.com
> > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > > [agabbasov: Backported to earlier mount API, resolved context conflicts]
> > > ---
> > > drivers/usb/gadget/function/f_fs.c | 67 ++++++++++++++----------------
> > > 1 file changed, 32 insertions(+), 35 deletions(-)
> >
> > I also need a 4.19 version of this commit, as you do not want to upgrade
> > to a newer kernel and regress. Can you also provide that?
>
> If I correctly understand, this particular file has a very minor difference
> between 4.14 and 4.19. So, this same patch for 4.14 can be just applied / cherry-picked
> cleanly on top of latest stable 4.19.
Now queued up, thanks.
greg k-h
prev parent reply other threads:[~2021-07-15 12:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 17:15 [PATCH] usb: gadget: f_fs: Fix setting of device and driver data cross-references Andrew Gabbasov
2021-06-04 11:05 ` Eugeniu Rosca
2021-07-02 15:01 ` Macpaul Lin
2021-07-02 18:49 ` Andrew Gabbasov
2021-07-02 18:49 ` [PATCH v4.14] " Andrew Gabbasov
2021-07-05 7:07 ` Greg Kroah-Hartman
2021-07-05 10:24 ` Andrew Gabbasov
2021-07-05 10:42 ` 'Greg Kroah-Hartman'
2021-07-11 15:37 ` Andrew Gabbasov
2021-07-11 15:51 ` Andrew Gabbasov
2021-07-11 16:07 ` Greg Kroah-Hartman
2021-07-11 16:44 ` Andrew Gabbasov
2021-07-15 12:01 ` 'Greg Kroah-Hartman' [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YPAjnCXOBK5CFfHu@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=andrew_gabbasov@mentor.com \
--cc=balbi@kernel.org \
--cc=eddie.hung@mediatek.com \
--cc=erosca@de.adit-jv.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=macpaul.lin@mediatek.com \
--cc=roscaeugeniu@gmail.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.