CVE-2025-40097: ALSA: hda: Fix missing pointer check in hda_component_manager_init function
ALSA: hda: Fix missing pointer check in hdacomponentmanagerinit function
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-aws-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1007.7~24.04.1 - Upgrade
Upgrade
ubuntu/linux-gcp-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1008.8~24.04.1 - Upgrade
Upgrade
ubuntu/linux-nvidia-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1008.8 - Upgrade
Upgrade
ubuntu/linux-oem-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1011.11 - Upgrade
Upgrade
ubuntu/linux-oracle-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1007.7~24.04.1 - Upgrade
Upgrade
ubuntu/linux-realtime-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1006.7~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 6.17.0-14.14 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 6.17.0-1007.7 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 6.17.0-1008.8 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 6.17.0-1007.7 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 6.17.0-1007.7 - Upgrade
Upgrade
ubuntu/linux-raspito a version that resolves this vulnerability.Fixed in 6.17.0-1008.8 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 6.17.0-1006.7 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 6.17.0-14.14.1 - Compensating control
Add an IS_ERR() check in hda_component_manager_init before dereferencing the match pointer returned through component_match_add, to handle ERR_PTR(-ENOMEM) and prevent the crash.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-40097?
CVE-2025-40097 has a severity level that reflects the potential for exploitation due to a dereference of a potentially null pointer.
How do I fix CVE-2025-40097?
To fix CVE-2025-40097, you should update your Linux kernel to a version that has addressed this vulnerability.
What systems are affected by CVE-2025-40097?
CVE-2025-40097 affects the Linux kernel, specifically versions susceptible to the ALSA component manager issue.
Can CVE-2025-40097 be exploited remotely?
Exploitation of CVE-2025-40097 typically requires local access to the system, making remote exploitation unlikely.
What are the potential impacts of CVE-2025-40097?
The potential impacts of CVE-2025-40097 include system instability and crashes due to dereferencing a null pointer.