CVE-2022-50141 (GCVE-0-2022-50141)
Vulnerability from cvelistv5
Published
2025-06-18 11:03
Modified
2025-06-18 11:03
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch of_find_matching_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. of_node_put() checks null pointer.
Impacted products
Vendor Product Version
Linux Linux Version: ea35645a3c66a74af92d3bbb4eb131220fc3e58a
Version: ea35645a3c66a74af92d3bbb4eb131220fc3e58a
Version: ea35645a3c66a74af92d3bbb4eb131220fc3e58a
Version: ea35645a3c66a74af92d3bbb4eb131220fc3e58a
Version: ea35645a3c66a74af92d3bbb4eb131220fc3e58a
Version: ea35645a3c66a74af92d3bbb4eb131220fc3e58a
Version: ea35645a3c66a74af92d3bbb4eb131220fc3e58a
Version: ea35645a3c66a74af92d3bbb4eb131220fc3e58a
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/mmc/host/sdhci-of-esdhc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a63d5d01e83b984b1b9c7ae8fc9c8c93697a3820",
              "status": "affected",
              "version": "ea35645a3c66a74af92d3bbb4eb131220fc3e58a",
              "versionType": "git"
            },
            {
              "lessThan": "547db1dd98d1815574ebea7358015a17199a93bc",
              "status": "affected",
              "version": "ea35645a3c66a74af92d3bbb4eb131220fc3e58a",
              "versionType": "git"
            },
            {
              "lessThan": "4c472a2c9ed6ea9d272268d7f484d4303c549f1a",
              "status": "affected",
              "version": "ea35645a3c66a74af92d3bbb4eb131220fc3e58a",
              "versionType": "git"
            },
            {
              "lessThan": "b305475df756256a186623f0991d05a816de881a",
              "status": "affected",
              "version": "ea35645a3c66a74af92d3bbb4eb131220fc3e58a",
              "versionType": "git"
            },
            {
              "lessThan": "352377cf74710bc3368dddf78f17210dfe456933",
              "status": "affected",
              "version": "ea35645a3c66a74af92d3bbb4eb131220fc3e58a",
              "versionType": "git"
            },
            {
              "lessThan": "b074f1e8060836baeb0ee91181f4194b9a0ee16a",
              "status": "affected",
              "version": "ea35645a3c66a74af92d3bbb4eb131220fc3e58a",
              "versionType": "git"
            },
            {
              "lessThan": "8b902840f6a3584f702bcb59834691b30f3d7c5a",
              "status": "affected",
              "version": "ea35645a3c66a74af92d3bbb4eb131220fc3e58a",
              "versionType": "git"
            },
            {
              "lessThan": "b5899a3e2f783a27b268e38d37f9b24c71bddf45",
              "status": "affected",
              "version": "ea35645a3c66a74af92d3bbb4eb131220fc3e58a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/mmc/host/sdhci-of-esdhc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.12"
            },
            {
              "lessThan": "4.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.291",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.256",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.211",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.137",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.291",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.256",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.211",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.137",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.61",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.18",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.2",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch\n\nof_find_matching_node() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not need anymore.\nAdd missing of_node_put() to avoid refcount leak.\nof_node_put() checks null pointer."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-06-18T11:03:03.704Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a63d5d01e83b984b1b9c7ae8fc9c8c93697a3820"
        },
        {
          "url": "https://git.kernel.org/stable/c/547db1dd98d1815574ebea7358015a17199a93bc"
        },
        {
          "url": "https://git.kernel.org/stable/c/4c472a2c9ed6ea9d272268d7f484d4303c549f1a"
        },
        {
          "url": "https://git.kernel.org/stable/c/b305475df756256a186623f0991d05a816de881a"
        },
        {
          "url": "https://git.kernel.org/stable/c/352377cf74710bc3368dddf78f17210dfe456933"
        },
        {
          "url": "https://git.kernel.org/stable/c/b074f1e8060836baeb0ee91181f4194b9a0ee16a"
        },
        {
          "url": "https://git.kernel.org/stable/c/8b902840f6a3584f702bcb59834691b30f3d7c5a"
        },
        {
          "url": "https://git.kernel.org/stable/c/b5899a3e2f783a27b268e38d37f9b24c71bddf45"
        }
      ],
      "title": "mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50141",
    "datePublished": "2025-06-18T11:03:03.704Z",
    "dateReserved": "2025-06-18T10:57:27.423Z",
    "dateUpdated": "2025-06-18T11:03:03.704Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50141\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-06-18T11:15:44.070\",\"lastModified\":\"2025-06-18T13:47:40.833\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch\\n\\nof_find_matching_node() returns a node pointer with refcount\\nincremented, we should use of_node_put() on it when not need anymore.\\nAdd missing of_node_put() to avoid refcount leak.\\nof_node_put() checks null pointer.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mmc: sdhci-of-esdhc: Se corrige la fuga de recuento de referencias en esdhc_signal_voltage_switch. of_find_matching_node() devuelve un puntero de nodo con el recuento de referencias incrementado. Debemos usar of_node_put() cuando ya no sea necesario. Se ha a\u00f1adido la funci\u00f3n of_node_put() que falta para evitar la fuga de recuento de referencias. of_node_put() comprueba el puntero nulo.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/352377cf74710bc3368dddf78f17210dfe456933\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4c472a2c9ed6ea9d272268d7f484d4303c549f1a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/547db1dd98d1815574ebea7358015a17199a93bc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8b902840f6a3584f702bcb59834691b30f3d7c5a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a63d5d01e83b984b1b9c7ae8fc9c8c93697a3820\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b074f1e8060836baeb0ee91181f4194b9a0ee16a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b305475df756256a186623f0991d05a816de881a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b5899a3e2f783a27b268e38d37f9b24c71bddf45\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…