thermal/debugfs: Free all thermal zone debug memory on zone removal
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
thermal/debugfs: Free all thermal zone debug memory on zone removal
Because thermal_debug_tz_remove() does not free all memory allocated for thermal zone diagnostics, some of that memory becomes unreachable after freeing the thermal zone's struct thermal_debugfs object.
Address this by making thermal_debug_tz_remove() free all of the memory in question.
Cc :6.8+ <stable@vger.kernel.org> # 6.8+
From the CVE record · Linux
The Linux kernel does not free all thermal zone diagnostic memory when a thermal zone is removed. The input does not specify whether an attacker can trigger the leak, or any network, authentication, or user-interaction conditions.
Engineers running Linux kernels in the 6.8+ stable series should check whether their builds include the fix.