thermal: core: Free tzp copy along with the thermal zone
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.606.11.46.12In 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.
From the CVE record · Linux
The Linux kernel thermal core may access a thermal zone's tzp object after it is freed during thermal_zone_device_unregister(). This is a use-after-free; the input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Anyone running the Linux kernel should check their version; affected versions are not specified.