ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.18 % · percentile 7 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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
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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-66498
- GCVE · GCVE-0-2026-80583
CERT-FR advisories
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1232 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1163 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1119 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected c39667ddcfc516fee084e449179d54430a558298 < dbc81b518f6936131bfd858be71cd4295136809c ; affected c39667ddcfc516fee084e449179d54430a558298 < f84f2c81d792cf1e65571108a3bdd2c29e09e995 ; affected c39667ddcfc516fee084e449179d54430a558298 < 48b76879f5bfc8584b99052510ac645c6ade8d2b ; affected c39667ddcfc516fee084e449179d54430a558298 < 2ed3601e9db08fbdb071bd3d7bd8f115d6d871b0 ; affected c39667ddcfc516fee084e449179d54430a558298 < b6baab796d11fb84c0e9444ffca91af5eab22c25 ; affected c39667ddcfc516fee084e449179d54430a558298 < 3ee3c26ceee562079596abc9bc3307dd56dab4ed |
| Linux · Linux | affected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.15.218 ≤ 5.15.* ; unaffected 6.1.185 ≤ 6.1.* ; unaffected 6.6.154 ≤ 6.6.* ; unaffected 6.12.106 ≤ 6.12.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |