CVE-2025-40098
ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_get_acpi_mute_state()
Check your servers for CVE-2025-40098
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40098 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 447106e92a0c86c332d40710436f38f64c322cd6, before 19129a365d2bd019fb60662b36b2655931997f12 affected from 447106e92a0c86c332d40710436f38f64c322cd6, before b518386db2b993d786c431caa9f46ce063c5cb05 affected from 447106e92a0c86c332d40710436f38f64c322cd6, before 8527bbb33936340525a3504a00932b2f8fd75754
Other versions: unaffected
|
| Linux |
affected 6.7 unaffected before 6.7 unaffected from 6.12.101 up to and including 6.12.* unaffected from 6.17.5 up to and including 6.17.* unaffected 6.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40098 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40098
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-40098
trivy image --scanners vuln IMAGE | grep CVE-2025-40098
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/19129a365d2bd019fb60662b36b2655931997f12 git.kernel.org
- https://git.kernel.org/stable/c/b518386db2b993d786c431caa9f46ce063c5cb05 git.kernel.org
- https://git.kernel.org/stable/c/8527bbb33936340525a3504a00932b2f8fd75754 git.kernel.org
Source: the record CVE-2025-40098 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse