CVE-2024-26927

ASoC: SOF: Add some bounds checking to firmware data

State
Published
Severity
8.4 High
Published
Apr 28, 2024
Updated
May 11, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: SOF: Add some bounds checking to firmware data

Smatch complains about "head->full_size - head->header_size" can underflow. To some extent, we're always going to have to trust the firmware a bit. However, it's easy enough to add a check for negatives, and let's add a upper bounds check as well.

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Affected Products

ProductVersions
LinuxLinux
  • d2458baa799fff377660d86323dd20a3f4deecb4 to before d133d67e7e724102d1e53009c4f88afaaf3e167cAffected
  • d2458baa799fff377660d86323dd20a3f4deecb4 to before ced7df8b3c5c4751244cad79011e86cf1f809153Affected
  • d2458baa799fff377660d86323dd20a3f4deecb4 to before 044e220667157fb9d59320341badec59cf45ba48Affected
  • d2458baa799fff377660d86323dd20a3f4deecb4 to before 9eeb8e1231f6450c574c1db979122e171a1813abAffected
  • d2458baa799fff377660d86323dd20a3f4deecb4 to before 98f681b0f84cfc3a1d83287b77697679e0398306Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8.2 through 6.8.*Not affected
  • 6.9 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.