# CVE-2024-36956: thermal/debugfs: Free all thermal zone debug memory on zone removal

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2024-05-30T15:35:49.854Z
- Modified: 2026-06-17T07:37:26.960Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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+ <stable@vger.kernel.org> # 6.8+

(As written by CVE List.)

## Affected

- Linux Linux: from 7ef01f228c9f54c6260319858be138a8a7e9e704 before f51564e4b3992b53df79460ed5781a5330b5b1d5; from 7ef01f228c9f54c6260319858be138a8a7e9e704 before 72c1afffa4c645fe0e0f1c03e5f34395ed65b5f4; 6.8 (not affected: before 6.8; from 6.8.10 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.8 before 6.8.10; 6.9

## References

- <https://git.kernel.org/stable/c/f51564e4b3992b53df79460ed5781a5330b5b1d5> (patch)
- <https://git.kernel.org/stable/c/72c1afffa4c645fe0e0f1c03e5f34395ed65b5f4> (patch)

## Sources

- CVE List: [CVE-2024-36956](https://www.cve.org/CVERecord?id=CVE-2024-36956), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-36956](https://nvd.nist.gov/vuln/detail/CVE-2024-36956), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-36956 · Whole record: https://cve.day/CVE-2024-36956.json · Rebuilt by cve.day 2026-11-25T22:58:41.301Z
