CVE-2024-26694
JSON

7.8high

wifi: iwlwifi: fix double-free bug

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 5e31b3df86ec6fbb925eee77fe2c450099c61dff before ab9d4bb9a1892439b3123fc52b19e32b9cdf80ad, from 5e31b3df86ec6fbb925eee77fe2c450099c61dff before d24eb9a27bea8fe5237fa71be274391d9d51eff2, from 5e31b3df86ec6fbb925eee77fe2c450099c61dff before 353d321f63f7dbfc9ef58498cc732c9fe886a596, 6.4
Not affected: before 6.4, from 6.6.18 up to 6.6.*, from 6.7.6 up to 6.7.*, from 6.8 up to *
CVE List
linux linux_kernelfrom 6.4 before 6.6.18, from 6.7 before 6.7.6, 6.8NVD

Classification

CWE-415

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

What each source says

CVE List

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.

NVD (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.

References

Sources

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