mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +00:00
a0810c3d6d
The current 6fire code tries to release the resources right after the
call of usb6fire_chip_abort(). But at this moment, the card object
might be still in use (as we're calling snd_card_free_when_closed()).
For avoid potential UAFs, move the release of resources to the card's
private_free instead of the manual call of usb6fire_chip_destroy() at
the USB disconnect callback.
Fixes:
|
||
---|---|---|
.. | ||
chip.c | ||
chip.h | ||
comm.c | ||
comm.h | ||
common.h | ||
control.c | ||
control.h | ||
firmware.c | ||
firmware.h | ||
Makefile | ||
midi.c | ||
midi.h | ||
pcm.c | ||
pcm.h |