PT-2025-8402 · Linux+2 · Linux Kernel+2
Hulk Robot
+1
·
Published
2025-02-26
·
Updated
2025-04-14
·
CVE-2022-49468
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A memory leak issue has been identified in the Linux kernel, specifically in the
thermal cooling device register() function. The leak occurs when device register() fails, and thermal cooling device destroy sysfs() is not called to free the allocated memory. This issue was discovered during a fault injection test, which revealed an unreferenced object. The backtrace indicates that the memory allocation occurs in kmalloc order trace() and kmalloc(), and the leak is caused by the failure to call thermal cooling device destroy sysfs() to free the memory.Recommendations
To resolve this issue, ensure that
thermal cooling device destroy sysfs() is called when device register() fails to free the allocated memory. As a temporary workaround, consider reviewing the code to ensure proper memory management in the thermal cooling device register() function. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Memory Leak
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse