# CVE-2024-42088: ASoC: mediatek: mt8195: Add platform entry for ETDM1\_OUT\_BE dai link

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-28)
- **CWE:** CWE-129
- **Published:** 2024-07-29T16:26:28.523Z
- **Modified:** 2026-08-05T11:35:33.587Z

## Who should check

- Anyone running Linux \>= 81051a495a9a23c0339d2ae1aa6e4477ed7268c8, \< 62f61129621ce7e05a6d24584660f79bf081b483; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 42b9ab7a4d7e6c5efd71847541e4fcc213585aad; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 282a4482e198e03781c152c88aac8aa382ef9a55
- Anyone running Linux 6.8

## Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: mediatek: mt8195: Add platform entry for ETDM1\_OUT\_BE dai link

Commit e70b8dd26711 ("ASoC: mediatek: mt8195: Remove afe-dai component
and rework codec link") removed the codec entry for the ETDM1\_OUT\_BE
dai link entirely instead of replacing it with COMP\_EMPTY(). This worked
by accident as the remaining COMP\_EMPTY() platform entry became the codec
entry, and the platform entry became completely empty, effectively the
same as COMP\_DUMMY() since snd\_soc\_fill\_dummy\_dai() doesn't do anything
for platform entries.

This causes a KASAN out-of-bounds warning in mtk\_soundcard\_common\_probe()
in sound/soc/mediatek/common/mtk-soundcard-driver.c:

	for\_each\_card\_prelinks(card, i, dai\_link) {
		if (adsp\_node && !strncmp(dai\_link-\>name, "AFE\_SOF", strlen("AFE\_SOF")))
			dai\_link-\>platforms-\>of\_node = adsp\_node;
		else if (!dai\_link-\>platforms-\>name && !dai\_link-\>platforms-\>of\_node)
			dai\_link-\>platforms-\>of\_node = platform\_node;
	}

where the code expects the platforms array to have space for at least one entry.

Add an COMP\_EMPTY() entry so that dai\_link-\>platforms has space.

## Affected and fixed versions

- Linux: \>= 81051a495a9a23c0339d2ae1aa6e4477ed7268c8, \< 62f61129621ce7e05a6d24584660f79bf081b483; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 42b9ab7a4d7e6c5efd71847541e4fcc213585aad; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 282a4482e198e03781c152c88aac8aa382ef9a55 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 282a4482e198e03781c152c88aac8aa382ef9a55 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-42088. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42088.md
Affected: Linux >= 81051a495a9a23c0339d2ae1aa6e4477ed7268c8, < 62f61129621ce7e05a6d24584660f79bf081b483; >= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, < 42b9ab7a4d7e6c5efd71847541e4fcc213585aad; >= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, < 282a4482e198e03781c152c88aac8aa382ef9a55; Linux 6.8
Fixed in: Linux 62f61129621ce7e05a6d24584660f79bf081b483, Linux 42b9ab7a4d7e6c5efd71847541e4fcc213585aad, Linux 282a4482e198e03781c152c88aac8aa382ef9a55

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-42088 being exploited?

There is no confirmed exploitation: CVE-2024-42088 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-42088?

High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-42088?

Linux \>= 81051a495a9a23c0339d2ae1aa6e4477ed7268c8, \< 62f61129621ce7e05a6d24584660f79bf081b483; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 42b9ab7a4d7e6c5efd71847541e4fcc213585aad; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 282a4482e198e03781c152c88aac8aa382ef9a55; Linux 6.8.

### Is there a fix for CVE-2024-42088?

Yes. Fixed in Linux 62f61129621ce7e05a6d24584660f79bf081b483, Linux 42b9ab7a4d7e6c5efd71847541e4fcc213585aad, Linux 282a4482e198e03781c152c88aac8aa382ef9a55. Upgrade Linux to 282a4482e198e03781c152c88aac8aa382ef9a55 or later.

### How do I check if I'm affected by CVE-2024-42088?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/42b9ab7a4d7e6c5efd71847541e4fcc213585aad>
- patch: <https://git.kernel.org/stable/c/282a4482e198e03781c152c88aac8aa382ef9a55>
- other: <https://git.kernel.org/stable/c/62f61129621ce7e05a6d24584660f79bf081b483>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-42088>

HTML: <https://flawdb.com/CVE-2024-42088> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-42088>
