{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "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."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/media/common/v4l2-tpg/v4l2-tpg-core.c"
               ],
               "versions": [
                  {
                     "version": "63881df94d3e",
                     "lessThan": "0de691ff547d",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "63881df94d3e",
                     "lessThan": "8269ab16415f",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "63881df94d3e",
                     "lessThan": "94303a06e185",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "63881df94d3e",
                     "lessThan": "770a57922ce3",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "63881df94d3e",
                     "lessThan": "6bf5c2fade8e",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "63881df94d3e",
                     "lessThan": "4c86c772fef0",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "63881df94d3e",
                     "lessThan": "31096da07933",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "63881df94d3e",
                     "lessThan": "622b1cf38521",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "63881df94d3e",
                     "lessThan": "8cf9c5051076",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/media/common/v4l2-tpg/v4l2-tpg-core.c"
               ],
               "versions": [
                  {
                     "version": "3.18",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "3.18",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.311",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.273",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.214",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.153",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.83",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.23",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.7.11",
                     "lessThanOrEqual": "6.7.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8.2",
                     "lessThanOrEqual": "6.8.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.9",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "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-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-27078",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
