CVE-2025-40097
BaseFortify
Publication date: 2025-10-30
Last updated on: 2025-11-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a missing pointer check in the Linux kernel's ALSA hda_component_manager_init function. Specifically, the __component_match_add function may assign the 'matchptr' pointer the value ERR_PTR(-ENOMEM), which indicates an error due to memory allocation failure. However, this pointer is later dereferenced without checking if it contains an error value, leading to a potential crash. The fix involves adding an IS_ERR() check to prevent dereferencing an error pointer and thus avoid the crash.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash due to dereferencing an invalid pointer when handling ALSA hda component initialization. Such a crash can lead to system instability or denial of service, affecting the availability of the system or audio components relying on ALSA.
What immediate steps should I take to mitigate this vulnerability?
Apply the patch or update to the fixed version of the Linux kernel that includes the fix for the missing pointer check in the hda_component_manager_init function. This fix adds an IS_ERR() check to prevent the crash caused by dereferencing ERR_PTR(-ENOMEM).