CVE-2021-47425 (GCVE-0-2021-47425)

Vulnerability from cvelistv5 – Published: 2024-05-21 15:04 – Updated: 2025-05-04 07:10
VLAI?
Title
i2c: acpi: fix resource leak in reconfiguration device addition
Summary
In the Linux kernel, the following vulnerability has been resolved: i2c: acpi: fix resource leak in reconfiguration device addition acpi_i2c_find_adapter_by_handle() calls bus_find_device() which takes a reference on the adapter which is never released which will result in a reference count leak and render the adapter unremovable. Make sure to put the adapter after creating the client in the same manner that we do for OF. [wsa: fixed title]
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 525e6fabeae286848592363bda13bc34b59bb5ac , < b8090a84d7758b929d348bafbd86bb7a10c5fb63 (git)
Affected: 525e6fabeae286848592363bda13bc34b59bb5ac , < 3d9d458a8aaafa47268ea4f1b4114a9f12927989 (git)
Affected: 525e6fabeae286848592363bda13bc34b59bb5ac , < 60bacf259e8c2eb2324f3e13275200baaee9494b (git)
Affected: 525e6fabeae286848592363bda13bc34b59bb5ac , < f86de018fd7a24ee07372d55ffa7824f0c674a95 (git)
Affected: 525e6fabeae286848592363bda13bc34b59bb5ac , < 90f1077c9184ec2ae9989e4642f211263f301694 (git)
Affected: 525e6fabeae286848592363bda13bc34b59bb5ac , < 6558b646ce1c2a872fe1c2c7cb116f05a2c1950f (git)
Create a notification for this product.
    Linux Linux Affected: 4.8
Unaffected: 0 , < 4.8 (semver)
Unaffected: 4.14.251 , ≤ 4.14.* (semver)
Unaffected: 4.19.211 , ≤ 4.19.* (semver)
Unaffected: 5.4.153 , ≤ 5.4.* (semver)
Unaffected: 5.10.73 , ≤ 5.10.* (semver)
Unaffected: 5.14.12 , ≤ 5.14.* (semver)
Unaffected: 5.15 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-47425",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-21T17:32:39.731015Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:14:05.025Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:39:59.439Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b8090a84d7758b929d348bafbd86bb7a10c5fb63"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/3d9d458a8aaafa47268ea4f1b4114a9f12927989"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/60bacf259e8c2eb2324f3e13275200baaee9494b"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f86de018fd7a24ee07372d55ffa7824f0c674a95"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/90f1077c9184ec2ae9989e4642f211263f301694"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/6558b646ce1c2a872fe1c2c7cb116f05a2c1950f"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/i2c/i2c-core-acpi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b8090a84d7758b929d348bafbd86bb7a10c5fb63",
              "status": "affected",
              "version": "525e6fabeae286848592363bda13bc34b59bb5ac",
              "versionType": "git"
            },
            {
              "lessThan": "3d9d458a8aaafa47268ea4f1b4114a9f12927989",
              "status": "affected",
              "version": "525e6fabeae286848592363bda13bc34b59bb5ac",
              "versionType": "git"
            },
            {
              "lessThan": "60bacf259e8c2eb2324f3e13275200baaee9494b",
              "status": "affected",
              "version": "525e6fabeae286848592363bda13bc34b59bb5ac",
              "versionType": "git"
            },
            {
              "lessThan": "f86de018fd7a24ee07372d55ffa7824f0c674a95",
              "status": "affected",
              "version": "525e6fabeae286848592363bda13bc34b59bb5ac",
              "versionType": "git"
            },
            {
              "lessThan": "90f1077c9184ec2ae9989e4642f211263f301694",
              "status": "affected",
              "version": "525e6fabeae286848592363bda13bc34b59bb5ac",
              "versionType": "git"
            },
            {
              "lessThan": "6558b646ce1c2a872fe1c2c7cb116f05a2c1950f",
              "status": "affected",
              "version": "525e6fabeae286848592363bda13bc34b59bb5ac",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/i2c/i2c-core-acpi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.8"
            },
            {
              "lessThan": "4.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.251",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.211",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.153",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.73",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.14.*",
              "status": "unaffected",
              "version": "5.14.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.251",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.211",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.153",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.73",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.14.12",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T07:10:38.420Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47425",
    "datePublished": "2024-05-21T15:04:11.931Z",
    "dateReserved": "2024-05-21T14:58:30.827Z",
    "dateUpdated": "2025-05-04T07:10:38.420Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b8090a84d7758b929d348bafbd86bb7a10c5fb63\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/3d9d458a8aaafa47268ea4f1b4114a9f12927989\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/60bacf259e8c2eb2324f3e13275200baaee9494b\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/f86de018fd7a24ee07372d55ffa7824f0c674a95\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/90f1077c9184ec2ae9989e4642f211263f301694\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/6558b646ce1c2a872fe1c2c7cb116f05a2c1950f\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:39:59.439Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47425\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-21T17:32:39.731015Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:25.298Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"i2c: acpi: fix resource leak in reconfiguration device addition\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"525e6fabeae286848592363bda13bc34b59bb5ac\", \"lessThan\": \"b8090a84d7758b929d348bafbd86bb7a10c5fb63\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"525e6fabeae286848592363bda13bc34b59bb5ac\", \"lessThan\": \"3d9d458a8aaafa47268ea4f1b4114a9f12927989\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"525e6fabeae286848592363bda13bc34b59bb5ac\", \"lessThan\": \"60bacf259e8c2eb2324f3e13275200baaee9494b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"525e6fabeae286848592363bda13bc34b59bb5ac\", \"lessThan\": \"f86de018fd7a24ee07372d55ffa7824f0c674a95\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"525e6fabeae286848592363bda13bc34b59bb5ac\", \"lessThan\": \"90f1077c9184ec2ae9989e4642f211263f301694\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"525e6fabeae286848592363bda13bc34b59bb5ac\", \"lessThan\": \"6558b646ce1c2a872fe1c2c7cb116f05a2c1950f\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/i2c/i2c-core-acpi.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.8\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.8\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.14.251\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.211\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.153\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.73\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.14.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.14.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/i2c/i2c-core-acpi.c\"], \"defaultStatus\": \"affected\"}], \"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\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"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]\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.14.251\", \"versionStartIncluding\": \"4.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.211\", \"versionStartIncluding\": \"4.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.153\", \"versionStartIncluding\": \"4.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.73\", \"versionStartIncluding\": \"4.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.14.12\", \"versionStartIncluding\": \"4.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15\", \"versionStartIncluding\": \"4.8\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T07:10:38.420Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2021-47425\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T07:10:38.420Z\", \"dateReserved\": \"2024-05-21T14:58:30.827Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-21T15:04:11.931Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…