CVE-2025-40097 Details
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.
A vulnerability exists in the Linux kernel's ALSA HDA component manager initialization function. The issue arises because the __component_match_add function can assign the 'matchptr' pointer an error value indicating memory allocation failure. This error value is then dereferenced, leading to a potential crash. The vulnerability has been addressed by adding a check to verify that the pointer does not contain an error before dereferencing it.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux Kernel Archives.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1cf11d80db5df805b538c942269e05a65bcaf5bc | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/218a8504e62fc2c8a1fd12523346b7a2b9bd2474 | kernel.org | |
| https://git.kernel.org/stable/c/47d1b9ca923b55c3f407788f1f15b04957e0e027 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 24, 2025 | CVE Modified | kernel.org |
| Oct 30, 2025 | New CVE Received | kernel.org |
Volerion