CVE-2025-40097

CVE-2025-40097

published October 30, 2025

CVSS
—
EPSS
0%
Percentile
9.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00199 · 9.2th percentile
Published
2025-10-30T14:15Z
References (5)
EPSS history
Timeline
  • 30 OCT 09:48Z
    ALSA: hda: Fix missing pointer check in hda_component_manager_init function
    cvelistv5