{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: acpi: fix resource leak in reconfiguration device addition\n\nacpi_i2c_find_adapter_by_handle() calls bus_find_device() which takes a\nreference on the adapter which is never released which will result in a\nreference count leak and render the adapter unremovable.  Make sure to\nput the adapter after creating the client in the same manner that we do\nfor OF.\n\n[wsa: fixed title]"
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/i2c/i2c-core-acpi.c"
               ],
               "versions": [
                  {
                     "version": "525e6fabeae2",
                     "lessThan": "b8090a84d775",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "525e6fabeae2",
                     "lessThan": "3d9d458a8aaa",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "525e6fabeae2",
                     "lessThan": "60bacf259e8c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "525e6fabeae2",
                     "lessThan": "f86de018fd7a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "525e6fabeae2",
                     "lessThan": "90f1077c9184",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "525e6fabeae2",
                     "lessThan": "6558b646ce1c",
                     "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/i2c/i2c-core-acpi.c"
               ],
               "versions": [
                  {
                     "version": "4.8",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.8",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.251",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.211",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.153",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.73",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.14.12",
                     "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/b8090a84d7758b929d348bafbd86bb7a10c5fb63"
            },
            {
               "url": "https://git.kernel.org/stable/c/3d9d458a8aaafa47268ea4f1b4114a9f12927989"
            },
            {
               "url": "https://git.kernel.org/stable/c/60bacf259e8c2eb2324f3e13275200baaee9494b"
            },
            {
               "url": "https://git.kernel.org/stable/c/f86de018fd7a24ee07372d55ffa7824f0c674a95"
            },
            {
               "url": "https://git.kernel.org/stable/c/90f1077c9184ec2ae9989e4642f211263f301694"
            },
            {
               "url": "https://git.kernel.org/stable/c/6558b646ce1c2a872fe1c2c7cb116f05a2c1950f"
            }
         ],
         "title": "i2c: acpi: fix resource leak in reconfiguration device addition",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2021-47425",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
