Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 to < 272168927f38bda46f6c1ed5f40de97689e7a5d2affected
  • 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 to < 882d7afaa4b82c20a7be7a3a039532a80ebacd23affected
  • 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 to < 5a3bda42394ff137eb2d3d3d20d2956a8c6e9237affected
  • 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 to < 584d420771e1ad2bb74e19a19da8ae0fee0a6e1faffected
  • 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 to < 44ed4f90a97ff6f339e50ac01db71544e0990efcaffected

Linux Linux

Default version status: affected

  • 5.19affected
  • 0 to < 5.19unaffected
  • 6.1.120 to ≤ 6.1.*unaffected
  • 6.6.64 to ≤ 6.6.*unaffected
  • 6.11.11 to ≤ 6.11.*unaffected
  • 6.12.2 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References