CVE Catalog

CVE-2025-40097

Low risk· EPSS 9%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.20%

9th percentile - higher than 9% of all known CVEs

Summary

In the Linux kernel, the hda_component_manager_init function in the ALSA HDA subsystem does not check the pointer returned by __component_match_add, which may be set to ERR_PTR(-ENOMEM). This pointer is subsequently dereferenced, leading to a kernel oops.

Risk Assessment

A local attacker or hardware fault could trigger a kernel crash and denial of service (DoS) on systems with the affected HDA sound card. In multi-tenant environments this could be used to destabilize the server.

Recommendation

Update the Linux kernel to a version containing the fix that adds an IS_ERR() check in hda_component_manager_init. If updating is not possible, consider restricting access to HDA sound devices.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS