Skip to contentSkip to conversation

CVE-2026-98066: ALSA: caiaq: Fix potential double-free at error path

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-98066 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.12.86 with commit 6251e3e256337a30160ef59ab1580dde4d1acd28 and fixed in 6.12.111 with commit 2883d65a3d9a8d9a682cdb003e6ab7fb28bb17f8
	Issue introduced in 6.18.27 with commit e59ecd4ee3a450db6cb4e4ecaa3efdd593f80056 and fixed in 6.18.53 with commit 1dd715ca0568e4833ed5878f49b028b449941096
	Issue introduced in 7.1 with commit 28abd224db4a49560b452115bca3672a20e45b2f and fixed in 7.2.7 with commit b629ae7b3eddc6812d5af3614b8c1bd76d65fa75
	Issue introduced in 7.1 with commit 28abd224db4a49560b452115bca3672a20e45b2f and fixed in 7.3-rc2 with commit 3b26ceef88c110f4d188387cffa0df78657be904
	Issue introduced in 5.10.258 with commit da938aa9fc7826901921dcea225948ab21a97e45
	Issue introduced in 5.15.209 with commit 09616e25f502080ba684fc7fcf959d1376ab756d
	Issue introduced in 6.1.175 with commit b956e48371f2ff72b76be9a829800ecec963bd45
	Issue introduced in 6.6.140 with commit f537e3ad69609f6924a4db6b4a7f6561f5288bdd
	Issue introduced in 7.0.4 with commit 096dd8519cf2f768e9e14f224b627f7aaee1a9c5

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98066

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
sound/usb/caiaq/audio.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/2883d65a3d9a8d9a682cdb003e6ab7fb28bb17f8
	https://git.kernel.org/stable/c/1dd715ca0568e4833ed5878f49b028b449941096
	https://git.kernel.org/stable/c/b629ae7b3eddc6812d5af3614b8c1bd76d65fa75
	https://git.kernel.org/stable/c/3b26ceef88c110f4d188387cffa0df78657be904