CVE-2024-42238 Details
Description
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.
A vulnerability in the Linux kernel's handling of firmware for Cirrus Logic DSPs can lead to a block header overflow. The issue arises in the 'cs_dsp' driver, where the function 'cs_dsp_power_up()' fails to properly manage block headers that exceed the available data in the file. Although the previous implementation in 'cs_dsp_load()' and 'cs_dsp_load_coeff()' prevented reading beyond the end of the file, it did not terminate the processing with an error when a header overflow was imminent. This vulnerability affects several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel, which includes the necessary fix. Instructions for upgrading can be found in the Debian LTS advisory DLA-4008-1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.16, < 6.1.100 >= 6.2, < 6.6.41 >= 6.7, < 6.9.10 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 8, 2024 | Initial Analysis | [email protected] |
| Aug 7, 2024 | New CVE Received | kernel.org |