CVE-2024-41056

firmware: cs_dsp: Use strnlen() on name fields in V1 wmfw files

State
Published
Severity
7.3 High
Published
Jul 29, 2024
Updated
Aug 5, 2026
Reserved
Jul 12, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 to before 16d76857d6b5426f41b587d0bb925de3f25bfb21Affected
  • f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 to before 392cff2f86a25a4286ff3151c7739143c61c1781Affected
  • f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 to before 53a9f8cdbf35a682e9894e1a606f4640e5359185Affected
  • f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 to before 680e126ec0400f6daecf0510c5bb97a55779ff03Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.100 through 6.1.*Not affected
  • 6.6.41 through 6.6.*Not affected
  • 6.9.10 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.