CVE Database›Document archive›CVE-2024-56546

CVE-2024-56546

kernel: drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend()

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · December 27, 2024

Updated · November 25, 2025

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.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified