Hello,
I have an application that uses libusb to start an asynchronous interrupt transfer and stops the transfer before it's completed.
I have been experiencing random crashes in kernel.
Crashes are caused by musb_host.c:musb_advance_schedule() function where kfree can be called with the same value twice.
It happens if musb_dma_completion is in progress and libusb_cancel_transfer is called.
I would like to ask if there is a kernel patch available that would fix this issue.
Background:
I am using DM3730 Torpedo + Wireless SOM and have built 2.4-4 BSP with RT patch. Kernel is set to Fully Preemptible Kernel, and for USB transfer I am using musb otg set to a host mode.
With kind regards,
Matus Hanzes