CVE-2024-26694

In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: fix double-free bug The storage for the TLV PC register data wasn't done like all the other storage in the drv->fw area, which is cleared at the end of deallocation. Therefore, the freeing must also be done differently, explicitly NULL'ing it out after the free, since otherwise there's a nasty double-free bug here if a file fails to load after this has been parsed, and we get another free later (e.g. because no other file exists.) Fix that by adding the missing NULL assignment.
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:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*

History

07 Jan 2025, 20:53

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/353d321f63f7dbfc9ef58498cc732c9fe886a596 - () https://git.kernel.org/stable/c/353d321f63f7dbfc9ef58498cc732c9fe886a596 - Patch
References () https://git.kernel.org/stable/c/ab9d4bb9a1892439b3123fc52b19e32b9cdf80ad - () https://git.kernel.org/stable/c/ab9d4bb9a1892439b3123fc52b19e32b9cdf80ad - Patch
References () https://git.kernel.org/stable/c/d24eb9a27bea8fe5237fa71be274391d9d51eff2 - () https://git.kernel.org/stable/c/d24eb9a27bea8fe5237fa71be274391d9d51eff2 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CWE CWE-415
CPE cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
First Time Linux
Linux linux Kernel

21 Nov 2024, 09:02

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/353d321f63f7dbfc9ef58498cc732c9fe886a596 - () https://git.kernel.org/stable/c/353d321f63f7dbfc9ef58498cc732c9fe886a596 -
References () https://git.kernel.org/stable/c/ab9d4bb9a1892439b3123fc52b19e32b9cdf80ad - () https://git.kernel.org/stable/c/ab9d4bb9a1892439b3123fc52b19e32b9cdf80ad -
References () https://git.kernel.org/stable/c/d24eb9a27bea8fe5237fa71be274391d9d51eff2 - () https://git.kernel.org/stable/c/d24eb9a27bea8fe5237fa71be274391d9d51eff2 -
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: wifi: iwlwifi: corrige el error de doble liberación El almacenamiento de los datos de registro de PC TLV no se realizó como el resto del almacenamiento en el área drv->fw, que se borra en el fin de la desasignación. Por lo tanto, la liberación también debe realizarse de manera diferente, anulándolo explícitamente después de la liberación, ya que de lo contrario hay un desagradable error de doble liberación aquí si un archivo no se carga después de haber sido analizado y obtenemos otra liberación más tarde (por ejemplo porque no existe ningún otro archivo). Solucione el problema agregando la asignación NULL que falta.

03 Apr 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-03 15:15

Updated : 2025-01-07 20:53


NVD link : CVE-2024-26694

Mitre link : CVE-2024-26694

CVE.ORG link : CVE-2024-26694


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-415

Double Free