[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YPAjnCXOBK5CFfHu@kroah.com>
Date: Thu, 15 Jul 2021 14:01:32 +0200
From: 'Greg Kroah-Hartman' <gregkh@...uxfoundation.org>
To: Andrew Gabbasov <andrew_gabbasov@...tor.com>
Cc: Macpaul Lin <macpaul.lin@...iatek.com>,
Eugeniu Rosca <erosca@...adit-jv.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, Felipe Balbi <balbi@...nel.org>,
Eugeniu Rosca <roscaeugeniu@...il.com>,
Eddie Hung <eddie.hung@...iatek.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 07:44:41PM +0300, Andrew Gabbasov wrote:
> Hello Greg,
>
> > -----Original Message-----
> > From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> > Sent: Sunday, July 11, 2021 7:07 PM
> > To: Gabbasov, Andrew <Andrew_Gabbasov@...tor.com>
> > Cc: Macpaul Lin <macpaul.lin@...iatek.com>; Eugeniu Rosca <erosca@...adit-jv.com>; linux-usb@...r.kernel.org;
> > linux-kernel@...r.kernel.org; stable@...r.kernel.org; Felipe Balbi <balbi@...nel.org>; Eugeniu Rosca
> > <roscaeugeniu@...il.com>; Eddie Hung <eddie.hung@...iatek.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@...tor.com>
> > > Tested-by: Eugeniu Rosca <erosca@...adit-jv.com>
> > > Reviewed-by: Eugeniu Rosca <erosca@...adit-jv.com>
> > > Signed-off-by: Andrew Gabbasov <andrew_gabbasov@...tor.com>
> > > Link: https://lore.kernel.org/r/20210603171507.22514-1-andrew_gabbasov@mentor.com
> > > Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.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
Powered by blists - more mailing lists