CVE-2024-56546

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

State
Published
Severity
Not scored
Published
Dec 27, 2024
Updated
May 11, 2026
Reserved
Dec 27, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 to before 272168927f38bda46f6c1ed5f40de97689e7a5d2Affected
  • 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 to before 882d7afaa4b82c20a7be7a3a039532a80ebacd23Affected
  • 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 to before 5a3bda42394ff137eb2d3d3d20d2956a8c6e9237Affected
  • 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 to before 584d420771e1ad2bb74e19a19da8ae0fee0a6e1fAffected
  • 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 to before 44ed4f90a97ff6f339e50ac01db71544e0990efcAffected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.120 through 6.1.*Not affected
  • 6.6.64 through 6.6.*Not affected
  • 6.11.11 through 6.11.*Not affected
  • 6.12.2 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.