Re: [PATCH] USB: gadget: hidg: fix use-after-free in f_hidg

2020-11-01 Thread Greg KH
On Sat, Oct 31, 2020 at 10:16:05PM -0400, Kyungtae Kim wrote: > On Wed, Oct 28, 2020 at 4:13 PM Kyungtae Kim wrote: > > > > FuzzUSB (a variant of syzkaller) found the bug You sent this 3 days ago. Please give us a chance, at least 2 weeks, to get to a patch when submitted. thanks, greg k-h

Re: [PATCH] USB: gadget: hidg: fix use-after-free in f_hidg

2020-10-31 Thread Kyungtae Kim
On Wed, Oct 28, 2020 at 4:13 PM Kyungtae Kim wrote: > > FuzzUSB (a variant of syzkaller) found the bug > when accessing a freed instance of struct f_hidg. > > Reference: https://www.spinics.net/lists/linux-usb/msg195103.html > > The fix uses reference count to ensure the right access to instance