5.5medium
ASoC: amd: acp-mach-common: Add missing error check for clock acquisition
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.16% (higher than 4% 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-mach-common: Add missing error check for clock acquisition The acp_card_rt5682_init() and acp_card_rt5682s_init() functions did not check the return values of clk_get(). This could lead to a kernel crash when the invalid pointers are later dereferenced by clock core functions. Fix this by: 1. Changing clk_get() to the device-managed devm_clk_get(). 2. Adding IS_ERR() checks immediately after each clock acquisition.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d4c750f2c7d44b5b39e197308bc3f510205bba4b before f9cdfe3f94e93b606ff5d6e8e6dc405e07acce84, from d4c750f2c7d44b5b39e197308bc3f510205bba4b before a71ce398347fed9422dbd5c6458f7f8348012c64, from d4c750f2c7d44b5b39e197308bc3f510205bba4b before 53682a55cac6f159311c63d04f3d7ba64a8a455a, from d4c750f2c7d44b5b39e197308bc3f510205bba4b before e0e31a7ed1191c12a28763bb70c4c7f5adadc79d, from d4c750f2c7d44b5b39e197308bc3f510205bba4b before 0cee68fb7f4cf1562e067c5a82d25062a973b0d0, from d4c750f2c7d44b5b39e197308bc3f510205bba4b before 30c64fb9839949f085c8eb55b979cbd8a4c51f00, 5.16 Not affected: before 5.16, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.114 up to 6.12.*, from 6.18.57 up to 6.18.*, from 6.19.9 up to 6.19.* | CVE List |
| linux linux_kernel | from 5.16 before 6.19.9, 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: ASoC: amd: acp-mach-common: Add missing error check for clock acquisition The acp_card_rt5682_init() and acp_card_rt5682s_init() functions did not check the return values of clk_get(). This could lead to a kernel crash when the invalid pointers are later dereferenced by clock core functions. Fix this by: 1. Changing clk_get() to the device-managed devm_clk_get(). 2. Adding IS_ERR() checks immediately after each clock acquisition.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ASoC: amd: acp-mach-common: Añadir verificación de error faltante para la adquisición de reloj Las funciones acp_card_rt5682_init() y acp_card_rt5682s_init() no verificaban los valores de retorno de clk_get(). Esto podría llevar a un fallo del kernel cuando los punteros inválidos son desreferenciados posteriormente por las funciones centrales del reloj. Solucionar esto mediante: 1. Cambiando clk_get() a devm_clk_get() gestionado por el dispositivo. 2. Añadiendo verificaciones IS_ERR() inmediatamente después de cada adquisición de reloj.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43443 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-43443 changed 2026-11-11 | Public domain |