CVE-2024-35789·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes When moving a station out of a VLAN and deleting the VLAN afterwards, the fast_rx entry still holds a pointer to the VLAN's netdev, which can cause use-after-free bugs. Fix this by immediately calling ieee80211_check_fast_rx after the VLAN change.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.3
- Published
- 2024-05-17
Affected versions
From: 6.8
Until: 6.8.3
Fixed in: 6.8.3
How to fix this CVE
Update your Linux kernel to version 6.8.3 or later to resolve a use-after-free vulnerability in the mac80211 WiFi driver that affects VLAN station management. The fix ensures that fast RX cache entries are properly cleared when stations are moved out of VLANs, preventing kernel memory corruption. Systems running kernel versions 6.8 through 6.8.2 should prioritize this update to eliminate the memory safety risk.
sudo dnf check-update kernel && sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with: uname -r
- Step 2: Verify if you are running kernel 6.8.0, 6.8.1, or 6.8.2 by comparing output against the affected range
- Step 3: Check for VLAN usage on your system with: ip link show | grep -i vlan or cat /proc/net/vlan/config
- Step 4: After updating to 6.8.3+, verify the fix by running uname -r and confirming the new version is active after reboot
FAQ
What is CVE-2024-35789?
CVE-2024-35789 is a use-after-free vulnerability in Linux kernel's mac80211 WiFi subsystem that occurs when station VLAN configurations change. The fast RX packet processing cache retains pointers to deleted VLAN network interfaces, leading to kernel memory corruption when those interfaces are freed.
Is CVE-2024-35789 being actively exploited?
No, CVE-2024-35789 is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available. However, the vulnerability poses a denial-of-service or privilege escalation risk if triggered in targeted environments.
What versions of Kernel are affected by CVE-2024-35789?
Linux kernel versions 6.8.0 through 6.8.2 are affected. The vulnerability is resolved in kernel 6.8.3 and all subsequent releases.
How do I check if my server is vulnerable to CVE-2024-35789?
Run uname -r and check if your kernel version falls within 6.8.0–6.8.2. If you also have VLAN interfaces configured (verify with cat /proc/net/vlan/config), your system is potentially vulnerable.
Does Defensia detect CVE-2024-35789?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-35789 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2884a50f52313a7a911de3afcad065ddbb3d78fc
- https://git.kernel.org/stable/c/4f2bdb3c5e3189297e156b3ff84b140423d64685
- https://git.kernel.org/stable/c/6b948b54c8bd620725e0c906e44b10c0b13087a7
- https://git.kernel.org/stable/c/7eeabcea79b67cc29563e6a9a5c81f9e2c664d5b
- https://git.kernel.org/stable/c/be1dd9254fc115321d6fbee042026d42afc8d931
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-35789. Free for 1 server.
Get started free