Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.120, 6.11.11, 6.12.2, 6.6.64
CVEs
CVE-2024-56546
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:30 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 27 Dec 2024, 14:11 UTC

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.

osv:CVE-2024-56546

Kernel

Fixed versions: 6.1.120, 6.6.64, 6.11.11, 6.12.2

Complete source record
{
  "id": "cb8ec2bced8577815d9910feec49fa4efb58957a26f51584830811af50ed01f4",
  "url": "https://osv.dev/vulnerability/CVE-2024-56546",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend()",
    "summary": "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.",
    "evidence": "osv:CVE-2024-56546",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.120",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.64",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.11",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-56546",
      "aliases": [
        "CVE-2024-56546"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700"
                },
                {
                  "fixed": "272168927f38bda46f6c1ed5f40de97689e7a5d2"
                },
                {
                  "fixed": "882d7afaa4b82c20a7be7a3a039532a80ebacd23"
                },
                {
                  "fixed": "5a3bda42394ff137eb2d3d3d20d2956a8c6e9237"
                },
                {
                  "fixed": "584d420771e1ad2bb74e19a19da8ae0fee0a6e1f"
                },
                {
                  "fixed": "44ed4f90a97ff6f339e50ac01db71544e0990efc"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56546.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.19.0"
                },
                {
                  "fixed": "6.1.120"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.64"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.11.11"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.12.0"
                },
                {
                  "fixed": "6.12.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56546.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.505704356Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/272168927f38bda46f6c1ed5f40de97689e7a5d2",
        "https://git.kernel.org/stable/c/44ed4f90a97ff6f339e50ac01db71544e0990efc",
        "https://git.kernel.org/stable/c/584d420771e1ad2bb74e19a19da8ae0fee0a6e1f",
        "https://git.kernel.org/stable/c/5a3bda42394ff137eb2d3d3d20d2956a8c6e9237",
        "https://git.kernel.org/stable/c/882d7afaa4b82c20a7be7a3a039532a80ebacd23",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56546.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-56546",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56546.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-56546",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 488488,
  "published_at": "2024-12-27T14:11:27.626+00:00"
}