CVE-2024-56546: drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend()
In the Linux kernel, the following vulnerability has been resolved:
drivers: soc: xilinx: add the missing kfree in xlnxaddcbforsuspend()
If we fail to allocate memory for cbdata by kmalloc, the memory allocation for evedata is never freed, add the missing kfree() in the error handling path.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56546?
CVE-2024-56546 has a medium severity rating due to the potential for memory leaks in the Linux kernel.
How do I fix CVE-2024-56546?
To mitigate CVE-2024-56546, upgrade to the patched versions: 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.15-1 of the Linux package.
Which Linux kernels are affected by CVE-2024-56546?
CVE-2024-56546 affects the Linux kernel prior to the fixed versions specified in the security patches.
What is the nature of the vulnerability in CVE-2024-56546?
The vulnerability in CVE-2024-56546 pertains to memory allocation failure not being handled correctly, leading to potential memory leaks.
Is there an exploit available for CVE-2024-56546?
As of now, there is no known public exploit specifically targeting CVE-2024-56546.