{"id":"CVE-2024-42238","state":"PUBLISHED","title":"firmware: cs_dsp: Return error if block header overflows file","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: cs_dsp: Return error if block header overflows file\n\nReturn an error from cs_dsp_power_up() if a block header is longer\nthan the amount of data left in the file.\n\nThe previous code in cs_dsp_load() and cs_dsp_load_coeff() would loop\nwhile there was enough data left in the file for a valid region. This\nprotected against overrunning the end of the file data, but it didn't\nabort the file processing with an error.","publishedAt":"2024-08-07T15:14:26.812Z","updatedAt":"2026-05-11T20:28:28.677Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f6bc909e7673c30abcbdb329e7d0aa2e83c103d7","status":"affected","lessThan":"b8be70566b33abbd0180105070b4c67cfef8c44f","versionType":"git"},{"version":"f6bc909e7673c30abcbdb329e7d0aa2e83c103d7","status":"affected","lessThan":"90ab191b7d181057d71234e8632e06b5844ac38e","versionType":"git"},{"version":"f6bc909e7673c30abcbdb329e7d0aa2e83c103d7","status":"affected","lessThan":"6eabd23383805725eff416c203688b7a390d4153","versionType":"git"},{"version":"f6bc909e7673c30abcbdb329e7d0aa2e83c103d7","status":"affected","lessThan":"959fe01e85b7241e3ec305d657febbe82da16a02","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/cirrus/cs_dsp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.100","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.41","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.10","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/cirrus/cs_dsp.c"]}],"references":["https://git.kernel.org/stable/c/b8be70566b33abbd0180105070b4c67cfef8c44f","https://git.kernel.org/stable/c/90ab191b7d181057d71234e8632e06b5844ac38e","https://git.kernel.org/stable/c/6eabd23383805725eff416c203688b7a390d4153","https://git.kernel.org/stable/c/959fe01e85b7241e3ec305d657febbe82da16a02","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/42xxx/CVE-2024-42238.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-42238","state":"PUBLISHED","datePublished":"2024-08-07T15:14:26.812Z","dateUpdated":"2026-05-11T20:28:28.677Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-07-30T07:40:12.253Z"},"containers":{"cna":{"title":"firmware: cs_dsp: Return error if block header overflows file","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: cs_dsp: Return error if block header overflows file\n\nReturn an error from cs_dsp_power_up() if a block header is longer\nthan the amount of data left in the file.\n\nThe previous code in cs_dsp_load() and cs_dsp_load_coeff() would loop\nwhile there was enough data left in the file for a valid region. This\nprotected against overrunning the end of the file data, but it didn't\nabort the file processing with an error."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f6bc909e7673c30abcbdb329e7d0aa2e83c103d7","status":"affected","lessThan":"b8be70566b33abbd0180105070b4c67cfef8c44f","versionType":"git"},{"version":"f6bc909e7673c30abcbdb329e7d0aa2e83c103d7","status":"affected","lessThan":"90ab191b7d181057d71234e8632e06b5844ac38e","versionType":"git"},{"version":"f6bc909e7673c30abcbdb329e7d0aa2e83c103d7","status":"affected","lessThan":"6eabd23383805725eff416c203688b7a390d4153","versionType":"git"},{"version":"f6bc909e7673c30abcbdb329e7d0aa2e83c103d7","status":"affected","lessThan":"959fe01e85b7241e3ec305d657febbe82da16a02","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/cirrus/cs_dsp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.100","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.41","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.10","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/cirrus/cs_dsp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b8be70566b33abbd0180105070b4c67cfef8c44f"},{"url":"https://git.kernel.org/stable/c/90ab191b7d181057d71234e8632e06b5844ac38e"},{"url":"https://git.kernel.org/stable/c/6eabd23383805725eff416c203688b7a390d4153"},{"url":"https://git.kernel.org/stable/c/959fe01e85b7241e3ec305d657febbe82da16a02"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:28:28.677Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.100"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.6.41"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.9.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-42238","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:13:57.707205Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:34:31.911Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:02:40.669Z"}}]}}}