ALSA: caiaq: Fix potential double-free at error path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e59ecd4ee3a450db6cb4e4ecaa3efdd593f80056 · < 1dd715ca0568e4833ed5878f49b028b449941096| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: caiaq: Fix potential double-free at error path
The fix for caiaq driver's resource management to handle the errors tries to release the resources in a common destructor call, but as a sashiko review for another patch suggested, some of the audio resources such as URBs have been already freed, and this may lead to a double-free.
For addressing the double-free, call the common destructor function from each place, and assure that the resource pointers get cleared.
From the CVE record · Linux
The Linux kernel’s ALSA caiaq driver may free audio resources twice on an error path. The input does not specify how an attacker could trigger the error or whether access or user interaction is required.
Engineers running Linux kernels with the ALSA caiaq driver should check their versions; affected versions were not provided.