5.5medium
ALSA: ctxfi: Don't enumerate SPDIF1 at DAIO initialization
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: ctxfi: Don't enumerate SPDIF1 at DAIO initialization The recent refactoring of xfi driver changed the assignment of atc->daios[] at atc_get_resources(); now it loops over all enum DAIOTYP entries while it looped formerly only a part of them. The problem is that the last entry, SPDIF1, is a special type that is used only for hw20k1 CTSB073X model (as a replacement of SPDIFIO), and there is no corresponding definition for hw20k2. Due to the lack of the info, it caused a kernel crash on hw20k2, which was already worked around by the commit b045ab3dff97 ("ALSA: ctxfi: Fix missing SPDIFI1 index handling"). This patch addresses the root cause of the regression above properly, simply by skipping the incorrect SPDIF1 type in the parser loop. For making the change clearer, the code is slightly arranged, too.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 88cc09bb70651917ef8b7095a05a21a9ca014c94 before 7fca3600e79e9f8bac1ebc10af9ff20a35d6cccb, from a2dbaeb5c61ef110ceefe0d48fe94d428d3bcf16 before a79c4c42057818bd9de45d2627464b4f0e02196a, from a2dbaeb5c61ef110ceefe0d48fe94d428d3bcf16 before 75dc1980cf48826287e43dc7a49e310c6691f97e, from 6.18.57 before 6.18.59, 6.19 Not affected: before 6.19, from 6.18.59 up to 6.18.*, from 6.19.12 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.19 before 6.19.12, 7.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ALSA: ctxfi: Don't enumerate SPDIF1 at DAIO initialization The recent refactoring of xfi driver changed the assignment of atc->daios[] at atc_get_resources(); now it loops over all enum DAIOTYP entries while it looped formerly only a part of them. The problem is that the last entry, SPDIF1, is a special type that is used only for hw20k1 CTSB073X model (as a replacement of SPDIFIO), and there is no corresponding definition for hw20k2. Due to the lack of the info, it caused a kernel crash on hw20k2, which was already worked around by the commit b045ab3dff97 ("ALSA: ctxfi: Fix missing SPDIFI1 index handling"). This patch addresses the root cause of the regression above properly, simply by skipping the incorrect SPDIF1 type in the parser loop. For making the change clearer, the code is slightly arranged, too.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ALSA: ctxfi: No enumerar SPDIF1 en la inicialización de DAIO La reciente refactorización del controlador xfi cambió la asignación de atc -> daios[] en atc_get_resources(); ahora itera sobre todas las entradas enum DAIOTYP mientras que anteriormente solo iteraba sobre una parte de ellas. El problema es que la última entrada, SPDIF1, es un tipo especial que se utiliza solo para el modelo hw20k1 CTSB073X (como reemplazo de SPDIFIO), y no hay una definición correspondiente para hw20k2. Debido a la falta de información, causó un fallo del kernel en hw20k2, lo cual ya había sido solucionado provisionalmente por el commit b045ab3dff97 (’ALSA: ctxfi: Solucionar el manejo faltante del índice SPDIFI1’). Este parche aborda correctamente la causa raíz de la regresión anterior, simplemente omitiendo el tipo SPDIF1 incorrecto en el bucle del analizador. Para hacer el cambio más claro, el código también se ha organizado ligeramente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31775 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-31775 changed 2026-11-11 | Public domain |