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->cqmconfig pointer on free
When we free wdev->cqmconfig 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.
Other sources
In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: clear wdev->cqmconfig pointer on free
When we free wdev->cqmconfig 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
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50235?
The severity of CVE-2024-50235 is considered moderate as it involves a vulnerability in the Linux kernel related to memory management.
How do I fix CVE-2024-50235?
To fix CVE-2024-50235, you should upgrade your Linux kernel to a version that includes the patch for this vulnerability.
What Linux kernel versions are affected by CVE-2024-50235?
CVE-2024-50235 affects various Linux kernel versions, specifically those between 6.1.57 to 6.1.116 and 6.5.7 to 6.6 among others.
What component of the Linux kernel is impacted by CVE-2024-50235?
CVE-2024-50235 impacts the cfg80211 component of the Linux kernel's wifi management.
Is CVE-2024-50235 a remote code execution vulnerability?
CVE-2024-50235 does not indicate a remote code execution vulnerability; it primarily concerns local effects related to network device management.