CVE
CVE-2024-26927
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 6.8, < 6.8.2Fixed in 6.8.2
- ≥ 6.7, < 6.7.11Fixed in 6.7.11
- ≥ 6.2, < 6.6.23Fixed in 6.6.23
- ≥ 5.19, < 6.1.83Fixed in 6.1.83
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/044e220667157fb9d59320341badec59cf45ba48 · Patch
- git.kernel.org/stable/c/98f681b0f84cfc3a1d83287b77697679e0398306 · Patch
- git.kernel.org/stable/c/9eeb8e1231f6450c574c1db979122e171a1813ab · Patch
- git.kernel.org/stable/c/ced7df8b3c5c4751244cad79011e86cf1f809153 · Patch
- git.kernel.org/stable/c/d133d67e7e724102d1e53009c4f88afaaf3e167c · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.