Kernel crash via unchecked ALSA error pointer
Published Oct 30, 2025 · Updated Oct 30, 2025
Error-pointer dereference in the ALSA HDA component manager in Linux 5.17 allows attackers to crash the kernel via allocation failure. hda_component_manager_init passes an ERR_PTR(-ENOMEM) match pointer into component_master_add_with_match, where component_match_realloc dereferences it without an error check. The public record identifies no attacker-controlled trigger or required privileges; reaching the allocation-failure path during component initialization causes a kernel crash.
Summary
What happened
Error-pointer dereference in the ALSA HDA component manager in Linux 5.17 allows attackers to crash the kernel via allocation failure. hda_component_manager_init passes an ERR_PTR(-ENOMEM) match pointer into component_master_add_with_match, where component_match_realloc dereferences it without an error check. The public record identifies no attacker-controlled trigger or required privileges; reaching the allocation-failure path during component initialization causes a kernel crash.
The record
- CVE
- CVE-2025-40097
- Published
- Oct 30, 2025
- Updated
- Oct 30, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Oct 30, 2025CVE publishedPublication date reported by the CVE source.
- Oct 30, 2025Record 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=5.17
- Affected versionversion=ae7abe36e352eddf8e30d3b1ea3fb402514ba13b <1cf11d80db5df805b538c942269e05a65bcaf5bc
- Affected versionversion=ae7abe36e352eddf8e30d3b1ea3fb402514ba13b <47d1b9ca923b55c3f407788f1f15b04957e0e027
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
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
No sourced classifications are available.
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