{"id":"CVE-2023-53997","aliases":["CVE-2023-53997"],"related":[],"kind":"vulnerability","state":"published","title":"thermal: of: fix double-free on unregistration","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2025-12-24T10:55:34.077Z","modified":"2026-08-05T09:16:34.123Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3d439b1a2ad36c8b4ea151c8de25309d60d17407","fixed":"adce49089412a9ae28f5c666e0bb12fbcd86b3f7","status":"affected"},{"type":"git","introduced":"3d439b1a2ad36c8b4ea151c8de25309d60d17407","fixed":"ac4436a5b20e0ef1f608a9ef46c08d5d142f8da6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.4.8","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/adce49089412a9ae28f5c666e0bb12fbcd86b3f7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac4436a5b20e0ef1f608a9ef46c08d5d142f8da6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53997","url":"https://www.cve.org/CVERecord?id=CVE-2023-53997","licence":"CVE Terms of Use","modified":"2026-08-05T09:16:34.123Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53997","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53997","licence":"Public domain","modified":"2026-08-04T10:19:25.227Z"}],"updatedAt":"2026-11-25T22:58:35.135Z","epss":{"score":0.00155,"percentile":0.04886,"date":"2026-12-01T12:00:22.000Z"}}