In the Linux kernel, the following vulnerability has been resolved: thermal: core: Free tzp copy along with the thermal zone The object pointed to by tz->tzp may still be accessed after being freed in thermal_zone_device_unregister(), so move the freeing of it to the point after the removal completion has been completed at which it cannot be accessed any more.
https://git.kernel.org/stable/c/eabe285e1c629a719d6e68fc319939c63b83bf22
https://git.kernel.org/stable/c/bdb0d40507c85bee33c2a71fde7b2e857346f112
https://git.kernel.org/stable/c/827a07525c099f54d3b15110408824541ec66b3c