In the Linux kernel, the following vulnerability has been resolved:
memstick/ms_block: Fix a memory leak
'erasedblocksbitmap' is never freed. As it is allocated at the same time as 'usedblocksbitmap', it is likely that it should be freed also at the same time.
Add the corresponding bitmapfree() in msbdata_clear().