# CVE-2025-38299: ASoC: mediatek: mt8195: Set ETDM1/2 IN/OUT to COMP\_DUMMY()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.27% (percentile 12, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-07-10T07:42:12.216Z
- **Modified:** 2026-08-03T10:16:26.667Z

## Who should check

- Anyone running Linux \>= 81051a495a9a23c0339d2ae1aa6e4477ed7268c8, \< 45bd023c7a4ec12059912a631a74723746145e7e; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 87dbfe2b392df9621f6e522e5fa6fb8849ca92ab; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 183e7329d41d7a8e298f48b6b0eb81102a8654de; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 7af317f7faaab09d5a78f24605057d11f5955115
- Anyone running Linux 6.8

## Description

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

ASoC: mediatek: mt8195: Set ETDM1/2 IN/OUT to COMP\_DUMMY()

ETDM2\_IN\_BE and ETDM1\_OUT\_BE are defined as COMP\_EMPTY(),
in the case the codec dai\_name will be null.

Avoid a crash if the device tree is not assigning a codec
to these links.

\[    1.179936\] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
\[    1.181065\] Mem abort info:
\[    1.181420\]   ESR = 0x0000000096000004
\[    1.181892\]   EC = 0x25: DABT (current EL), IL = 32 bits
\[    1.182576\]   SET = 0, FnV = 0
\[    1.182964\]   EA = 0, S1PTW = 0
\[    1.183367\]   FSC = 0x04: level 0 translation fault
\[    1.183983\] Data abort info:
\[    1.184406\]   ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
\[    1.185097\]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
\[    1.185766\]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
\[    1.186439\] \[0000000000000000\] user address but active\_mm is swapper
\[    1.187239\] Internal error: Oops: 0000000096000004 \[\#1\] PREEMPT SMP
\[    1.188029\] Modules linked in:
\[    1.188420\] CPU: 7 UID: 0 PID: 70 Comm: kworker/u32:1 Not tainted 6.14.0-rc4-next-20250226+ \#85
\[    1.189515\] Hardware name: Radxa NIO 12L (DT)
\[    1.190065\] Workqueue: events\_unbound deferred\_probe\_work\_func
\[    1.190808\] pstate: 40400009 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[    1.191683\] pc : \_\_pi\_strcmp+0x24/0x140
\[    1.192170\] lr : mt8195\_mt6359\_soc\_card\_probe+0x224/0x7b0
\[    1.192854\] sp : ffff800083473970
\[    1.193271\] x29: ffff800083473a10 x28: 0000000000001008 x27: 0000000000000002
\[    1.194168\] x26: ffff800082408960 x25: ffff800082417db0 x24: ffff800082417d88
\[    1.195065\] x23: 000000000000001e x22: ffff800082dbf480 x21: ffff800082dc07b8
\[    1.195961\] x20: 0000000000000000 x19: 0000000000000013 x18: 00000000ffffffff
\[    1.196858\] x17: 000000040044ffff x16: 005000f2b5503510 x15: 0000000000000006
\[    1.197755\] x14: ffff800082407af0 x13: 6e6f69737265766e x12: 692d6b636f6c6374
\[    1.198651\] x11: 0000000000000002 x10: ffff80008240b920 x9 : 0000000000000018
\[    1.199547\] x8 : 0101010101010101 x7 : 0000000000000000 x6 : 0000000000000000
\[    1.200443\] x5 : 0000000000000000 x4 : 8080808080000000 x3 : 303933383978616d
\[    1.201339\] x2 : 0000000000000000 x1 : ffff80008240b920 x0 : 0000000000000000
\[    1.202236\] Call trace:
\[    1.202545\]  \_\_pi\_strcmp+0x24/0x140 (P)
\[    1.203029\]  mtk\_soundcard\_common\_probe+0x3bc/0x5b8
\[    1.203644\]  platform\_probe+0x70/0xe8
\[    1.204106\]  really\_probe+0xc8/0x3a0
\[    1.204556\]  \_\_driver\_probe\_device+0x84/0x160
\[    1.205104\]  driver\_probe\_device+0x44/0x130
\[    1.205630\]  \_\_device\_attach\_driver+0xc4/0x170
\[    1.206189\]  bus\_for\_each\_drv+0x8c/0xf8
\[    1.206672\]  \_\_device\_attach+0xa8/0x1c8
\[    1.207155\]  device\_initial\_probe+0x1c/0x30
\[    1.207681\]  bus\_probe\_device+0xb0/0xc0
\[    1.208165\]  deferred\_probe\_work\_func+0xa4/0x100
\[    1.208747\]  process\_one\_work+0x158/0x3e0
\[    1.209254\]  worker\_thread+0x2c4/0x3e8
\[    1.209727\]  kthread+0x134/0x1f0
\[    1.210136\]  ret\_from\_fork+0x10/0x20
\[    1.210589\] Code: 54000401 b50002c6 d503201f f86a6803 (f8408402)
\[    1.211355\] ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= 81051a495a9a23c0339d2ae1aa6e4477ed7268c8, \< 45bd023c7a4ec12059912a631a74723746145e7e; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 87dbfe2b392df9621f6e522e5fa6fb8849ca92ab; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 183e7329d41d7a8e298f48b6b0eb81102a8654de; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 7af317f7faaab09d5a78f24605057d11f5955115 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 7af317f7faaab09d5a78f24605057d11f5955115 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38299.md
Affected: Linux >= 81051a495a9a23c0339d2ae1aa6e4477ed7268c8, < 45bd023c7a4ec12059912a631a74723746145e7e; >= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, < 87dbfe2b392df9621f6e522e5fa6fb8849ca92ab; >= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, < 183e7329d41d7a8e298f48b6b0eb81102a8654de; >= e70b8dd26711704b1ff1f1b…
Fixed in: Linux 45bd023c7a4ec12059912a631a74723746145e7e, Linux 87dbfe2b392df9621f6e522e5fa6fb8849ca92ab, Linux 183e7329d41d7a8e298f48b6b0eb81102a8654de, Linux 7af317f7faaab09d5a78f24605057d11f5955115

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-2025-38299 being exploited?

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

### How serious is CVE-2025-38299?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38299?

Linux \>= 81051a495a9a23c0339d2ae1aa6e4477ed7268c8, \< 45bd023c7a4ec12059912a631a74723746145e7e; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 87dbfe2b392df9621f6e522e5fa6fb8849ca92ab; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 183e7329d41d7a8e298f48b6b0eb81102a8654de; \>= e70b8dd26711704b1ff1f1b4eb3d048ba69e29da, \< 7af317f7faaab09d5a78f24605057d11f5955115; Linux 6.8.

### Is there a fix for CVE-2025-38299?

Yes. Fixed in Linux 45bd023c7a4ec12059912a631a74723746145e7e, Linux 87dbfe2b392df9621f6e522e5fa6fb8849ca92ab, Linux 183e7329d41d7a8e298f48b6b0eb81102a8654de, Linux 7af317f7faaab09d5a78f24605057d11f5955115. Upgrade Linux to 7af317f7faaab09d5a78f24605057d11f5955115 or later.

### How do I check if I'm affected by CVE-2025-38299?

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/87dbfe2b392df9621f6e522e5fa6fb8849ca92ab>
- patch: <https://git.kernel.org/stable/c/183e7329d41d7a8e298f48b6b0eb81102a8654de>
- patch: <https://git.kernel.org/stable/c/7af317f7faaab09d5a78f24605057d11f5955115>
- other: <https://git.kernel.org/stable/c/45bd023c7a4ec12059912a631a74723746145e7e>

## 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-2025-38299>

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