Skip to contentSkip to conversation

CVE-2026-46157: ALSA: pcm: oss: Fix data race at accessing runtime.oss.trigger

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 28

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: pcm: oss: Fix data race at accessing runtime.oss.trigger

Currently the runtime.oss.trigger field may be accessed concurrently without protection, which may lead to the data race. And, in this case, it may lead to more severe problem because it's a bit field; as writing the data, it may overwrite other bit fields as well, which confuses the operation completely, as spotted by fuzzing.

Fix it by covering runtime.oss.trigger bit fled also with the existing params_lock mutex in both snd_pcm_oss_get_trigger() and snd_pcm_oss_poll().

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

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

	Fixed in 6.12.88 with commit 49f9d048845be874df7997e4b1ce662de450c4b6
	Fixed in 6.18.30 with commit ac3e9b55b7da6f0be51720bd330a0edc1a8b61f1
	Fixed in 7.0.7 with commit 6b01c1bc9a4748ab37548a700a8aaff910e298e6
	Fixed in 7.1-rc2 with commit 901ac0ff15edf9503162e2cf6579bd11a30f1ed4

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

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/core/oss/pcm_oss.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/49f9d048845be874df7997e4b1ce662de450c4b6
	https://git.kernel.org/stable/c/ac3e9b55b7da6f0be51720bd330a0edc1a8b61f1
	https://git.kernel.org/stable/c/6b01c1bc9a4748ab37548a700a8aaff910e298e6
	https://git.kernel.org/stable/c/901ac0ff15edf9503162e2cf6579bd11a30f1ed4