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

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

 



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
The first rule of tautology club is the first rule of tautology club.

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