cve-2024-56546
Vulnerability from cvelistv5
Published
2024-12-27 14:11
Modified
2025-01-20 06:22
Severity ?
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.
Impacted products
Vendor Product Version
Linux Linux Version: 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700
Version: 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700
Version: 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700
Version: 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700
Version: 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700
Create a notification for this product.
   Linux Linux Version: 5.19
Create a notification for this product.
Show details on NVD website


{
   containers: {
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "drivers/soc/xilinx/xlnx_event_manager.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "272168927f38bda46f6c1ed5f40de97689e7a5d2",
                     status: "affected",
                     version: "05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700",
                     versionType: "git",
                  },
                  {
                     lessThan: "882d7afaa4b82c20a7be7a3a039532a80ebacd23",
                     status: "affected",
                     version: "05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700",
                     versionType: "git",
                  },
                  {
                     lessThan: "5a3bda42394ff137eb2d3d3d20d2956a8c6e9237",
                     status: "affected",
                     version: "05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700",
                     versionType: "git",
                  },
                  {
                     lessThan: "584d420771e1ad2bb74e19a19da8ae0fee0a6e1f",
                     status: "affected",
                     version: "05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700",
                     versionType: "git",
                  },
                  {
                     lessThan: "44ed4f90a97ff6f339e50ac01db71544e0990efc",
                     status: "affected",
                     version: "05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "drivers/soc/xilinx/xlnx_event_manager.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "5.19",
                  },
                  {
                     lessThan: "5.19",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.1.*",
                     status: "unaffected",
                     version: "6.1.120",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.64",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.11.*",
                     status: "unaffected",
                     version: "6.11.11",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.12.*",
                     status: "unaffected",
                     version: "6.12.2",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.13",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend()\n\nIf we fail to allocate memory for cb_data by kmalloc, the memory\nallocation for eve_data is never freed, add the missing kfree()\nin the error handling path.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2025-01-20T06:22:38.921Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/272168927f38bda46f6c1ed5f40de97689e7a5d2",
            },
            {
               url: "https://git.kernel.org/stable/c/882d7afaa4b82c20a7be7a3a039532a80ebacd23",
            },
            {
               url: "https://git.kernel.org/stable/c/5a3bda42394ff137eb2d3d3d20d2956a8c6e9237",
            },
            {
               url: "https://git.kernel.org/stable/c/584d420771e1ad2bb74e19a19da8ae0fee0a6e1f",
            },
            {
               url: "https://git.kernel.org/stable/c/44ed4f90a97ff6f339e50ac01db71544e0990efc",
            },
         ],
         title: "drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend()",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-56546",
      datePublished: "2024-12-27T14:11:27.626Z",
      dateReserved: "2024-12-27T14:03:05.989Z",
      dateUpdated: "2025-01-20T06:22:38.921Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-56546\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-27T14:15:34.383\",\"lastModified\":\"2024-12-27T14:15:34.383\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend()\\n\\nIf we fail to allocate memory for cb_data by kmalloc, the memory\\nallocation for eve_data is never freed, add the missing kfree()\\nin the error handling path.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/272168927f38bda46f6c1ed5f40de97689e7a5d2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/44ed4f90a97ff6f339e50ac01db71544e0990efc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/584d420771e1ad2bb74e19a19da8ae0fee0a6e1f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5a3bda42394ff137eb2d3d3d20d2956a8c6e9237\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/882d7afaa4b82c20a7be7a3a039532a80ebacd23\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.