ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.6.36, 6.9.7
- CVEs
- CVE-2024-40964
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 00:36 UTC · Revision 1
Source evidence
ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()
core-osv · Original sourcePublished 12 Jul 2024, 12:32 UTC
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.
osv:CVE-2024-40964
Kernel
Fixed versions: 6.6.36, 6.9.7
Complete source record
{
"id": "ea24a0d93817a189c29cb4caf8afd2d4e04f610d281b409fbc5be394bce8b6be",
"url": "https://osv.dev/vulnerability/CVE-2024-40964",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()",
"summary": "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.",
"evidence": "osv:CVE-2024-40964",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.36",
"evidence": "/affected/1/ranges"
},
{
"value": "6.9.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-40964",
"aliases": [
"CVE-2024-40964"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1"
},
{
"fixed": "ff27bd8e17884f7cdefecb3f3817caadd6813dc0"
},
{
"fixed": "19be722369c347f3af1c5848e303980ed040b819"
},
{
"fixed": "6386682cdc8b41319c92fbbe421953e33a28840c"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40964.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.6.0"
},
{
"fixed": "6.6.36"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.9.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40964.json"
}
}
],
"modified": "2026-10-28T02:30:45.819354883Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/19be722369c347f3af1c5848e303980ed040b819",
"https://git.kernel.org/stable/c/6386682cdc8b41319c92fbbe421953e33a28840c",
"https://git.kernel.org/stable/c/ff27bd8e17884f7cdefecb3f3817caadd6813dc0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40964.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-40964",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40964.json"
}
},
"related_cves": [
{
"value": "CVE-2024-40964",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 513541,
"published_at": "2024-07-12T12:32:04.72+00:00"
}