CVE-2023-53612
published 2025-10-04CVE-2023-53612: In the Linux kernel, the following vulnerability has been resolved: hwmon: (coretemp) Simplify platform device handling Coretemp's platform driver is…
PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.14%
3.4th percentile
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.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.20-1 (bookworm) | linux 6.1.20-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= e1b370b64031a01bb0c4158ce250073a88921fe1 < 4000384684f612b3645a944f6acde0e65ac370b8 | 4000384684f612b3645a944f6acde0e65ac370b8 |
| linux | linux | >= e1b370b64031a01bb0c4158ce250073a88921fe1 < 5735878a7b7db7e9ce731cb36cec298a9de67549 | 5735878a7b7db7e9ce731cb36cec298a9de67549 |
| linux | linux | >= e1b370b64031a01bb0c4158ce250073a88921fe1 < 52ea47a0ddfbc5fe05e873d3f5a59db4ba3e03fe | 52ea47a0ddfbc5fe05e873d3f5a59db4ba3e03fe |
| linux | linux | >= e1b370b64031a01bb0c4158ce250073a88921fe1 < 8fcdbc4bc01365f4b10fed7db544a3149e3054fd | 8fcdbc4bc01365f4b10fed7db544a3149e3054fd |
| linux | linux | >= e1b370b64031a01bb0c4158ce250073a88921fe1 < c57a8d14d7880521150ee801d53a0a64fdffd9c8 | c57a8d14d7880521150ee801d53a0a64fdffd9c8 |
| linux | linux | >= e1b370b64031a01bb0c4158ce250073a88921fe1 < 6d03bbff456befeccdd4d663177c4d6c75d0c4ff | 6d03bbff456befeccdd4d663177c4d6c75d0c4ff |
| linux | linux_kernel | >= 0 < 5.10.178-1 | 5.10.178-1 |
| linux | linux_kernel | >= 0 < 6.1.20-1 | 6.1.20-1 |
| linux | linux_kernel | >= 0 < 6.1.20-1 | 6.1.20-1 |
| linux | linux_kernel | >= 0 < 6.1.20-1 | 6.1.20-1 |
| linux | linux_kernel | >= 4.10 < 5.4.235 | 5.4.235 |
| linux | linux_kernel | >= 5.11 < 5.15.99 | 5.15.99 |
| linux | linux_kernel | >= 5.16 < 6.1.16 | 6.1.16 |
| linux | linux_kernel | >= 5.5 < 5.10.173 | 5.10.173 |
| linux | linux_kernel | >= 6.2 < 6.2.3 | 6.2.3 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: hwmon: (coretemp) Simplify platform device handling
vendor_redhat·2025-10-04·CVSS 5.5
CVE-2023-53612 [MEDIUM] CWE-476 kernel: hwmon: (coretemp) Simplify platform device handling
kernel: hwmon: (coretemp) Simplify platform device handling
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
Debian
CVE-2023-53612: linux - In the Linux kernel, the following vulnerability has been resolved: hwmon: (cor...
vendor_debian·2023·CVSS 5.5
CVE-2023-53612 [MEDIUM] CVE-2023-53612: linux - In the Linux kernel, the following vulnerability has been resolved: hwmon: (cor...
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 noti
GHSA
GHSA-w3m2-4m45-q2fh: In the Linux kernel, the following vulnerability has been resolved:
hwmon: (coretemp) Simplify platform device handling
Coretemp's platform driver i
ghsa_unreviewed·2025-10-04
CVE-2023-53612 [MEDIUM] CWE-476 GHSA-w3m2-4m45-q2fh: In the Linux kernel, the following vulnerability has been resolved:
hwmon: (coretemp) Simplify platform device handling
Coretemp's platform driver i
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 no
OSV
CVE-2023-53612: In the Linux kernel, the following vulnerability has been resolved: hwmon: (coretemp) Simplify platform device handling Coretemp's platform driver is
osv·2025-10-04·CVSS 5.5
CVE-2023-53612 [MEDIUM] CVE-2023-53612: In the Linux kernel, the following vulnerability has been resolved: hwmon: (coretemp) Simplify platform device handling Coretemp's platform driver is
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 noti
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/4000384684f612b3645a944f6acde0e65ac370b8https://git.kernel.org/stable/c/52ea47a0ddfbc5fe05e873d3f5a59db4ba3e03fehttps://git.kernel.org/stable/c/5735878a7b7db7e9ce731cb36cec298a9de67549https://git.kernel.org/stable/c/6d03bbff456befeccdd4d663177c4d6c75d0c4ffhttps://git.kernel.org/stable/c/8fcdbc4bc01365f4b10fed7db544a3149e3054fdhttps://git.kernel.org/stable/c/c57a8d14d7880521150ee801d53a0a64fdffd9c8
2025-10-04
Published