{"id":"CVE-2024-42238","summary":"firmware: cs_dsp: Return error if block header overflows file","details":"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.","modified":"2026-03-20T12:38:44.159996Z","published":"2024-08-07T15:14:26.812Z","related":["ALSA-2024:7000","ALSA-2024:7001","SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42238.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6eabd23383805725eff416c203688b7a390d4153"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90ab191b7d181057d71234e8632e06b5844ac38e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/959fe01e85b7241e3ec305d657febbe82da16a02"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8be70566b33abbd0180105070b4c67cfef8c44f"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42238.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42238"},{"type":"PACKAGE","url":"https://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":"f6bc909e7673c30abcbdb329e7d0aa2e83c103d7"},{"fixed":"b8be70566b33abbd0180105070b4c67cfef8c44f"},{"fixed":"90ab191b7d181057d71234e8632e06b5844ac38e"},{"fixed":"6eabd23383805725eff416c203688b7a390d4153"},{"fixed":"959fe01e85b7241e3ec305d657febbe82da16a02"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42238.json"}}],"schema_version":"1.7.5"}