CVE-2024-26927
JSON

8.4high

ASoC: SOF: Add some bounds checking to firmware data

Severity
8.4high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom d2458baa799fff377660d86323dd20a3f4deecb4 before d133d67e7e724102d1e53009c4f88afaaf3e167c, from d2458baa799fff377660d86323dd20a3f4deecb4 before ced7df8b3c5c4751244cad79011e86cf1f809153, from d2458baa799fff377660d86323dd20a3f4deecb4 before 044e220667157fb9d59320341badec59cf45ba48, from d2458baa799fff377660d86323dd20a3f4deecb4 before 9eeb8e1231f6450c574c1db979122e171a1813ab, from d2458baa799fff377660d86323dd20a3f4deecb4 before 98f681b0f84cfc3a1d83287b77697679e0398306, 5.19
Not affected: before 5.19, from 6.1.83 up to 6.1.*, from 6.6.23 up to 6.6.*, from 6.7.11 up to 6.7.*, from 6.8.2 up to 6.8.*, from 6.9 up to *
CVE List
linux linux_kernel5.19, d2458baa799f, from 5.19 before 6.1.83, from 6.2 before 6.6.23, from 6.7 before 6.7.11, from 6.8 before 6.8.2CVE List, NVD

Classification

CWE-120

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ASoC: SOF: agregue algunas comprobaciones de los límites a los datos del firmware. Smatch se queja de que "head->full_size - head->header_size" puede desbordarse. Hasta cierto punto, siempre vamos a tener que confiar un poco en el firmware. Sin embargo, es bastante fácil agregar una verificación de negativos y agreguemos también una verificación de los límites superiores.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-26927 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-26927 changed 2026-06-17Public domain