What’s Vulnerable › Vulnerabilities

CVE-2024-56546: drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend()

Description

In the Linux kernel, the following vulnerability has been resolved: drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend() If we fail to allocate memory for cb_data by kmalloc, the memory allocation for eve_data is never freed, add the missing kfree() in the error handling path.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.120, 6.11.11, 6.12.2, 6.6.64. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-56546 or the next vulnerability affects your stack