CVE-2023-52864·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: platform/x86: wmi: Fix opening of char device Since commit fa1f68db6ca7 ("drivers: misc: pass miscdevice pointer via file private data"), the miscdevice stores a pointer to itself inside filp->private_data, which means that private_data will not be NULL when wmi_char_open() is called. This might cause memory corruption should wmi_char_open() be unable to find its driver, something which can happen when the associated WMI device is deleted in wmi_free_devices(). Fix the problem by using the miscdevice pointer to retrieve the WMI device data associated with a char device using container_of(). This also avoids wmi_char_open() picking a wrong WMI device bound to a driver with the same name as the original driver.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.6.2
- 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 1% 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-52864 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.6
Until: 6.6.2
Fixed in: 6.6.2
How to fix this CVE
Update your Linux kernel to version 6.6.2 or later to resolve a character device opening flaw in the WMI subsystem that could lead to memory corruption. This vulnerability affects systems running kernel versions 6.6 through 6.6.1 where improper pointer handling in wmi_char_open() could cause kernel memory issues when WMI devices are deleted or when multiple drivers share the same name.
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 — verify if it falls within 6.6.0 to 6.6.1 range
- Step 2: Confirm WMI subsystem is active by checking: grep -i wmi /proc/devices — a non-empty result indicates the vulnerable component is loaded
- Step 3: Search system logs for WMI device removal or char device open failures: journalctl -u kernel --grep='wmi\|char device' | head -20
- Step 4: After patching, reboot and verify the new kernel version: uname -r — should show 6.6.2 or later
FAQ
What is CVE-2023-52864?
This is a Linux kernel vulnerability in the WMI (Windows Management Instrumentation) platform driver where improper handling of character device file descriptors can trigger memory corruption during device removal or when multiple drivers share identical names.
Is CVE-2023-52864 being actively exploited?
No, this vulnerability is not listed in CISA's KEV catalog and no public exploits are currently available, though it remains a high-severity local privilege escalation risk.
What versions of Kernel are affected by CVE-2023-52864?
Linux kernel versions 6.6.0, 6.6.1, and 6.6.2 (before the fix) are affected; systems running 6.6.2 and later are patched.
How do I check if my server is vulnerable to CVE-2023-52864?
Run uname -r and compare the output — if it shows 6.6.0, 6.6.1, or 6.6.2, your system is vulnerable; also verify WMI is active with: grep wmi /proc/devices
Does Defensia detect CVE-2023-52864?
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-2023-52864 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/36d85fa7ae0d6be651c1a745191fa7ef055db43e
- https://git.kernel.org/stable/c/44a96796d25809502c75771d40ee693c2e44724e
- https://git.kernel.org/stable/c/9fb0eed09e1470cd4021ff52b2b9dfcbcee4c203
- https://git.kernel.org/stable/c/cf098e937dd125c0317a0d6f261ac2a950a233d6
- https://git.kernel.org/stable/c/d426a2955e45a95b2282764105fcfb110a540453
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52864. Free for 1 server.
Get started free