{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/vt-d: Fix sysfs leak in alloc_iommu()\n\niommu_device_sysfs_add() is called before, so is has to be cleaned on subsequent\nerrors."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/iommu/intel/dmar.c"
               ],
               "versions": [
                  {
                     "version": "39ab9555c241",
                     "lessThan": "22da9f497838",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "39ab9555c241",
                     "lessThan": "2ec5e9bb6b05",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "39ab9555c241",
                     "lessThan": "044bbe8b92ab",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "39ab9555c241",
                     "lessThan": "f01134321d04",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "39ab9555c241",
                     "lessThan": "ca466561eef3",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "39ab9555c241",
                     "lessThan": "0ee74d5a4863",
                     "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/iommu/intel/dmar.c"
               ],
               "versions": [
                  {
                     "version": "4.11",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.11",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.235",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.193",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.124",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.42",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.12.9",
                     "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/22da9f4978381a99f1abaeaf6c9b83be6ab5ddd8"
            },
            {
               "url": "https://git.kernel.org/stable/c/2ec5e9bb6b0560c90d315559c28a99723c80b996"
            },
            {
               "url": "https://git.kernel.org/stable/c/044bbe8b92ab4e542de7f6c93c88ea65cccd8e29"
            },
            {
               "url": "https://git.kernel.org/stable/c/f01134321d04f47c718bb41b799bcdeda27873d2"
            },
            {
               "url": "https://git.kernel.org/stable/c/ca466561eef36d1ec657673e3944eb6340bddb5b"
            },
            {
               "url": "https://git.kernel.org/stable/c/0ee74d5a48635c848c20f152d0d488bf84641304"
            }
         ],
         "title": "iommu/vt-d: Fix sysfs leak in alloc_iommu()",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2021-47177",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
