CVE-2024-26927

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

21 Mar 2025, 14:50

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/044e220667157fb9d59320341badec59cf45ba48 - () https://git.kernel.org/stable/c/044e220667157fb9d59320341badec59cf45ba48 - Patch
References () https://git.kernel.org/stable/c/98f681b0f84cfc3a1d83287b77697679e0398306 - () https://git.kernel.org/stable/c/98f681b0f84cfc3a1d83287b77697679e0398306 - Patch
References () https://git.kernel.org/stable/c/9eeb8e1231f6450c574c1db979122e171a1813ab - () https://git.kernel.org/stable/c/9eeb8e1231f6450c574c1db979122e171a1813ab - Patch
References () https://git.kernel.org/stable/c/ced7df8b3c5c4751244cad79011e86cf1f809153 - () https://git.kernel.org/stable/c/ced7df8b3c5c4751244cad79011e86cf1f809153 - Patch
References () https://git.kernel.org/stable/c/d133d67e7e724102d1e53009c4f88afaaf3e167c - () https://git.kernel.org/stable/c/d133d67e7e724102d1e53009c4f88afaaf3e167c - Patch

21 Nov 2024, 09:03

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/044e220667157fb9d59320341badec59cf45ba48 - () https://git.kernel.org/stable/c/044e220667157fb9d59320341badec59cf45ba48 -
References () https://git.kernel.org/stable/c/98f681b0f84cfc3a1d83287b77697679e0398306 - () https://git.kernel.org/stable/c/98f681b0f84cfc3a1d83287b77697679e0398306 -
References () https://git.kernel.org/stable/c/9eeb8e1231f6450c574c1db979122e171a1813ab - () https://git.kernel.org/stable/c/9eeb8e1231f6450c574c1db979122e171a1813ab -
References () https://git.kernel.org/stable/c/ced7df8b3c5c4751244cad79011e86cf1f809153 - () https://git.kernel.org/stable/c/ced7df8b3c5c4751244cad79011e86cf1f809153 -
References () https://git.kernel.org/stable/c/d133d67e7e724102d1e53009c4f88afaaf3e167c - () https://git.kernel.org/stable/c/d133d67e7e724102d1e53009c4f88afaaf3e167c -

03 Jul 2024, 01:50

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.4
Summary
  • (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.
CWE CWE-120

28 Apr 2024, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-28 12:15

Updated : 2025-03-21 14:50


NVD link : CVE-2024-26927

Mitre link : CVE-2024-26927

CVE.ORG link : CVE-2024-26927


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')