CVE-2023-53012

thermal: core: call put_device() only after device_register() fails

No CVSS score yet EPSS 0.20%

Published 27 Mar 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2023-53012

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

Check my servers

Description

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

thermal: core: call put_device() only after device_register() fails

put_device() shouldn't be called before a prior call to device_register(). __thermal_cooling_device_register() doesn't follow that properly and needs fixing. Also thermal_cooling_device_destroy_sysfs() is getting called unnecessarily on few error paths.

Fix all this by placing the calls at the right place.

Based on initial work done by Caleb Connolly.

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.9% 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.

ProductVersions
Linux
affected from 108a6f91e2766a6d9142b1f2d90c07ac547eae7e, before a7d736cc3c6cb0d7498bbfb56515d414e35e9510
affected from 80bb3b901abe6560620505e5c734d140c4f73a07, before 2846a7412f6246fd5171f51011bf76dfebcec0ee
affected from c408b3d1d9bbc7de5fb0304fea424ef2539da616, before 6c54b7bc8a31ce0f7cc7f8deef05067df414f1d8
affected 5139cbc0c6e4bf2fcffc9a7ed4350bf6985bc561
affected c4c435d3637b5d0abaa6447c7366c3674364968a
affected e0d8b51bbe84d6a98c162e06344de2d773d9e722
affected from 6.0.16, before 6.1
Other versions: unaffected
Linux
unaffected the record does not list versions

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-53012 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53012

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-53012
trivy image --scanners vuln IMAGE | grep CVE-2023-53012

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

Source: the record CVE-2023-53012 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.