Kernel panic via uninitialized dummy codec dereference
Published Dec 28, 2024 · Updated May 11, 2026
NULL pointer dereference in MediaTek ASoC drivers in affected Linux kernels allows attackers to panic the kernel during sound-card probe. The mt8188 and mt8195 probe paths pass an uninitialized dummy codec's null dai_name pointer to strcmp() without first verifying that num_codecs is nonzero. Reachability requires an affected MediaTek sound driver and a Devicetree dai link that omits either its subnode or codec property.
Summary
What happened
NULL pointer dereference in MediaTek ASoC drivers in affected Linux kernels allows attackers to panic the kernel during sound-card probe. The mt8188 and mt8195 probe paths pass an uninitialized dummy codec's null dai_name pointer to strcmp() without first verifying that num_codecs is nonzero. Reachability requires an affected MediaTek sound driver and a Devicetree dai link that omits either its subnode or codec property.
The record
- CVE
- CVE-2024-56685
- Published
- Dec 28, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-908, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 28, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=13f58267cda3d6946c8f4de368ad5d4a003baa61 <2f2020327cc8561d7c520d2f2d9acea84fa7b3a3
- Affected versionversion=13f58267cda3d6946c8f4de368ad5d4a003baa61 <376f4800f34a28def026ff5c5d4fc5e54e1744ff
- Affected versionversion=13f58267cda3d6946c8f4de368ad5d4a003baa61 <550279449ff54c5aa28cfca5c567308cbfb145f0
- Affected versionversion=6.8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo