firmware: cs_dsp: Return error if block header overflows file
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's cs_dsp firmware loader did not return an error when a block header extended beyond the data remaining in a file. A malformed file could therefore be processed without that error; the input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running the Linux kernel should check their versions; affected versions are not specified in the input.