Kernel memory leak on CDC-ACM device plug/unplug

Romain Izard romain.izard.pro at gmail.com
Fri Sep 21 03:11:33 PDT 2018


2018-09-21 10:08 GMT+02:00 Oliver Neukum <oneukum at suse.com>:
> On Mi, 2018-09-19 at 16:11 +0200, Romain Izard wrote:
>> While trying to debug a memory leak problem, I encountered the following
>> problem:
>>
>> After plugging/unplugging an USB CDC-ACM device, kmemleak reports multiple
>> copies of the following leak. It is not necessary to open the port for the
>> leak to happen.
>
> Hi,
>
> nothing is immediately obvious to me. Could you compile a kernel with
> CONFIG_DEBUG_KMEMLEAK?
>


The fix for this issue is the following patch:
https://www.spinics.net/lists/linux-usb/msg172850.html

Best regards,
-- 
Romain Izard



More information about the linux-arm-kernel mailing list