{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nuio_hv_generic: Fix a memory leak in error handling paths\n\nIf 'vmbus_establish_gpadl()' fails, the (recv|send)_gpadl will not be\nupdated and 'hv_uio_cleanup()' in the error handling path will not be\nable to free the corresponding buffer.\n\nIn such a case, we need to free the buffer explicitly."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/uio/uio_hv_generic.c"
               ],
               "versions": [
                  {
                     "version": "cdfa835c6e5e",
                     "lessThan": "cdd91637d4ef",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "cdfa835c6e5e",
                     "lessThan": "d84b5e912212",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "cdfa835c6e5e",
                     "lessThan": "53486c467e35",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "cdfa835c6e5e",
                     "lessThan": "3ee098f96b8b",
                     "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/uio/uio_hv_generic.c"
               ],
               "versions": [
                  {
                     "version": "4.20",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.20",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.122",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.40",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.12.7",
                     "lessThanOrEqual": "5.12.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.13",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/cdd91637d4ef33e2be19a8e16e72e7d00c996d76"
            },
            {
               "url": "https://git.kernel.org/stable/c/d84b5e912212b05f6b5bde9f682046accfbe0354"
            },
            {
               "url": "https://git.kernel.org/stable/c/53486c467e356e06aa37047c984fccd64d78c827"
            },
            {
               "url": "https://git.kernel.org/stable/c/3ee098f96b8b6c1a98f7f97915f8873164e6af9d"
            }
         ],
         "title": "uio_hv_generic: Fix a memory leak in error handling paths",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2021-47071",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
