# CVE-2023-53612: hwmon: (coretemp) Simplify platform device handling

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-10-04T15:44:20.297Z
- Modified: 2026-11-05T21:17:29.023Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e1b370b64031a01bb0c4158ce250073a88921fe1 before 4000384684f612b3645a944f6acde0e65ac370b8; from e1b370b64031a01bb0c4158ce250073a88921fe1 before 5735878a7b7db7e9ce731cb36cec298a9de67549; from e1b370b64031a01bb0c4158ce250073a88921fe1 before 52ea47a0ddfbc5fe05e873d3f5a59db4ba3e03fe; from e1b370b64031a01bb0c4158ce250073a88921fe1 before 8fcdbc4bc01365f4b10fed7db544a3149e3054fd; from e1b370b64031a01bb0c4158ce250073a88921fe1 before c57a8d14d7880521150ee801d53a0a64fdffd9c8; from e1b370b64031a01bb0c4158ce250073a88921fe1 before 6d03bbff456befeccdd4d663177c4d6c75d0c4ff; 4.10 (not affected: before 4.10; from 5.4.235 up to 5.4.*; from 5.10.173 up to 5.10.*; from 5.15.99 up to 5.15.*; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 4.10 before 5.4.235; from 5.5 before 5.10.173; from 5.11 before 5.15.99; from 5.16 before 6.1.16; from 6.2 before 6.2.3

## References

- <https://git.kernel.org/stable/c/4000384684f612b3645a944f6acde0e65ac370b8> (patch)
- <https://git.kernel.org/stable/c/5735878a7b7db7e9ce731cb36cec298a9de67549> (patch)
- <https://git.kernel.org/stable/c/52ea47a0ddfbc5fe05e873d3f5a59db4ba3e03fe> (patch)
- <https://git.kernel.org/stable/c/8fcdbc4bc01365f4b10fed7db544a3149e3054fd> (patch)
- <https://git.kernel.org/stable/c/c57a8d14d7880521150ee801d53a0a64fdffd9c8> (patch)
- <https://git.kernel.org/stable/c/6d03bbff456befeccdd4d663177c4d6c75d0c4ff> (patch)

## Sources

- CVE List: [CVE-2023-53612](https://www.cve.org/CVERecord?id=CVE-2023-53612), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2023-53612](https://nvd.nist.gov/vuln/detail/CVE-2023-53612), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-53612 · Whole record: https://cve.day/CVE-2023-53612.json · Rebuilt by cve.day 2026-11-25T22:58:34.966Z
