← CVE Intelligence

CVE-2025-40098

ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_get_acpi_mute_state() PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_get_acpi_mute_state() Return value of a function acpi_evaluate_dsm() is dereferenced without checking for NULL, but it is usually checked for this function. acpi_evaluate_dsm() may return NULL, when acpi_evaluate_object() returns acpi_status other than ACPI_SUCCESS, so add a check to prevent the crach. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 447106e92a0c86c332d40710436f38f64c322cd6 before 19129a365d2bd019fb60662b36b2655931997f12; affected 447106e92a0c86c332d40710436f38f64c322cd6 before b518386db2b993d786c431caa9f46ce063c5cb05; affected 447106e92a0c86c332d40710436f38f64c322cd6 before 8527bbb33936340525a3504a00932b2f8fd75754
Linux / Linuxaffected 6.7; unaffected 0 before 6.7; unaffected 6.12.101 through 6.12.*; unaffected 6.17.5 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References