ALSA: 6fire: Release resources at card release
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 · < b754e831a94f82f2593af806741392903f359168| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: 6fire: Release resources at card release
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.
From the CVE record · Linux
The Linux kernel's ALSA 6fire driver may release resources when a USB device disconnects, even though the sound card is still in use, causing a potential use-after-free. The input does not describe an attacker path or specify authentication requirements.
Anyone running a Linux kernel with the ALSA 6fire driver should check whether their version is affected; affected versions are not listed.