CVE-2025-40098

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux447106e92a0c86c332d40710436f38f64c322cd6 < b518386db2b993d786c431caa9f46ce063c5cb05affected
LinuxLinux447106e92a0c86c332d40710436f38f64c322cd6 < 8527bbb33936340525a3504a00932b2f8fd75754affected
LinuxLinux6.7affected
LinuxLinux0 < 6.7unaffected
LinuxLinux6.17.5 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References