CVE-2024-56745
CVSS 3.1 Score 5.5 of 10 (medium)
Details
Published Dec 29, 2024
Updated: Jan 7, 2025
CWE ID 401
Summary
CVE-2024-56745 is a vulnerability affecting the Linux kernel. In the function "reset_method_store()", a memory leak occurred due to a failure to properly handle the allocation of memory for the "options" string when using "strsep()" to find spaces. If there were no remaining spaces, "options" would be set to NULL, causing "kfree(options)" to not free the previously allocated memory. This issue has been addressed by using a separate "tmp_options" variable for iterating with "strsep()" and preserving the original "options" value.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.