# CVE-2024-35842: ASoC: mediatek: sof-common: Add NULL check for normal_link string

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-05-17T14:27:32.476Z
- Modified: 2026-06-17T07:35:31.980Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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`.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 6.0 before 6.1.75; from 6.2 before 6.6.14; from 6.7 before 6.7.2

## References

- <https://git.kernel.org/stable/c/cad471227a37c0c7c080bfc9ed01b53750e82afe> (patch)
- <https://git.kernel.org/stable/c/b1d3db6740d0997ffc6e5a0d96ef7cbd62b35fdd> (patch)
- <https://git.kernel.org/stable/c/cde6ca5872bf67744dffa875a7cb521ab007b7ef> (patch)
- <https://git.kernel.org/stable/c/e3b3ec967a7d93b9010a5af9a2394c8b5c8f31ed> (patch)

## Sources

- CVE List: [CVE-2024-35842](https://www.cve.org/CVERecord?id=CVE-2024-35842), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-35842](https://nvd.nist.gov/vuln/detail/CVE-2024-35842), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-35842 · Whole record: https://cve.day/CVE-2024-35842.json · Rebuilt by cve.day 2026-11-25T22:58:40.538Z
