{"id":"CVE-2023-53997","published":"2025-12-24T10:55:34Z","modified":"2026-08-05T09:16:34Z","title":"thermal: of: fix double-free on unregistration","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal: of: fix double-free on unregistration\n\nSince commit 3d439b1a2ad3 (\"thermal/core: Alloc-copy-free the thermal\nzone parameters structure\"), thermal_zone_device_register() allocates\na copy of the tzp argument and frees it when unregistering, so\nthermal_of_zone_register() now ends up leaking its original tzp and\ndouble-freeing the tzp copy. Fix this by locating tzp on stack instead.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00155,"percentile":0.04588,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/adce49089412a9ae28f5c666e0bb12fbcd86b3f7","tags":[]},{"url":"https://git.kernel.org/stable/c/ac4436a5b20e0ef1f608a9ef46c08d5d142f8da6","tags":[]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":0.92},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3d439b1a2ad36c8b4ea151c8de25309d60d17407, < adce49089412a9ae28f5c666e0bb12fbcd86b3f7",">= 3d439b1a2ad36c8b4ea151c8de25309d60d17407, < ac4436a5b20e0ef1f608a9ef46c08d5d142f8da6"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"euvd":{"id":"EUVD-2025-205150","exploited":false,"provenance":"source"}}