CVE-2025-38299
BaseFortify
Publication date: 2025-07-10
Last updated on: 2025-11-19
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a flaw in the Linux kernel's ASoC mediatek mt8195 driver where certain audio links (ETDM1/2 IN/OUT) were not properly assigned to dummy components when the device tree did not specify a codec. This caused a NULL pointer dereference leading to a kernel crash (panic) when the system tried to access a null codec dai_name, resulting in an internal error and system instability.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash due to a NULL pointer dereference when the device tree does not assign a codec to specific audio links. This results in system instability, unexpected reboots, or denial of service on affected devices using the mediatek mt8195 audio driver.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring the system logs for kernel NULL pointer dereference errors related to the mediatek mt8195 sound card driver. Specifically, look for kernel messages indicating crashes or 'Oops' errors with references to mt8195_mt6359_soc_card_probe or __pi_strcmp functions. Commands such as 'dmesg | grep -i mt8195' or 'journalctl -k | grep -i oops' can help identify these errors.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include updating the Linux kernel to a version where this vulnerability is resolved, as the issue is fixed by setting ETDM1/2 IN/OUT to COMP_DUMMY() to avoid crashes when the device tree does not assign a codec. If updating is not immediately possible, avoid using affected hardware configurations or disable the mediatek mt8195 sound card driver until a patch is applied.