CVE-2025-40097
ALSA: hda: Fix missing pointer check in hda_component_manager_init function
Mitigation
- Upgrade Linux to 1cf11d80db5df805b538c942269e05a65bcaf5bc or later.
Who should check
- Anyone running Linux >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < b044aa6ae63391ba40c93ca5d476d276cb17db1b; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 1c3f4b15eb1850558d7d4da74b98cffbb8121721; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 218a8504e62fc2c8a1fd12523346b7a2b9bd2474; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 47d1b9ca923b55c3f407788f1f15b04957e0e027; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 1cf11d80db5df805b538c942269e05a65bcaf5bc
- Anyone running Linux 5.17
Vulnerability facts
- Affected
- Linux >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < b044aa6ae63391ba40c93ca5d476d276cb17db1b; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 1c3f4b15eb1850558d7d4da74b98cffbb8121721; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 218a8504e62fc2c8a1fd12523346b7a2b9bd2474; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 47d1b9ca923b55c3f407788f1f15b04957e0e027; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 1cf11d80db5df805b538c942269e05a65bcaf5bc; Linux 5.17
- Fixed in
- Linux 1c3f4b15eb1850558d7d4da74b98cffbb8121721, Linux 218a8504e62fc2c8a1fd12523346b7a2b9bd2474, Linux 47d1b9ca923b55c3f407788f1f15b04957e0e027, Linux 1cf11d80db5df805b538c942269e05a65bcaf5bc
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: Fix missing pointer check in hda_component_manager_init function The __component_match_add function may assign the 'matchptr' pointer the value ERR_PTR(-ENOMEM), which will subsequently be dereferenced. The call stack leading to the error looks like this: hda_component_manager_init |-> component_match_add |-> component_match_add_release |-> __component_match_add ( ... ,**matchptr, ... ) |-> *matchptr = ERR_PTR(-ENOMEM); // assign |-> component_master_add_with_match( ... match) |-> component_match_realloc(match, match->num); // dereference Add IS_ERR() check to prevent the crash. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < b044aa6ae63391ba40c93ca5d476d276cb17db1b; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 1c3f4b15eb1850558d7d4da74b98cffbb8121721; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 218a8504e62fc2c8a1fd12523346b7a2b9bd2474; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 47d1b9ca923b55c3f407788f1f15b04957e0e027; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 1cf11d80db5df805b538c942269e05a65bcaf5bc | — | cvelist |
| Linux | 5.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40097. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40097.md Affected: Linux >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < b044aa6ae63391ba40c93ca5d476d276cb17db1b; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 1c3f4b15eb1850558d7d4da74b98cffbb8121721; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 218a8504e62fc2c8a1fd12523346b7a2b9bd2474; >= ae7abe36e352eddf8e30d3b… Fixed in: Linux 1c3f4b15eb1850558d7d4da74b98cffbb8121721, Linux 218a8504e62fc2c8a1fd12523346b7a2b9bd2474, Linux 47d1b9ca923b55c3f407788f1f15b04957e0e027, Linux 1cf11d80db5df805b538c942269e05a65bcaf5bc 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.
References
Other
- https://git.kernel.org/stable/c/b044aa6ae63391ba40c93ca5d476d276cb17db1b
- https://git.kernel.org/stable/c/1c3f4b15eb1850558d7d4da74b98cffbb8121721
- https://git.kernel.org/stable/c/218a8504e62fc2c8a1fd12523346b7a2b9bd2474
- https://git.kernel.org/stable/c/47d1b9ca923b55c3f407788f1f15b04957e0e027
- https://git.kernel.org/stable/c/1cf11d80db5df805b538c942269e05a65bcaf5bc
FAQ
Is CVE-2025-40097 being exploited?
There is no confirmed exploitation: CVE-2025-40097 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40097?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2025-40097?
Linux >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < b044aa6ae63391ba40c93ca5d476d276cb17db1b; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 1c3f4b15eb1850558d7d4da74b98cffbb8121721; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 218a8504e62fc2c8a1fd12523346b7a2b9bd2474; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 47d1b9ca923b55c3f407788f1f15b04957e0e027; >= ae7abe36e352eddf8e30d3b1ea3fb402514ba13b, < 1cf11d80db5df805b538c942269e05a65bcaf5bc; Linux 5.17.
Is there a fix for CVE-2025-40097?
Yes. Fixed in Linux 1c3f4b15eb1850558d7d4da74b98cffbb8121721, Linux 218a8504e62fc2c8a1fd12523346b7a2b9bd2474, Linux 47d1b9ca923b55c3f407788f1f15b04957e0e027, Linux 1cf11d80db5df805b538c942269e05a65bcaf5bc. Upgrade Linux to 1cf11d80db5df805b538c942269e05a65bcaf5bc or later.
How do I check if I'm affected by CVE-2025-40097?
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.