CVE-2024-50235
JSON

7.8high

wifi: cfg80211: clear wdev->cqm_config pointer on free

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

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: clear wdev->cqm_config pointer on free When we free wdev->cqm_config when unregistering, we also need to clear out the pointer since the same wdev/netdev may get re-registered in another network namespace, then destroyed later, running this code again, which results in a double-free.

Affected

Product or packageVersionsReported by
Linux Linuxfrom c797498e860e9a435a651bbf0789433684ce6dd8 before ba392e1355ba74b1d4fa11b85f71ab6ed7ecc058, from 37c20b2effe987b806c8de6d12978e4ffeff026f before 6c44abb2d4c3262737d5d67832daebc8cf48b8c9, from 37c20b2effe987b806c8de6d12978e4ffeff026f before 64e4c45d23cd7f6167f69cc2d2877bc7f54292e5, from 37c20b2effe987b806c8de6d12978e4ffeff026f before d5fee261dfd9e17b08b1df8471ac5d5736070917, 32fb9b7d98c3e586bddfb978d383aa8d2b1211bc, from 6.1.57 before 6.1.116, from 6.5.7 before 6.6, 6.6
Not affected: before 6.6, from 6.1.116 up to 6.1.*, from 6.6.60 up to 6.6.*, from 6.11.7 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelfrom 6.1.57 before 6.1.116, from 6.5.7 before 6.6, from 6.6 before 6.6.60, from 6.7 before 6.11.7, 6.12NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-415

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: wifi: cfg80211: clear wdev->cqm_config pointer on free When we free wdev->cqm_config when unregistering, we also need to clear out the pointer since the same wdev/netdev may get re-registered in another network namespace, then destroyed later, running this code again, which results in a double-free.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: cfg80211: borrar el puntero wdev->cqm_config al liberar Cuando liberamos wdev->cqm_config al anular el registro, también debemos limpiar el puntero ya que el mismo wdev/netdev puede volver a registrarse en otro espacio de nombres de red y luego destruirse más tarde, ejecutando este código nuevamente, lo que da como resultado una doble liberación.

References

Sources

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