Re: memory leak in usbtest_probe

2020-06-03 Thread Greg KH
On Tue, Jun 02, 2020 at 04:36:22PM -0400, Kyungtae Kim wrote: > We report a bug (in linux-5.6.11) found by FuzzUSB (a modified version > of syzkaller) > > The buf of an usbtest_dev instance (dev->buf) allocated in > usbtest_probe() leaked. > > The usbtest_dev instance holding the buf is attached

memory leak in usbtest_probe

2020-06-02 Thread Kyungtae Kim
We report a bug (in linux-5.6.11) found by FuzzUSB (a modified version of syzkaller) The buf of an usbtest_dev instance (dev->buf) allocated in usbtest_probe() leaked. The usbtest_dev instance holding the buf is attached to a corresponding device instance through usb_set_intfdata(). But later, th