5.5medium
ASoC: amd: acp: Fix incorrect retrival of acp_chip_info
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp: Fix incorrect retrival of acp_chip_info Use dev_get_drvdata(dev->parent) instead of dev_get_platdata(dev) to correctly obtain acp_chip_info members in the acp I2S driver. Previously, some members were not updated properly due to incorrect data access, which could potentially lead to null pointer dereferences. This issue was missed in the earlier commit ("ASoC: amd: acp: Fix NULL pointer deref in acp_i2s_set_tdm_slot"), which only addressed set_tdm_slot(). This change ensures that all relevant functions correctly retrieve acp_chip_info, preventing further null pointer dereference issues.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e3933683b25e2cc94485da4909e3338e1a177b39 before 65c5cfbd6d938f77a0df3c34855a4f7d8a61fd10, from e3933683b25e2cc94485da4909e3338e1a177b39 before d7871f400cad1da376f1d7724209a1c49226c456, 6.15 Not affected: before 6.15, from 6.16.9 up to 6.16.*, from 6.17 up to * | CVE List |
| linux linux_kernel | from 6.15 before 6.16.9, 6.17 | 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: ASoC: amd: acp: Fix incorrect retrival of acp_chip_info Use dev_get_drvdata(dev->parent) instead of dev_get_platdata(dev) to correctly obtain acp_chip_info members in the acp I2S driver. Previously, some members were not updated properly due to incorrect data access, which could potentially lead to null pointer dereferences. This issue was missed in the earlier commit ("ASoC: amd: acp: Fix NULL pointer deref in acp_i2s_set_tdm_slot"), which only addressed set_tdm_slot(). This change ensures that all relevant functions correctly retrieve acp_chip_info, preventing further null pointer dereference issues.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ASoC: amd: acp: Corrección de la recuperación incorrecta de acp_chip_info Usar dev_get_drvdata(dev->parent) en lugar de dev_get_platdata(dev) para obtener correctamente los miembros de acp_chip_info en el controlador I2S de acp. Anteriormente, algunos miembros no se actualizaban correctamente debido a un acceso incorrecto a los datos, lo que podría conducir potencialmente a desreferencias de puntero nulo. Este problema se pasó por alto en el commit anterior ('ASoC: amd: acp: Fix NULL pointer deref in acp_i2s_set_tdm_slot'), que solo abordaba set_tdm_slot(). Este cambio asegura que todas las funciones relevantes recuperen correctamente acp_chip_info, previniendo problemas adicionales de desreferencia de puntero nulo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-39959 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2025-39959 changed 2026-11-05 | Public domain |