CVE-2024-36956
kernel: thermal/debugfs: Free all thermal zone debug memory on zone removal
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 30, 2024
Updated · June 28, 2026
Description
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+ [email protected] ↗ # 6.8+
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-402 · Transmission of Private Resources into a New Sphere ('Resource Leak')