CVE-2023-52530·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix potential key use-after-free When ieee80211_key_link() is called by ieee80211_gtk_rekey_add() but returns 0 due to KRACK protection (identical key reinstall), ieee80211_gtk_rekey_add() will still return a pointer into the key, in a potential use-after-free. This normally doesn't happen since it's only called by iwlwifi in case of WoWLAN rekey offload which has its own KRACK protection, but still better to fix, do that by returning an error code and converting that to success on the cfg80211 boundary only, leaving the error for bad callers of ieee80211_gtk_rekey_add().
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.5.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2023-52530 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.2
Until: 6.5.7
Fixed in: 6.5.7
How to fix this CVE
Update your Linux kernel to version 6.5.7 or later to resolve a use-after-free vulnerability in the mac80211 wireless subsystem that could occur during GTK rekey operations. This fix ensures proper error handling when identical key reinstalls are detected, preventing potential memory safety issues. Apply the update immediately across all affected systems running kernel versions 6.2 through 6.5.6.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with 'uname -r' and verify if it falls within the vulnerable range (6.2.x to 6.5.6)
- Step 2: Examine mac80211 module configuration using 'lsmod | grep mac80211' to confirm wireless subsystem is loaded
- Step 3: Search kernel logs for GTK rekey errors using 'sudo journalctl -S -24h | grep -i gtk' or 'sudo dmesg | grep -i gtk'
- Step 4: After patching, reboot the system with 'sudo reboot' and verify the new kernel version with 'uname -r' is 6.5.7 or later
FAQ
What is CVE-2023-52530?
This vulnerability is a use-after-free flaw in the Linux kernel's mac80211 wireless driver that occurs when GTK (Group Temporal Key) rekey operations fail to properly handle identical key reinstall scenarios, potentially leading to memory corruption.
Is CVE-2023-52530 being actively exploited?
No, CVE-2023-52530 is not currently listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, the vulnerability does pose a local privilege escalation risk and should still be patched.
What versions of Kernel are affected by CVE-2023-52530?
Linux kernel versions 6.2 through 6.5.6 are vulnerable. The vulnerability was fixed in kernel 6.5.7 and later versions.
How do I check if my server is vulnerable to CVE-2023-52530?
Run 'uname -r' and check if the output shows a version between 6.2.0 and 6.5.6. If your kernel version is within this range, your system requires the security update.
Does Defensia detect CVE-2023-52530?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2023-52530 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2408f491ff998d674707725eadc47d8930aced09
- https://git.kernel.org/stable/c/2f4e16e39e4f5e78248dd9e51276a83203950b36
- https://git.kernel.org/stable/c/31db78a4923ef5e2008f2eed321811ca79e7f71b
- https://git.kernel.org/stable/c/65c72a7201704574dace708cbc96a8f367b1491d
- https://git.kernel.org/stable/c/e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52530. Free for 1 server.
Get started free