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.
Affected versions
Linux kernel versions
6.4
and later are affected. Fixed in
6.4.8,
6.5
and their respective stable series.
References
The following references provide additional information about CVE-2023-53997 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/ac4436a5b20e0ef1f608a9ef46c08d5d142f8da6
-
PatchKernel patch commithttps://git.kernel.org/stable/c/adce49089412a9ae28f5c666e0bb12fbcd86b3f7
Frequently asked questions
-
What is CVE-2023-53997?
CVE-2023-53997 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.4 onward and has been patched in 6.4.8 and 6.5. CVE-2023-53997 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2023-53997?
Yes — CVE-2023-53997 has been patched. Fixed versions include 6.4.8 and 6.5. If you are running Linux kernel 6.4 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-53997 actively exploited?
No — CVE-2023-53997 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.