configfs on dwc3: msc enum failed if three functions defined

2019-04-22 Thread Bin Liu
Hi Felipe, I am having an issue with dwc3 on TI AM57x device, and would like to ask for your comments. I use configfs to create a multi-function gadget on dwc3, mass_storage is the last function, it seems if I create 3 functions, the mass_storage enumeration will fail on the host. It works fine i

[PATCH] USB: w1 ds2490: Fix bug caused by improper use of altsetting array

2019-04-22 Thread Alan Stern
The syzkaller USB fuzzer spotted a slab-out-of-bounds bug in the ds2490 driver. This bug is caused by improper use of the altsetting array in the usb_interface structure (the array's entries are not always stored in numerical order), combined with a naive assumption that all interfaces probed by t