CVE-2025-40098

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-40098
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40098.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40098
Downstream
Published
2025-10-30T09:48:05Z
Modified
2025-10-30T20:06:39.290747Z
Summary
ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_get_acpi_mute_state()
Details

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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
447106e92a0c86c332d40710436f38f64c322cd6
Fixed
b518386db2b993d786c431caa9f46ce063c5cb05
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
447106e92a0c86c332d40710436f38f64c322cd6
Fixed
8527bbb33936340525a3504a00932b2f8fd75754

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.15
v6.15-rc1
v6.15-rc2
v6.15-rc3
v6.15-rc4
v6.15-rc5
v6.15-rc6
v6.15-rc7
v6.16
v6.16-rc1
v6.16-rc2
v6.16-rc3
v6.16-rc4
v6.16-rc5
v6.16-rc6
v6.16-rc7
v6.17
v6.17-rc1
v6.17-rc2
v6.17-rc3
v6.17-rc4
v6.17-rc5
v6.17-rc6
v6.17-rc7
v6.17.1
v6.17.2
v6.17.3
v6.17.4
v6.6
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

vanir_signatures

[
    {
        "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"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.17.5