CVE-2024-50235·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.7
- Published
- 2024-11-09
Affected versions
From: 6.7
Until: 6.11.7
Fixed in: 6.11.7
How to fix this CVE
Update your Linux kernel to version 6.11.7 or later to resolve a memory management issue in the wireless configuration subsystem. This vulnerability affects kernel versions 6.7 through 6.11.6 and can lead to a denial of service condition when network devices are re-registered across network namespaces. Apply the patch immediately to prevent potential system instability.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version by running: uname -r
- Step 2: Verify if your kernel version falls within 6.7 to 6.11.6 by comparing the output against the affected range
- Step 3: Search system logs for double-free errors related to wireless config: grep -i 'cqm_config\|double.free\|use.after.free' /var/log/kern.log /var/log/messages
- Step 4: After patching, reboot and confirm the new kernel version is running with: uname -r (should show 6.11.7 or later)
FAQ
What is CVE-2024-50235?
This is a kernel memory management vulnerability in cfg80211 (wireless configuration layer) where a pointer to dynamically allocated wireless configuration data is not properly cleared after deallocation, leading to a double-free condition when a network device is re-registered in a different namespace.
Is CVE-2024-50235 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog, and there are no public exploits available. However, it should still be patched promptly as it affects system stability.
What versions of Kernel are affected by CVE-2024-50235?
Linux kernel versions 6.7 through 6.11.6 are affected. The fix is available in kernel 6.11.7 and all subsequent releases.
How do I check if my server is vulnerable to CVE-2024-50235?
Run 'uname -r' to display your kernel version. If the output shows a version between 6.7 and 6.11.6 (inclusive), your system is vulnerable and requires patching.
Does Defensia detect CVE-2024-50235?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-50235 will appear in your dashboard with remediation steps.
Related Kernel CVEs
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
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-50235. Free for 1 server.
Get started free