CVE-2023-53997

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

No configuration.

History

No history.

Information

Published : 2025-12-24 11:15

Updated : 2026-08-04 10:19


NVD link : CVE-2023-53997

Mitre link : CVE-2023-53997

CVE.ORG link : CVE-2023-53997


JSON object : View

Products Affected

No product.

CWE

No CWE.