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

CVE record · `CVE-2023-53012`

- **Identifiers:** `CVE-2023-53012`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Mar 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Mar 2025, 16:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `108a6f91e2766a6d9142b1f2d90c07ac547eae7e to before a7d736cc3c6cb0d7498bbfb56515d414e35e9510` (git)
  - affected: `80bb3b901abe6560620505e5c734d140c4f73a07 to before 2846a7412f6246fd5171f51011bf76dfebcec0ee` (git)
  - affected: `c408b3d1d9bbc7de5fb0304fea424ef2539da616 to before 6c54b7bc8a31ce0f7cc7f8deef05067df414f1d8` (git)
  - affected: `5139cbc0c6e4bf2fcffc9a7ed4350bf6985bc561` (git)
  - affected: `c4c435d3637b5d0abaa6447c7366c3674364968a` (git)
  - affected: `e0d8b51bbe84d6a98c162e06344de2d773d9e722` (git)
  - affected: `6.0.16 to before 6.1` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - No versions given
  - Other versions: unaffected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel thermal core's cooling device registration (\_\_thermal_cooling_device_register) called put_device() before device_register() had been called, and it also made unnecessary calls to thermal_cooling_device_destroy_sysfs() on some error paths. The source gives few details about the impact. The fix is in the Linux kernel versions that contain commit a7d736cc3c6cb0d7498bbfb56515d414e35e9510, 2846a7412f6246fd5171f51011bf76dfebcec0ee, or 6c54b7bc8a31ce0f7cc7f8deef05067df414f1d8, depending on the branch; upgrade to a fixed kernel release. No workaround is listed.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 10th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 Mar 2025, 16:43 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2023-53012)
- 27 Mar 2025, 17:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-53012)

## Sources

- [CVE List: CVE-2023-53012](https://www.cve.org/CVERecord?id=CVE-2023-53012)
- [NVD: CVE-2023-53012](https://nvd.nist.gov/vuln/detail/CVE-2023-53012)

### References from the CNA

- <https://git.kernel.org/stable/c/a7d736cc3c6cb0d7498bbfb56515d414e35e9510>
- <https://git.kernel.org/stable/c/2846a7412f6246fd5171f51011bf76dfebcec0ee>
- <https://git.kernel.org/stable/c/6c54b7bc8a31ce0f7cc7f8deef05067df414f1d8>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-53012>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-53012/>. Everything for agents: <https://agentprime.io/llms.txt>.
