CVE-2024-27078
Vulnerability from cvelistv5
Published
2024-05-01 13:04
Modified
2024-12-19 08:53
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: media: v4l2-tpg: fix some memleaks in tpg_alloc In tpg_alloc, resources should be deallocated in each and every error-handling paths, since they are allocated in for statements. Otherwise there would be memleaks because tpg_free is called only when tpg_alloc return 0.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0de691ff547d86dd54c24b40a81f9c925df8dd77
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/31096da07933598da8522c54bd007376fb152a09
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/4c86c772fef06f5d7a66151bac42366825db0941
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/622b1cf38521569869c8f7b9fbe9e4f1a289add7
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/770a57922ce36a8476c43f7400b6501c554ea511
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8269ab16415f2065cd792c49b0475543936cbd79
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8cf9c5051076e0eb958f4361d50d8b0c3ee6691c
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/94303a06e1852a366e9671fff46d19459f88cb28
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/0de691ff547d86dd54c24b40a81f9c925df8dd77
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/31096da07933598da8522c54bd007376fb152a09
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/4c86c772fef06f5d7a66151bac42366825db0941
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/622b1cf38521569869c8f7b9fbe9e4f1a289add7
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/770a57922ce36a8476c43f7400b6501c554ea511
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8269ab16415f2065cd792c49b0475543936cbd79
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8cf9c5051076e0eb958f4361d50d8b0c3ee6691c
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/94303a06e1852a366e9671fff46d19459f88cb28
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Impacted products
Vendor Product Version
Linux Linux Version: 3.18
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-27078",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-12T15:32:05.412221Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-12T15:32:19.858Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T00:27:58.532Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/0de691ff547d86dd54c24b40a81f9c925df8dd77"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8269ab16415f2065cd792c49b0475543936cbd79"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/94303a06e1852a366e9671fff46d19459f88cb28"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/770a57922ce36a8476c43f7400b6501c554ea511"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/4c86c772fef06f5d7a66151bac42366825db0941"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/31096da07933598da8522c54bd007376fb152a09"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/622b1cf38521569869c8f7b9fbe9e4f1a289add7"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8cf9c5051076e0eb958f4361d50d8b0c3ee6691c"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/common/v4l2-tpg/v4l2-tpg-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0de691ff547d86dd54c24b40a81f9c925df8dd77",
              "status": "affected",
              "version": "63881df94d3ecbb0deafa0b77da62ff2f32961c4",
              "versionType": "git"
            },
            {
              "lessThan": "8269ab16415f2065cd792c49b0475543936cbd79",
              "status": "affected",
              "version": "63881df94d3ecbb0deafa0b77da62ff2f32961c4",
              "versionType": "git"
            },
            {
              "lessThan": "94303a06e1852a366e9671fff46d19459f88cb28",
              "status": "affected",
              "version": "63881df94d3ecbb0deafa0b77da62ff2f32961c4",
              "versionType": "git"
            },
            {
              "lessThan": "770a57922ce36a8476c43f7400b6501c554ea511",
              "status": "affected",
              "version": "63881df94d3ecbb0deafa0b77da62ff2f32961c4",
              "versionType": "git"
            },
            {
              "lessThan": "6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d",
              "status": "affected",
              "version": "63881df94d3ecbb0deafa0b77da62ff2f32961c4",
              "versionType": "git"
            },
            {
              "lessThan": "4c86c772fef06f5d7a66151bac42366825db0941",
              "status": "affected",
              "version": "63881df94d3ecbb0deafa0b77da62ff2f32961c4",
              "versionType": "git"
            },
            {
              "lessThan": "31096da07933598da8522c54bd007376fb152a09",
              "status": "affected",
              "version": "63881df94d3ecbb0deafa0b77da62ff2f32961c4",
              "versionType": "git"
            },
            {
              "lessThan": "622b1cf38521569869c8f7b9fbe9e4f1a289add7",
              "status": "affected",
              "version": "63881df94d3ecbb0deafa0b77da62ff2f32961c4",
              "versionType": "git"
            },
            {
              "lessThan": "8cf9c5051076e0eb958f4361d50d8b0c3ee6691c",
              "status": "affected",
              "version": "63881df94d3ecbb0deafa0b77da62ff2f32961c4",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/common/v4l2-tpg/v4l2-tpg-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.18"
            },
            {
              "lessThan": "3.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.311",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.273",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.214",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.153",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.83",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.23",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-tpg: fix some memleaks in tpg_alloc\n\nIn tpg_alloc, resources should be deallocated in each and every\nerror-handling paths, since they are allocated in for statements.\nOtherwise there would be memleaks because tpg_free is called only when\ntpg_alloc return 0."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T08:53:58.380Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0de691ff547d86dd54c24b40a81f9c925df8dd77"
        },
        {
          "url": "https://git.kernel.org/stable/c/8269ab16415f2065cd792c49b0475543936cbd79"
        },
        {
          "url": "https://git.kernel.org/stable/c/94303a06e1852a366e9671fff46d19459f88cb28"
        },
        {
          "url": "https://git.kernel.org/stable/c/770a57922ce36a8476c43f7400b6501c554ea511"
        },
        {
          "url": "https://git.kernel.org/stable/c/6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d"
        },
        {
          "url": "https://git.kernel.org/stable/c/4c86c772fef06f5d7a66151bac42366825db0941"
        },
        {
          "url": "https://git.kernel.org/stable/c/31096da07933598da8522c54bd007376fb152a09"
        },
        {
          "url": "https://git.kernel.org/stable/c/622b1cf38521569869c8f7b9fbe9e4f1a289add7"
        },
        {
          "url": "https://git.kernel.org/stable/c/8cf9c5051076e0eb958f4361d50d8b0c3ee6691c"
        }
      ],
      "title": "media: v4l2-tpg: fix some memleaks in tpg_alloc",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-27078",
    "datePublished": "2024-05-01T13:04:54.979Z",
    "dateReserved": "2024-02-19T14:20:24.217Z",
    "dateUpdated": "2024-12-19T08:53:58.380Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-27078\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-01T13:15:51.393\",\"lastModified\":\"2024-11-21T09:03:48.950\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: v4l2-tpg: fix some memleaks in tpg_alloc\\n\\nIn tpg_alloc, resources should be deallocated in each and every\\nerror-handling paths, since they are allocated in for statements.\\nOtherwise there would be memleaks because tpg_free is called only when\\ntpg_alloc return 0.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: medio: v4l2-tpg: corrige algunas fugas de memoria en tpg_alloc En tpg_alloc, los recursos deben desasignarse en todas y cada una de las rutas de manejo de errores, ya que se asignan en declaraciones for. De lo contrario, habr\u00eda memleaks porque se llama a tpg_free solo cuando tpg_alloc devuelve 0.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0de691ff547d86dd54c24b40a81f9c925df8dd77\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/31096da07933598da8522c54bd007376fb152a09\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4c86c772fef06f5d7a66151bac42366825db0941\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/622b1cf38521569869c8f7b9fbe9e4f1a289add7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/770a57922ce36a8476c43f7400b6501c554ea511\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8269ab16415f2065cd792c49b0475543936cbd79\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8cf9c5051076e0eb958f4361d50d8b0c3ee6691c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/94303a06e1852a366e9671fff46d19459f88cb28\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0de691ff547d86dd54c24b40a81f9c925df8dd77\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/31096da07933598da8522c54bd007376fb152a09\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/4c86c772fef06f5d7a66151bac42366825db0941\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/622b1cf38521569869c8f7b9fbe9e4f1a289add7\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/770a57922ce36a8476c43f7400b6501c554ea511\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/8269ab16415f2065cd792c49b0475543936cbd79\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/8cf9c5051076e0eb958f4361d50d8b0c3ee6691c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/94303a06e1852a366e9671fff46d19459f88cb28\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


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.