CVE-2026-90068: ASoC: dapm: Fix off-by-one check on the second enum channel
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ASoC: dapm: Fix off-by-one check on the second enum channel
The snd_soc_dapm_put_enum_double() rejects item[0] once it reaches e->items, but it lets item[1] be equal to it. Both go on to snd_soc_enum_item_to_val(), which indexes e->values with no bound of its own, so an enum with a value table reads one element past the end.
The indexing arrived with the MUX consolidation, which relaxed the item[1] check in the same hunk. The value MUX handler it deleted used
Quoted 1 line
= there, and the
snd_soc_put_enum_double()insoc-ops.cstill does.
Only adav80x pairs a value table with two shifts, and its second channel looks accidental, but the control does report two values. Writing three into it reads off the end of adav80x_mux_values. The core catches that only under CONFIG_SND_CTL_INPUT_VALIDATION, which defaults off.
The Linux kernel CVE team has assigned CVE-2026-90068 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.15 with commit 3727b4968453dbab8fe18f979d67285eb6b66801 and fixed in 5.10.270 with commit 57ab955bde747327fb2042516ae1b7192c30e881 Issue introduced in 3.15 with commit 3727b4968453dbab8fe18f979d67285eb6b66801 and fixed in 5.15.221 with commit 806fa4e1f2bf73c54bc4b6360790ecc69d095ca5 Issue introduced in 3.15 with commit 3727b4968453dbab8fe18f979d67285eb6b66801 and fixed in 6.1.188 with commit 496081b4edc1f6e662418831c5b14cddd8d7920c Issue introduced in 3.15 with commit 3727b4968453dbab8fe18f979d67285eb6b66801 and fixed in 6.6.157 with commit faf539af1a595a26e5a081a4e512caee2bc2f4c5 Issue introduced in 3.15 with commit 3727b4968453dbab8fe18f979d67285eb6b66801 and fixed in 6.12.110 with commit 32fc048391112559c34cb88d13594546939a4cd6 Issue introduced in 3.15 with commit 3727b4968453dbab8fe18f979d67285eb6b66801 and fixed in 6.18.52 with commit 10a36512c21f861a03fba461a7ead09023df9c1b Issue introduced in 3.15 with commit 3727b4968453dbab8fe18f979d67285eb6b66801 and fixed in 7.2.6 with commit 55126ef66298e43c69f192acebae8c7cc0022cf6 Issue introduced in 3.15 with commit 3727b4968453dbab8fe18f979d67285eb6b66801 and fixed in 7.3-rc1 with commit 14511c9b54ceeeef487409d73947c89ee8563590
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-90068
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/soc/soc-dapm.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/57ab955bde747327fb2042516ae1b7192c30e881 https://git.kernel.org/stable/c/806fa4e1f2bf73c54bc4b6360790ecc69d095ca5 https://git.kernel.org/stable/c/496081b4edc1f6e662418831c5b14cddd8d7920c https://git.kernel.org/stable/c/faf539af1a595a26e5a081a4e512caee2bc2f4c5 https://git.kernel.org/stable/c/32fc048391112559c34cb88d13594546939a4cd6 https://git.kernel.org/stable/c/10a36512c21f861a03fba461a7ead09023df9c1b https://git.kernel.org/stable/c/55126ef66298e43c69f192acebae8c7cc0022cf6 https://git.kernel.org/stable/c/14511c9b54ceeeef487409d73947c89ee8563590