Skip to contentSkip to conversation

CVE-2026-98308: ALSA: hda: trace PCM open only after assigning a stream

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

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: hda: trace PCM open only after assigning a stream

Stream assignment can fail when hardware streams are exhausted. Move the tracepoint after the NULL check because its payload accesses the assigned stream tag.

Detected by static analysis and reviewed with AI-assisted source auditing.

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

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

	Issue introduced in 4.2 with commit 184865085b88789fc8a355cc16ceff25f82f63ba and fixed in 5.10.271 with commit 5a4c974dee03cc46eac43c82f33e34ec94f0b348
	Issue introduced in 4.2 with commit 184865085b88789fc8a355cc16ceff25f82f63ba and fixed in 5.15.222 with commit fba079ea22822248c82c3a999c88676d05b17bda
	Issue introduced in 4.2 with commit 184865085b88789fc8a355cc16ceff25f82f63ba and fixed in 6.1.189 with commit 3c6ca6d9342f4a0be7c1413180e11023d13b5cde
	Issue introduced in 4.2 with commit 184865085b88789fc8a355cc16ceff25f82f63ba and fixed in 6.6.158 with commit 0a52ba6d3b268bb82f0ec4cb861bc68d252369c0
	Issue introduced in 4.2 with commit 184865085b88789fc8a355cc16ceff25f82f63ba and fixed in 6.12.112 with commit 5c89e7965220e85d06ae4c58adb7d7bb6da2440c
	Issue introduced in 4.2 with commit 184865085b88789fc8a355cc16ceff25f82f63ba and fixed in 6.18.54 with commit 8477643cb91c9e09ac1b11890eef421ae63e53f7
	Issue introduced in 4.2 with commit 184865085b88789fc8a355cc16ceff25f82f63ba and fixed in 7.2.8 with commit 3db8afba2d210b7d80cd5cc6b76d7f46daa9b47a
	Issue introduced in 4.2 with commit 184865085b88789fc8a355cc16ceff25f82f63ba and fixed in 7.3-rc4 with commit c9e6e5f38bf75276605f1952b22285f5f3abcaff

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-98308

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/hda/common/controller.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/5a4c974dee03cc46eac43c82f33e34ec94f0b348
	https://git.kernel.org/stable/c/fba079ea22822248c82c3a999c88676d05b17bda
	https://git.kernel.org/stable/c/3c6ca6d9342f4a0be7c1413180e11023d13b5cde
	https://git.kernel.org/stable/c/0a52ba6d3b268bb82f0ec4cb861bc68d252369c0
	https://git.kernel.org/stable/c/5c89e7965220e85d06ae4c58adb7d7bb6da2440c
	https://git.kernel.org/stable/c/8477643cb91c9e09ac1b11890eef421ae63e53f7
	https://git.kernel.org/stable/c/3db8afba2d210b7d80cd5cc6b76d7f46daa9b47a
	https://git.kernel.org/stable/c/c9e6e5f38bf75276605f1952b22285f5f3abcaff