CVE-2023-53612
Last modified
CVE-2023-53612 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: hwmon: (coretemp) Simplify platform device handling Coretemp's platform driver is unconventional. All the real work is done globally by the initcall and CPU hotplug notifiers, while the "driver" effectively just wraps an allocation and the registration of the hwmon interface in a long-winded round-trip through the driver core. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: hwmon: (coretemp) Simplify platform device handling Coretemp's platform driver is unconventional. All the real work is done globally by the initcall and CPU hotplug notifiers, while the "driver" effectively just wraps an allocation and the registration of the hwmon interface in a long-winded round-trip through the driver core. The whole logic of dynamically creating and destroying platform devices to bring the interfaces up and down is error prone, since it assumes platform_device_add() will synchronously bind the driver and set drvdata before it returns, thus results in a NULL dereference if drivers_autoprobe is turned off for the platform bus. Furthermore, the unusual approach of doing that from within a CPU hotplug notifier, already commented in the code that it deadlocks suspend, also causes lockdep issues for other drivers or subsystems which may want to legitimately register a CPU hotplug notifier from a platform bus notifier. All of these issues can be solved by ripping this unusual behaviour out completely, simply tying the platform devices to the lifetime of the module itself, and directly managing the hwmon interfaces from the hotplug notifiers. There is a slight user-visible change in that /sys/bus/platform/drivers/coretemp will no longer appear, and /sys/devices/platform/coretemp.n will remain present if package n is hotplugged off, but hwmon users should really only be looking for the presence of the hwmon interfaces, whose behaviour remains unchanged.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.10, < 5.4.235 |
| Linux | Linux Kernel | >= 5.5, < 5.10.173 |
| Linux | Linux Kernel | >= 5.11, < 5.15.99 |
| Linux | Linux Kernel | >= 5.16, < 6.1.16 |
| Linux | Linux Kernel | >= 6.2, < 6.2.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2023-53612?
How severe is CVE-2023-53612?
How do I fix CVE-2023-53612?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-53607In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53608In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53609In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-5361Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2023-53610In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53611In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53613In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53614In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2023-53615In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2023-53616In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53617In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53618In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2023-53612?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
