CVE-2023-53612
hwmon: (coretemp) Simplify platform device handling
Check your servers for CVE-2023-53612
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53612 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.15%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.33% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e1b370b64031a01bb0c4158ce250073a88921fe1, before 4000384684f612b3645a944f6acde0e65ac370b8 affected from e1b370b64031a01bb0c4158ce250073a88921fe1, before 5735878a7b7db7e9ce731cb36cec298a9de67549 affected from e1b370b64031a01bb0c4158ce250073a88921fe1, before 52ea47a0ddfbc5fe05e873d3f5a59db4ba3e03fe affected from e1b370b64031a01bb0c4158ce250073a88921fe1, before 8fcdbc4bc01365f4b10fed7db544a3149e3054fd affected from e1b370b64031a01bb0c4158ce250073a88921fe1, before c57a8d14d7880521150ee801d53a0a64fdffd9c8 affected from e1b370b64031a01bb0c4158ce250073a88921fe1, before 6d03bbff456befeccdd4d663177c4d6c75d0c4ff
Other versions: unaffected
|
| Linux |
affected 4.10 unaffected before 4.10 unaffected from 5.4.235 up to and including 5.4.* unaffected from 5.10.173 up to and including 5.10.* unaffected from 5.15.99 up to and including 5.15.* unaffected from 6.1.16 up to and including 6.1.* unaffected from 6.2.3 up to and including 6.2.* unaffected 6.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53612 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53612
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53612
trivy image --scanners vuln IMAGE | grep CVE-2023-53612
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4000384684f612b3645a944f6acde0e65ac370b8 git.kernel.org
- https://git.kernel.org/stable/c/5735878a7b7db7e9ce731cb36cec298a9de67549 git.kernel.org
- https://git.kernel.org/stable/c/52ea47a0ddfbc5fe05e873d3f5a59db4ba3e03fe git.kernel.org
- https://git.kernel.org/stable/c/8fcdbc4bc01365f4b10fed7db544a3149e3054fd git.kernel.org
- https://git.kernel.org/stable/c/c57a8d14d7880521150ee801d53a0a64fdffd9c8 git.kernel.org
- https://git.kernel.org/stable/c/6d03bbff456befeccdd4d663177c4d6c75d0c4ff git.kernel.org
Source: the record CVE-2023-53612 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse