CVE-2024-56546

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

MEDIUM
5.5
CVSS Score
Published: December 27, 2024 at 02:11 PM UTC
Updated: June 17, 2026 at 08:12 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.19 ≤ v < 6.1.1205.19 ≤ v < 6.11.115.19 ≤ v < 6.12.25.19 ≤ v < 6.135.19 ≤ v < 6.6.646.12 ≤ v < 6.12.26.2 ≤ v < 6.6.646.7 ≤ v < 6.11.115.195e5ba40ea7ab6a99bb8d6117c899d0e13ca8700
Vendor states this is fixed in 272168927f38bda46f6c1ed5f40de97689e7a5d2 (fixed)
Vendor states this is fixed in 44ed4f90a97ff6f339e50ac01db71544e0990efc (fixed)
Vendor states this is fixed in 584d420771e1ad2bb74e19a19da8ae0fee0a6e1f (fixed)
Vendor states this is fixed in 5a3bda42394ff137eb2d3d3d20d2956a8c6e9237 (fixed)
Vendor states this is fixed in 882d7afaa4b82c20a7be7a3a039532a80ebacd23 (fixed)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 6.1.120 (unaffected)
Vendor states this is fixed in 6.11.11 (unaffected)
Vendor states this is fixed in 6.12.2 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.64 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/272168927f38bda46f6c1ed5f40de97689e7a5d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/44ed4f90a97ff6f339e50ac01db71544e0990efc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/584d420771e1ad2bb74e19a19da8ae0fee0a6e1f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5a3bda42394ff137eb2d3d3d20d2956a8c6e9237
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/882d7afaa4b82c20a7be7a3a039532a80ebacd23
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card