Advisory Published
Updated

CVE-2023-53012: thermal: core: call put_device() only after device_register() fails

First published: Thu Mar 27 2025(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-53012?

    CVE-2023-53012 has been classified with a severity rating that indicates potential risk in the Linux kernel.

  • How do I fix CVE-2023-53012?

    To fix CVE-2023-53012, you should update your Linux kernel to the latest version where the vulnerability has been patched.

  • What components are affected by CVE-2023-53012?

    CVE-2023-53012 affects the thermal component within the Linux kernel, specifically related to device registration.

  • Is CVE-2023-53012 exploitable remotely?

    There is no indication that CVE-2023-53012 is remotely exploitable, but local access may be required.

  • When was CVE-2023-53012 disclosed?

    CVE-2023-53012 was disclosed as part of the continuous updates and maintenance of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203