What’s Vulnerable › Vulnerabilities
CVE-2024-50235: wifi: cfg80211: clear wdev->cqm_config pointer on free
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-09 · updated 2026-06-17
- Weakness: CWE-415
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 products
- Linux kernel: from 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.12-rc1, 6.12-rc2, 6.12-rc3, 6.12-rc4, 6.12-rc5 — fixed in 6.1.116, 6.11.7, 6.6, 6.6.60
How to fix
Upgrade to a fixed version: Linux kernel 6.1.116, 6.11.7, 6.6, 6.6.60. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/64e4c45d23cd7f6167f69cc2d2877bc7f54292e5
- https://git.kernel.org/stable/c/6c44abb2d4c3262737d5d67832daebc8cf48b8c9
- https://git.kernel.org/stable/c/ba392e1355ba74b1d4fa11b85f71ab6ed7ecc058
- https://git.kernel.org/stable/c/d5fee261dfd9e17b08b1df8471ac5d5736070917
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Get alerted when CVE-2024-50235 or the next vulnerability affects your stack