CVE-2024-41056: firmware: cs_dsp: Use strnlen() on name fields in V1 wmfw files
In the Linux kernel, the following vulnerability has been resolved:
firmware: cs_dsp: Use strnlen() on name fields in V1 wmfw files
Use strnlen() instead of strlen() on the algorithm and coefficient name
string arrays in V1 wmfw files.
In V1 wmfw files the name is a NUL-terminated string in a fixed-size
array. cs_dsp should protect against overrunning the array if the NUL
terminator is missing.
Security readout for executives and security teams
Plain-English summary
A flaw in the Linux kernel’s Cirrus Logic DSP firmware parser can read beyond a fixed-size name field when processing malformed V1 wmfw firmware. A locally authenticated, low-privileged attacker may be able to cause serious confidentiality or availability impact. Exposure depends on whether the affected cs_dsp path and V1 wmfw files are used.
Executive priority
Treat this as a high-priority kernel maintenance issue on systems using the affected DSP firmware path. Accelerate remediation where local low-privileged users can influence firmware inputs. For other systems, verify applicability and incorporate the fixed kernel into the next controlled patch cycle.
Technical view
cs_dsp used strlen() on fixed-size algorithm and coefficient name arrays in V1 wmfw files. If a name lacked a NUL terminator, parsing could continue beyond the array boundary. The stable fix replaces strlen() with strnlen(), bounding the read. The supplied CVSS 3.1 score is 7.3 with local, low-privilege, no-interaction attack requirements.
Likely exposure
Potentially exposed systems run an affected Linux kernel, use the cs_dsp firmware subsystem, and process V1 wmfw files. The bundle identifies versions from 5.16 and affected stable-series releases, but does not provide complete distribution package mappings. Systems without this hardware or firmware path may not be practically exposed.
Exploitation context
The CVSS vector describes local access with low privileges, low complexity, and no user interaction. CISA KEV status is false in the supplied bundle, and no cited source establishes active exploitation. A malformed V1 wmfw file appears necessary, but the sources do not fully document how an attacker could introduce one.
Researcher notes
The defect is an out-of-bounds read caused by an unterminated string in a fixed-size V1 wmfw field. The patch bounds algorithm and coefficient name reads with strnlen(). The source bundle supplies four stable commits but does not map each commit to a branch or identify exact distribution package versions. No exploitation evidence or exploitability proof is provided.
Mitigation direction
Install a vendor-supported kernel containing the cited stable fix for the deployed branch.
Consult the operating-system vendor for exact fixed package versions and reboot requirements.
Restrict untrusted users or processes from supplying or modifying DSP firmware files.
Prioritize systems that actively use Cirrus Logic DSP hardware and V1 wmfw firmware.
Validation and detection
Inventory kernel versions and compare them with vendor advisories for CVE-2024-41056.
Determine whether affected systems load V1 wmfw files through the cs_dsp subsystem.
Confirm the installed kernel includes the relevant stable-branch fix.
After updating, verify the fixed kernel is running following any required reboot.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-41056 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.