firmware: cs_dsp: Return error if block header overflows file
In the Linux kernel, the following vulnerability has been resolved: firmware: cs_dsp: Return error if block header overflows file Return an error from cs_dsp_power_up() if a block header is longer than the amount of data left in the file. The previous code in cs_dsp_load() and cs_dsp_load_coeff() would loop while there was enough data left in the file for a valid region. This protected against overrunning the end of the file data, but it didn't abort the file processing with an error.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.100, 6.6.41, 6.9.10
- CVEs
- CVE-2024-42238
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 02:52 UTC · Revision 1
Source evidence
firmware: cs_dsp: Return error if block header overflows file
core-osv · Original sourcePublished 7 Aug 2024, 15:14 UTC
In the Linux kernel, the following vulnerability has been resolved: firmware: cs_dsp: Return error if block header overflows file Return an error from cs_dsp_power_up() if a block header is longer than the amount of data left in the file. The previous code in cs_dsp_load() and cs_dsp_load_coeff() would loop while there was enough data left in the file for a valid region. This protected against overrunning the end of the file data, but it didn't abort the file processing with an error.
osv:CVE-2024-42238
Kernel
Fixed versions: 6.1.100, 6.6.41, 6.9.10
Complete source record
{
"id": "eb31cffc83fb06a622b60516c2f76a65f9733fa1600b3a2eb7a64438a5c71769",
"url": "https://osv.dev/vulnerability/CVE-2024-42238",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "firmware: cs_dsp: Return error if block header overflows file",
"summary": "In the Linux kernel, the following vulnerability has been resolved: firmware: cs_dsp: Return error if block header overflows file Return an error from cs_dsp_power_up() if a block header is longer than the amount of data left in the file. The previous code in cs_dsp_load() and cs_dsp_load_coeff() would loop while there was enough data left in the file for a valid region. This protected against overrunning the end of the file data, but it didn't abort the file processing with an error.",
"evidence": "osv:CVE-2024-42238",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.100",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.41",
"evidence": "/affected/1/ranges"
},
{
"value": "6.9.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-42238",
"aliases": [
"CVE-2024-42238"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "f6bc909e7673c30abcbdb329e7d0aa2e83c103d7"
},
{
"fixed": "b8be70566b33abbd0180105070b4c67cfef8c44f"
},
{
"fixed": "90ab191b7d181057d71234e8632e06b5844ac38e"
},
{
"fixed": "6eabd23383805725eff416c203688b7a390d4153"
},
{
"fixed": "959fe01e85b7241e3ec305d657febbe82da16a02"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42238.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.100"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.41"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.9.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42238.json"
}
}
],
"modified": "2026-10-28T02:30:33.034211238Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/6eabd23383805725eff416c203688b7a390d4153",
"https://git.kernel.org/stable/c/90ab191b7d181057d71234e8632e06b5844ac38e",
"https://git.kernel.org/stable/c/959fe01e85b7241e3ec305d657febbe82da16a02",
"https://git.kernel.org/stable/c/b8be70566b33abbd0180105070b4c67cfef8c44f",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42238.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-42238",
"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/42xxx/CVE-2024-42238.json"
}
},
"related_cves": [
{
"value": "CVE-2024-42238",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 499824,
"published_at": "2024-08-07T15:14:26.812+00:00"
}