In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41getacpimutestate()
Return value of a function acpievaluatedsm() is dereferenced without checking for NULL, but it is usually checked for this function.
acpievaluatedsm() may return NULL, when acpievaluateobject() returns acpistatus other than ACPISUCCESS, so add a check to prevent the crach.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b518386db2b993d786c431caa9f46ce063c5cb05",
"target": {
"function": "cs35l41_get_acpi_mute_state",
"file": "sound/hda/codecs/side-codecs/cs35l41_hda.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2025-40098-0147b42b",
"digest": {
"length": 434.0,
"function_hash": "64221545902450254400036262390744321579"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8527bbb33936340525a3504a00932b2f8fd75754",
"target": {
"file": "sound/hda/codecs/side-codecs/cs35l41_hda.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2025-40098-078ad95e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"339608079227622060182966740515642860224",
"184692692953255634374101352930439599431",
"38638149283609177334327656582948734091",
"33853038828281509554590078074362356076"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b518386db2b993d786c431caa9f46ce063c5cb05",
"target": {
"file": "sound/hda/codecs/side-codecs/cs35l41_hda.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2025-40098-70c5c5c3",
"digest": {
"threshold": 0.9,
"line_hashes": [
"339608079227622060182966740515642860224",
"184692692953255634374101352930439599431",
"38638149283609177334327656582948734091",
"33853038828281509554590078074362356076"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8527bbb33936340525a3504a00932b2f8fd75754",
"target": {
"function": "cs35l41_get_acpi_mute_state",
"file": "sound/hda/codecs/side-codecs/cs35l41_hda.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2025-40098-9c484d9c",
"digest": {
"length": 434.0,
"function_hash": "64221545902450254400036262390744321579"
},
"signature_type": "Function"
}
]