{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nirqchip/gic-v3-its: Fix potential VPE leak on error\n\nIn its_vpe_irq_domain_alloc, when its_vpe_init() returns an error,\nthere is an off-by-one in the number of VPEs to be freed.\n\nFix it by simply passing the number of VPEs allocated, which is the\nindex of the loop iterating over the VPEs.\n\n[maz: fixed commit message]"
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/irqchip/irq-gic-v3-its.c"
               ],
               "versions": [
                  {
                     "version": "7d75bbb4bc1a",
                     "lessThan": "7d39992d45ac",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7d75bbb4bc1a",
                     "lessThan": "5701e8bff314",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7d75bbb4bc1a",
                     "lessThan": "42d3711c2378",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7d75bbb4bc1a",
                     "lessThan": "568662e37f92",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7d75bbb4bc1a",
                     "lessThan": "e0c1c2e5da19",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7d75bbb4bc1a",
                     "lessThan": "280bef512933",
                     "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/irqchip/irq-gic-v3-its.c"
               ],
               "versions": [
                  {
                     "version": "4.14",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.14",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.249",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.209",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.150",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.70",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.14.9",
                     "lessThanOrEqual": "5.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/7d39992d45acd6f2d6b2f62389c55b61fb3d486b"
            },
            {
               "url": "https://git.kernel.org/stable/c/5701e8bff314c155e7afdc467b1e0389d86853d0"
            },
            {
               "url": "https://git.kernel.org/stable/c/42d3711c23781045e7a5cd28536c774b9a66d20b"
            },
            {
               "url": "https://git.kernel.org/stable/c/568662e37f927e3dc3e475f3ff7cf4ab7719c5e7"
            },
            {
               "url": "https://git.kernel.org/stable/c/e0c1c2e5da19685a20557a50f10c6aa4fa26aa84"
            },
            {
               "url": "https://git.kernel.org/stable/c/280bef512933b2dda01d681d8cbe499b98fc5bdd"
            }
         ],
         "title": "irqchip/gic-v3-its: Fix potential VPE leak on error",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2021-47373",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
