CVE-2024-40964

Source
https://cve.org/CVERecord?id=CVE-2024-40964
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40964.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-40964
Downstream
Related
Published
2024-07-12T12:32:04Z
Modified
2026-08-12T03:30:08Z
Summary
ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()
Details

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()

The cs35l41_hda_unbind() function clears the hda_component entry matching it's index and then dereferences the codec pointer held in the first element of the hda_component array, this is an issue when the device index was 0.

Instead use the codec pointer stashed in the cs35l41_hda structure as it will still be valid.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40964.json"
}
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
7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1
Fixed
ff27bd8e17884f7cdefecb3f3817caadd6813dc0
Fixed
19be722369c347f3af1c5848e303980ed040b819
Fixed
6386682cdc8b41319c92fbbe421953e33a28840c

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40964.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.36
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40964.json"