cve-2024-56572
Vulnerability from cvelistv5
Published
2024-12-27 14:23
Modified
2025-01-20 06: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: f20387dfd065693ba7ea2788a2f893bf653c9cb8
Version: f20387dfd065693ba7ea2788a2f893bf653c9cb8
Version: f20387dfd065693ba7ea2788a2f893bf653c9cb8
Version: f20387dfd065693ba7ea2788a2f893bf653c9cb8
Version: f20387dfd065693ba7ea2788a2f893bf653c9cb8
Version: f20387dfd065693ba7ea2788a2f893bf653c9cb8
Version: f20387dfd065693ba7ea2788a2f893bf653c9cb8
Create a notification for this product.
   Linux Linux Version: 5.3
Create a notification for this product.
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",
                     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: "2025-01-20T06:23:19.677Z",
            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: "2025-01-20T06:23:19.677Z",
      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\":\"2025-01-14T15:46:25.400\",\"vulnStatus\":\"Analyzed\",\"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.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: platform: allegro-dvt: Se solucionó una posible pérdida de memoria en allocate_buffers_internal(). El búfer en el bucle debe liberarse en la ruta de excepción; de lo contrario, puede haber una pérdida de memoria aquí. Para mitigar esto, libere el búfer cuando falle allegro_alloc_buffer.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-401\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.3\",\"versionEndExcluding\":\"5.4.287\",\"matchCriteriaId\":\"A7B0EBE3-11AF-4530-A474-742ABBCB1618\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.231\",\"matchCriteriaId\":\"B5C644CC-2BD7-4E32-BC54-8DCC7ABE9935\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.174\",\"matchCriteriaId\":\"419FD073-1517-4FD5-8158-F94BC68A1E89\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.120\",\"matchCriteriaId\":\"09AC6122-E2A4-40FE-9D33-268A1B2EC265\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.64\",\"matchCriteriaId\":\"CA16DEE3-ABEC-4449-9F4A-7A3DC4FC36C7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.12.4\",\"matchCriteriaId\":\"04756810-D093-4B43-B1D9-CF5035968061\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0f514068fbc5d4d189c817adc7c4e32cffdc2e47\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/17e5613666209be4e5be1f1894f1a6014a8a0658\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/64f72a738864b506ab50b4a6cb3ce3c3e04b71af\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6712a28a4f923ffdf51cff267ad05a634ee1babc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/74a65313578b35e1239966adfa7ac2bdd60caf00\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/891b5790bee8fc6ddba17874dd87a646128d0b99\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cf642904be39ae0d441dbdfa8f485e0a46260be4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
   },
}


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.