Bug 1225874 (CVE-2024-36956)

Summary: VUL-0: CVE-2024-36956: kernel: thermal/debugfs: free all thermal zone debug memory on zone removal
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED INVALID QA Contact: Security Team bot <security-team>
Severity: Minor    
Priority: P3 - Medium CC: camila.matos, miroslav.franc
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/408170/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-36956:3.3:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-06-03 17:31:26 UTC
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+

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-36956
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-36956.mbox
https://git.kernel.org/stable/c/f51564e4b3992b53df79460ed5781a5330b5b1d5
https://git.kernel.org/stable/c/72c1afffa4c645fe0e0f1c03e5f34395ed65b5f4
https://www.cve.org/CVERecord?id=CVE-2024-36956
Comment 1 Miroslav Franc 2024-06-04 06:52:51 UTC
Pertains only to stable including the fix.  Nothing to do.  Switching back to security team.