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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-02)
- Published: 2024-12-27T14:11:27.626Z
- Modified: 2026-06-17T08:12:21.557Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 272168927f38bda46f6c1ed5f40de97689e7a5d2; from 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 882d7afaa4b82c20a7be7a3a039532a80ebacd23; from 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 5a3bda42394ff137eb2d3d3d20d2956a8c6e9237; from 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 584d420771e1ad2bb74e19a19da8ae0fee0a6e1f; from 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 44ed4f90a97ff6f339e50ac01db71544e0990efc; 5.19 (not affected: before 5.19; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 5.19 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## References

- <https://git.kernel.org/stable/c/272168927f38bda46f6c1ed5f40de97689e7a5d2> (patch)
- <https://git.kernel.org/stable/c/882d7afaa4b82c20a7be7a3a039532a80ebacd23> (patch)
- <https://git.kernel.org/stable/c/5a3bda42394ff137eb2d3d3d20d2956a8c6e9237> (patch)
- <https://git.kernel.org/stable/c/584d420771e1ad2bb74e19a19da8ae0fee0a6e1f> (patch)
- <https://git.kernel.org/stable/c/44ed4f90a97ff6f339e50ac01db71544e0990efc> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

- CVE List: [CVE-2024-56546](https://www.cve.org/CVERecord?id=CVE-2024-56546), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56546](https://nvd.nist.gov/vuln/detail/CVE-2024-56546), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56546 · Whole record: https://cve.day/CVE-2024-56546.json · Rebuilt by cve.day 2026-11-25T22:58:50.442Z
