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

Published May 21, 2024
·
Updated

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->privatedata, which means that privatedata will not be NULL when wmicharopen() is called. This might cause memory corruption should wmicharopen() be unable to find its driver, something which can happen when the associated WMI device is deleted in wmifreedevices().

Fix the problem by using the miscdevice pointer to retrieve the WMI device data associated with a char device using containerof(). This also avoids wmicharopen() picking a wrong WMI device bound to a driver with the same name as the original driver.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

platform/x86: wmi: Fix opening of char device

The Linux kernel CVE team has assigned CVE-2023-52864 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052118-CVE-2023-52864-15cd@gregkh/T

Red Hat

Linux Kernel is vulnerable to a denial of service, caused by a memory corruption flaw in the wmicharopen() function. By sending a specially crafted request, a local authenticated attacker could exploit this vulnerability to cause a denial of service condition.

IBM

Affected Software

19 affected componentsFixes available
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
redhat/kernel<4.19.299
4.19.299
redhat/kernel<5.4.261
5.4.261
redhat/kernel<5.10.201
5.10.201
redhat/kernel<5.15.139
5.15.139
redhat/kernel<6.1.63
6.1.63
redhat/kernel<6.5.12
6.5.12
redhat/kernel<6.6.2
6.6.2
redhat/kernel<6.7
6.7
Linux Linux kernel>=4.15<4.19.299
Linux Linux kernel>=4.20<5.4.261
Linux Linux kernel>=5.5<5.10.201
Linux Linux kernel>=5.11<5.15.139
Linux Linux kernel>=5.16<6.1.63
Linux Linux kernel>=6.2<6.5.12
Linux Linux kernel>=6.6<6.6.2

Event History

May 21, 2024
CVE Published
via MITRE·03:31 PM
Data Sourced
via MITRE·03:31 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 22, 2024
Data Sourced
via Red Hat·08:07 PM
DescriptionSeverityAffected Software
Mar 9, 57700
Event
via NVD·02:54 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-52864?

CVE-2023-52864 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2023-52864?

To address CVE-2023-52864, update the kernel to one of the following versions: 4.19.299, 5.4.261, 5.10.201, 5.15.139, 6.1.63, 6.5.12, 6.6.2, or 6.7.

3

Which Linux distributions are affected by CVE-2023-52864?

CVE-2023-52864 affects various distributions that utilize the affected versions of the Linux kernel provided by Red Hat.

4

What components does CVE-2023-52864 impact?

CVE-2023-52864 impacts the WMI char device in the Linux kernel.

5

Is there a workaround for CVE-2023-52864?

There are no known workarounds for CVE-2023-52864; applying the recommended kernel updates is the suggested solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203