CVEvulnerability

CVE-2024-42237

5.5 MEDIUM Published 2024-08-07 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-08-07
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-834

Description

In the Linux kernel, the following vulnerability has been resolved: firmware: cs_dsp: Validate payload length before processing block Move the payload length check in cs_dsp_load() and cs_dsp_coeff_load() to be done before the block is processed. The check that the length of a block payload does not exceed the number of remaining bytes in the firwmware file buffer was being done near the end of the loop iteration. However, some code before that check used the length field without validating it.

Affected configurations

• linux linux kernel (< 5.16) • linux linux kernel (>= 5.17 < 6.1.100) • linux linux kernel (>= 6.2 < 6.6.41) • linux linux kernel (>= 6.7 < 6.9.10)

Related

Weakness · CWE (1)

  • CWE-834 Excessive Iteration weakness

References