CVE-2024-35842
JSON

5.5medium

ASoC: mediatek: sof-common: Add NULL check for normal_link string

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.22% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: sof-common: Add NULL check for normal_link string It's not granted that all entries of struct sof_conn_stream declare a `normal_link` (a non-SOF, direct link) string, and this is the case for SoCs that support only SOF paths (hence do not support both direct and SOF usecases). For example, in the case of MT8188 there is no normal_link string in any of the sof_conn_stream entries and there will be more drivers doing that in the future. To avoid possible NULL pointer KPs, add a NULL check for `normal_link`.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 0caf1120c58395108344d5df4e09359b67e95094 before cad471227a37c0c7c080bfc9ed01b53750e82afe, from 0caf1120c58395108344d5df4e09359b67e95094 before b1d3db6740d0997ffc6e5a0d96ef7cbd62b35fdd, from 0caf1120c58395108344d5df4e09359b67e95094 before cde6ca5872bf67744dffa875a7cb521ab007b7ef, from 0caf1120c58395108344d5df4e09359b67e95094 before e3b3ec967a7d93b9010a5af9a2394c8b5c8f31ed, 6.0
Not affected: before 6.0, from 6.1.75 up to 6.1.*, from 6.6.14 up to 6.6.*, from 6.7.2 up to 6.7.*, from 6.8 up to *
CVE List
linux linux_kernelfrom 6.0 before 6.1.75, from 6.2 before 6.6.14, from 6.7 before 6.7.2NVD

Classification

CWE-476

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: mediatek: sof-common: Add NULL check for normal_link string It's not granted that all entries of struct sof_conn_stream declare a `normal_link` (a non-SOF, direct link) string, and this is the case for SoCs that support only SOF paths (hence do not support both direct and SOF usecases). For example, in the case of MT8188 there is no normal_link string in any of the sof_conn_stream entries and there will be more drivers doing that in the future. To avoid possible NULL pointer KPs, add a NULL check for `normal_link`.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: mediatek: sof-common: Agregar verificación NULL para la cadena normal_link No se garantiza que todas las entradas de la estructura sof_conn_stream declaren una cadena `normal_link` (un enlace directo no SOF) , y este es el caso de los SoC que solo admiten rutas SOF (por lo tanto, no admiten casos de uso directos y SOF). Por ejemplo, en el caso de MT8188 no hay una cadena normal_link en ninguna de las entradas de sof_conn_stream y habrá más controladores que lo hagan en el futuro. Para evitar posibles KP de puntero NULL, agregue una verificación NULL para `normal_link`.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-35842 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-35842 changed 2026-06-17Public domain