# CVE-2023-52864: platform/x86: wmi: Fix opening of char device

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2024-05-21T15:31:55.875Z
- **Modified:** 2026-08-05T09:11:43.009Z

## Who should check

- Anyone running Linux \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< cf098e937dd125c0317a0d6f261ac2a950a233d6; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< 9fb0eed09e1470cd4021ff52b2b9dfcbcee4c203; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< d426a2955e45a95b2282764105fcfb110a540453; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< e0bf076b734a2fab92d8fddc2b8b03462eee7097; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< 44a96796d25809502c75771d40ee693c2e44724e; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< 36d85fa7ae0d6be651c1a745191fa7ef055db43e; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< fb7b06b59c6887659c6ed0ecd3110835eecbb6a3; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< eba9ac7abab91c8f6d351460239108bef5e7a0b6
- Anyone running Linux 4.15

## Description

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.

## Affected and fixed versions

- Linux: \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< cf098e937dd125c0317a0d6f261ac2a950a233d6; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< 9fb0eed09e1470cd4021ff52b2b9dfcbcee4c203; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< d426a2955e45a95b2282764105fcfb110a540453; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< e0bf076b734a2fab92d8fddc2b8b03462eee7097; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< 44a96796d25809502c75771d40ee693c2e44724e; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< 36d85fa7ae0d6be651c1a745191fa7ef055db43e; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< fb7b06b59c6887659c6ed0ecd3110835eecbb6a3; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< eba9ac7abab91c8f6d351460239108bef5e7a0b6 (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52864. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52864.md
Affected: Linux >= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, < cf098e937dd125c0317a0d6f261ac2a950a233d6; >= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, < 9fb0eed09e1470cd4021ff52b2b9dfcbcee4c203; >= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, < d426a2955e45a95b2282764105fcfb110a540453; >= 44b6b7661132b1b0e5fd314…
Fixed in: Linux 9fb0eed09e1470cd4021ff52b2b9dfcbcee4c203, Linux 44a96796d25809502c75771d40ee693c2e44724e, Linux 36d85fa7ae0d6be651c1a745191fa7ef055db43e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52864 being exploited?

There is no confirmed exploitation: CVE-2023-52864 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52864?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-52864?

Linux \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< cf098e937dd125c0317a0d6f261ac2a950a233d6; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< 9fb0eed09e1470cd4021ff52b2b9dfcbcee4c203; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< d426a2955e45a95b2282764105fcfb110a540453; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< e0bf076b734a2fab92d8fddc2b8b03462eee7097; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< 44a96796d25809502c75771d40ee693c2e44724e; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< 36d85fa7ae0d6be651c1a745191fa7ef055db43e; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< fb7b06b59c6887659c6ed0ecd3110835eecbb6a3; \>= 44b6b7661132b1b0e5fd3147ded66f1e4a817ca9, \< eba9ac7abab91c8f6d351460239108bef5e7a0b6; Linux 4.15.

### Is there a fix for CVE-2023-52864?

Yes. Fixed in Linux 9fb0eed09e1470cd4021ff52b2b9dfcbcee4c203, Linux 44a96796d25809502c75771d40ee693c2e44724e, Linux 36d85fa7ae0d6be651c1a745191fa7ef055db43e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-52864?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/cf098e937dd125c0317a0d6f261ac2a950a233d6>
- patch: <https://git.kernel.org/stable/c/9fb0eed09e1470cd4021ff52b2b9dfcbcee4c203>
- patch: <https://git.kernel.org/stable/c/d426a2955e45a95b2282764105fcfb110a540453>
- patch: <https://git.kernel.org/stable/c/e0bf076b734a2fab92d8fddc2b8b03462eee7097>
- patch: <https://git.kernel.org/stable/c/44a96796d25809502c75771d40ee693c2e44724e>
- patch: <https://git.kernel.org/stable/c/36d85fa7ae0d6be651c1a745191fa7ef055db43e>
- patch: <https://git.kernel.org/stable/c/fb7b06b59c6887659c6ed0ecd3110835eecbb6a3>
- patch: <https://git.kernel.org/stable/c/eba9ac7abab91c8f6d351460239108bef5e7a0b6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52864>

HTML: <https://flawdb.com/CVE-2023-52864> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52864>
