# CVE-2024-38551: ASoC: mediatek: Assign dummy when codec not specified for a DAI link

- 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.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-06-19T13:35:23.364Z
- Modified: 2026-06-17T07:40:31.800Z
- 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: Assign dummy when codec not specified for a DAI link

MediaTek sound card drivers are checking whether a DAI link is present
and used on a board to assign the correct parameters and this is done
by checking the codec DAI names at probe time.

If no real codec is present, assign the dummy codec to the DAI link
to avoid NULL pointer during string comparison.

(As written by CVE List.)

## Affected

- Linux Linux: from 4302187d955f166c03b4fa7c993b89ffbabfca4e before 87b8dca6e06f9b1681bc52bf7bfa85c663a11158; from 4302187d955f166c03b4fa7c993b89ffbabfca4e before cbbcabc7f0979f6542372cf88d7a9da7143a4226; from 4302187d955f166c03b4fa7c993b89ffbabfca4e before 0c052b1c11d8119f3048b1f7b3c39a90500cacf9; from 4302187d955f166c03b4fa7c993b89ffbabfca4e before 5f39231888c63f0a7708abc86b51b847476379d8; 6.3 (not affected: before 6.3; from 6.6.33 up to 6.6.*; from 6.8.12 up to 6.8.*; from 6.9.3 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.3 before 6.6.33; from 6.7 before 6.8.12; from 6.9 before 6.9.3

## References

- <https://git.kernel.org/stable/c/87b8dca6e06f9b1681bc52bf7bfa85c663a11158> (patch)
- <https://git.kernel.org/stable/c/cbbcabc7f0979f6542372cf88d7a9da7143a4226> (patch)
- <https://git.kernel.org/stable/c/0c052b1c11d8119f3048b1f7b3c39a90500cacf9> (patch)
- <https://git.kernel.org/stable/c/5f39231888c63f0a7708abc86b51b847476379d8> (patch)

## Sources

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

---

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