CVE-2024-50235: wifi: cfg80211: clear wdev->cqm_config pointer on free
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.
Security readout for executives and security teams
Plain-English summary
A Linux Wi-Fi subsystem cleanup bug can free the same memory twice when a wireless device is unregistered, re-registered in another network namespace, and later destroyed. This may crash the kernel or corrupt privileged kernel memory. The supplied CVSS score is 7.8 High and requires local, low-privilege access; it is not described as a remote attack.
Executive priority
Prioritize an expedited kernel update on systems permitting low-privilege local access and wireless-device namespace operations. Validate vendor backports before declaring exposure from version numbers. The potential impact is high, but the supplied evidence does not support treating this as an actively exploited or internet-facing emergency.
Technical view
During wireless device unregistration, cfg80211 frees wdev->cqm_config but fails to clear the pointer. Reusing the same wdev/netdev in another network namespace leaves the stale pointer available for a second free during later destruction. The stable changes clear the pointer after freeing it, addressing CWE-415.
Likely exposure
Exposure requires a Linux kernel containing the vulnerable cfg80211 behavior, relevant wireless-device lifecycle activity, and local reachability. The bundled version data mixes baselines, endpoints, and commit identifiers, so version strings alone are insufficient. Confirm exposure using distribution backport records and the cited stable fixes.
Exploitation context
The bundle's KEV flag is false and contains no cited evidence of active exploitation or public weaponization. The CVSS vector specifies local access, low complexity, low privileges, and no user interaction. Kernel memory corruption could have serious consequences, but reliable privilege escalation is not demonstrated by the supplied sources.
Researcher notes
The correction addresses stale pointer state rather than merely changing allocation timing. Although the CVSS models complete confidentiality, integrity, and availability impact, the supplied sources do not establish a reliable privilege-escalation path. Analyze reachability through wdev/netdev re-registration and map distribution backports carefully; do not assume every kernel within a broad 6.x line is vulnerable.
Mitigation direction
Apply a supported distribution kernel containing the applicable stable fix, following vendor guidance.
Reboot into the updated kernel; installing a package alone does not remediate the running kernel.
Track distribution advisories because vendors may backport fixes without adopting upstream version numbers.
Until updated, limit untrusted local access and unnecessary network-namespace operations where operationally feasible.
Validation and detection
Record the running kernel build, not only installed kernel package versions.
Verify distribution changelogs or kernel sources contain the applicable cited stable correction.
Confirm the system rebooted into the remediated kernel build.
Determine whether cfg80211 wireless functionality and low-privilege local access are present.
Review kernel crash records for cfg80211 or double-free faults; their absence does not prove safety.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-415: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
2ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.