CVE-2024-56572
Vulnerability from cvelistv5
Published
2024-12-27 14:23
Modified
2024-12-27 14:23
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal() The buffer in the loop should be released under the exception path, otherwise there may be a memory leak here. To mitigate this, free the buffer when allegro_alloc_buffer fails.
Impacted products
Vendor Product Version
Linux Linux Version: 5.3
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/allegro-dvt/allegro-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cf642904be39ae0d441dbdfa8f485e0a46260be4",
              "status": "affected",
              "version": "f20387dfd065693ba7ea2788a2f893bf653c9cb8",
              "versionType": "git"
            },
            {
              "lessThan": "74a65313578b35e1239966adfa7ac2bdd60caf00",
              "status": "affected",
              "version": "f20387dfd065693ba7ea2788a2f893bf653c9cb8",
              "versionType": "git"
            },
            {
              "lessThan": "64f72a738864b506ab50b4a6cb3ce3c3e04b71af",
              "status": "affected",
              "version": "f20387dfd065693ba7ea2788a2f893bf653c9cb8",
              "versionType": "git"
            },
            {
              "lessThan": "17e5613666209be4e5be1f1894f1a6014a8a0658",
              "status": "affected",
              "version": "f20387dfd065693ba7ea2788a2f893bf653c9cb8",
              "versionType": "git"
            },
            {
              "lessThan": "6712a28a4f923ffdf51cff267ad05a634ee1babc",
              "status": "affected",
              "version": "f20387dfd065693ba7ea2788a2f893bf653c9cb8",
              "versionType": "git"
            },
            {
              "lessThan": "891b5790bee8fc6ddba17874dd87a646128d0b99",
              "status": "affected",
              "version": "f20387dfd065693ba7ea2788a2f893bf653c9cb8",
              "versionType": "git"
            },
            {
              "lessThan": "0f514068fbc5d4d189c817adc7c4e32cffdc2e47",
              "status": "affected",
              "version": "f20387dfd065693ba7ea2788a2f893bf653c9cb8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/allegro-dvt/allegro-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.3"
            },
            {
              "lessThan": "5.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.287",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.231",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.174",
              "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.12.*",
              "status": "unaffected",
              "version": "6.12.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.13-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()\n\nThe buffer in the loop should be released under the exception path,\notherwise there may be a memory leak here.\n\nTo mitigate this, free the buffer when allegro_alloc_buffer fails."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-27T14:23:15.298Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cf642904be39ae0d441dbdfa8f485e0a46260be4"
        },
        {
          "url": "https://git.kernel.org/stable/c/74a65313578b35e1239966adfa7ac2bdd60caf00"
        },
        {
          "url": "https://git.kernel.org/stable/c/64f72a738864b506ab50b4a6cb3ce3c3e04b71af"
        },
        {
          "url": "https://git.kernel.org/stable/c/17e5613666209be4e5be1f1894f1a6014a8a0658"
        },
        {
          "url": "https://git.kernel.org/stable/c/6712a28a4f923ffdf51cff267ad05a634ee1babc"
        },
        {
          "url": "https://git.kernel.org/stable/c/891b5790bee8fc6ddba17874dd87a646128d0b99"
        },
        {
          "url": "https://git.kernel.org/stable/c/0f514068fbc5d4d189c817adc7c4e32cffdc2e47"
        }
      ],
      "title": "media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-56572",
    "datePublished": "2024-12-27T14:23:15.298Z",
    "dateReserved": "2024-12-27T14:03:05.998Z",
    "dateUpdated": "2024-12-27T14:23:15.298Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-56572\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-27T15:15:16.210\",\"lastModified\":\"2024-12-27T15:15:16.210\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()\\n\\nThe buffer in the loop should be released under the exception path,\\notherwise there may be a memory leak here.\\n\\nTo mitigate this, free the buffer when allegro_alloc_buffer fails.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0f514068fbc5d4d189c817adc7c4e32cffdc2e47\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/17e5613666209be4e5be1f1894f1a6014a8a0658\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/64f72a738864b506ab50b4a6cb3ce3c3e04b71af\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6712a28a4f923ffdf51cff267ad05a634ee1babc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/74a65313578b35e1239966adfa7ac2bdd60caf00\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/891b5790bee8fc6ddba17874dd87a646128d0b99\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cf642904be39ae0d441dbdfa8f485e0a46260be4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




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.