CVE-2025-40097
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
30/10/2025
Last modified:
30/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ALSA: hda: Fix missing pointer check in hda_component_manager_init function<br />
<br />
The __component_match_add function may assign the &#39;matchptr&#39; pointer<br />
the value ERR_PTR(-ENOMEM), which will subsequently be dereferenced.<br />
<br />
The call stack leading to the error looks like this:<br />
<br />
hda_component_manager_init<br />
|-> component_match_add<br />
|-> component_match_add_release<br />
|-> __component_match_add ( ... ,**matchptr, ... )<br />
|-> *matchptr = ERR_PTR(-ENOMEM); // assign<br />
|-> component_master_add_with_match( ... match)<br />
|-> component_match_realloc(match, match->num); // dereference<br />
<br />
Add IS_ERR() check to prevent the crash.<br />
<br />
Found by Linux Verification Center (linuxtesting.org) with SVACE.



