CVE-2024-50235
kernel: wifi: cfg80211: clear wdev->cqm_config pointer on free
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 9, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel's wifi: cfg80211 subsystem. A local attacker with administrative privileges could exploit this vulnerability. When a wireless device (wdev/netdev) is unregistered, its cqm_config pointer is freed but not cleared. If the same device is re-registered in another network namespace and subsequently destroyed, it leads to a double-free. This can result in a system crash (denial of service) or potentially allow for arbitrary code execution.
Statement
This issue is considered to be a moderate impact flaw, as the exploitation for this will need an ADMIN (or ROOT) privilege (PR:H).
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 6.7CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CWE-415 · Double Free