# CVE-2026-80583: ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-26T14:37:39.704Z
- Modified: 2026-08-27T13:18:40.937Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses

The "DEC0 MODE" to "DEC7 MODE" controls are enumerated, but
tx_macro_dec_mode_get() and tx_macro_dec_mode_put() access their
value through ucontrol->value.integer.value[0] (a long) instead of
ucontrol->value.enumerated.item[0] (an unsigned int).

This same pattern was fixed in the sibling drivers by
commit bcfe5f76cc40 ("ASoC: codecs: rx-macro: fix accessing array
out of bounds for enum type") and
commit 0ea5eff7c606 ("ASoC: codecs: va-macro: fix accessing array
out of bounds for enum type"), but tx-macro was missed.

On 64-bit kernels built with CONFIG_SND_CTL_DEBUG, the elem value
sanity check catches the 4 bytes written past the enumerated item
and every read of these controls fails with -EINVAL:

  snd-sm8250 sound: control 2:0:0:DEC0 MODE:0: access overflow

(As written by CVE List.)

## Affected

- Linux Linux: from c39667ddcfc516fee084e449179d54430a558298 before dbc81b518f6936131bfd858be71cd4295136809c; from c39667ddcfc516fee084e449179d54430a558298 before f84f2c81d792cf1e65571108a3bdd2c29e09e995; from c39667ddcfc516fee084e449179d54430a558298 before 48b76879f5bfc8584b99052510ac645c6ade8d2b; from c39667ddcfc516fee084e449179d54430a558298 before 2ed3601e9db08fbdb071bd3d7bd8f115d6d871b0; from c39667ddcfc516fee084e449179d54430a558298 before b6baab796d11fb84c0e9444ffca91af5eab22c25; from c39667ddcfc516fee084e449179d54430a558298 before 3ee3c26ceee562079596abc9bc3307dd56dab4ed; from c39667ddcfc516fee084e449179d54430a558298 before 1ba381759e45d5d0442452cfa5c42e836191a568; 5.12 (not affected: before 5.12; from 5.15.218 up to 5.15.*; from 6.1.185 up to 6.1.*; from 6.6.154 up to 6.6.*; from 6.12.106 up to 6.12.*; from 6.18.47 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/dbc81b518f6936131bfd858be71cd4295136809c>
- <https://git.kernel.org/stable/c/f84f2c81d792cf1e65571108a3bdd2c29e09e995>
- <https://git.kernel.org/stable/c/48b76879f5bfc8584b99052510ac645c6ade8d2b>
- <https://git.kernel.org/stable/c/2ed3601e9db08fbdb071bd3d7bd8f115d6d871b0>
- <https://git.kernel.org/stable/c/b6baab796d11fb84c0e9444ffca91af5eab22c25>
- <https://git.kernel.org/stable/c/3ee3c26ceee562079596abc9bc3307dd56dab4ed>
- <https://git.kernel.org/stable/c/1ba381759e45d5d0442452cfa5c42e836191a568>

## Sources

- CVE List: [CVE-2026-80583](https://www.cve.org/CVERecord?id=CVE-2026-80583), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-80583](https://nvd.nist.gov/vuln/detail/CVE-2026-80583), Public domain, modified 2026-08-27

---

Page: https://cve.day/CVE-2026-80583 · Whole record: https://cve.day/CVE-2026-80583.json · Rebuilt by cve.day 2026-11-25T22:59:35.404Z
