Re: [stable] usb: gadget: Fix potential use-after-free

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2022-03-01 at 09:33 +0800, Hangyu Hua wrote:
> All right. I will do that.

That was actually a request to the stable maintainers.  You don't need
to do anything, unless there is some reason why these fixes don't apply
to older versions or need to be adjusted in some way.

Ben.

> Thanks.
> 
> On 2022/3/1 02:47, Ben Hutchings wrote:
> > Please pick these two commits for all stable branches:
> > 
> > commit 89f3594d0de58e8a57d92d497dea9fee3d4b9cda
> > Author: Hangyu Hua <hbh25y@xxxxxxxxx>
> > Date:   Sat Jan 1 01:21:37 2022 +0800
> >   
> >      usb: gadget: don't release an existing dev->buf
> >   
> > commit 501e38a5531efbd77d5c73c0ba838a889bfc1d74
> > Author: Hangyu Hua <hbh25y@xxxxxxxxx>
> > Date:   Sat Jan 1 01:21:38 2022 +0800
> >   
> >      usb: gadget: clear related members when goto fail
> > 
> > Ben.
> > 

-- 
Ben Hutchings
If God had intended Man to program,
we'd have been born with serial I/O ports.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux