CVE-2023-53997

published 24 Dec 2025 · updated 5 Aug 2026

thermal: of: fix double-free on unregistration

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ac4436a5b20e0ef1f608a9ef46c08d5d142f8da6 and Kernel adce49089412a9ae28f5c666e0bb12fbcd86b3f7.

In the Linux kernel, the following vulnerability has been resolved: thermal: of: fix double-free on unregistration Since commit 3d439b1a2ad3 ("thermal/core: Alloc-copy-free the thermal zone parameters structure"), thermal_zone_device_register() allocates a copy of the tzp argument and frees it when unregistering, so thermal_of_zone_register() now ends up leaking its original tzp and double-freeing the tzp copy. Fix this by locating tzp on stack instead.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.4, >=3d439b1a2ad36c8b4ea151c8de25309d60d17407 <ac4436a5b20e0ef1f608a9ef46c08d5d142f8da6, >=3d439b1a2ad36c8b4ea151c8de25309d60d17407 <adce49089412a9ae28f5c666e0bb12fbcd86b3f7ac4436a5b20e0ef1f608a9ef46c08d5d142f8da6, adce49089412a9ae28f5c666e0bb12fbcd86b3f7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-53997 severity on Zeptric[![CVE-2023-53997](https://zeptric.io/badge/cve/CVE-2023-53997.svg)](https://zeptric.io/cve/CVE-2023-53997)