CVE-2022-50480 (GCVE-0-2022-50480)
Vulnerability from cvelistv5
Published
2025-10-04 15:16
Modified
2025-10-04 15:16
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe() The break of for_each_available_child_of_node() needs a corresponding of_node_put() when the reference 'child' is not used anymore. Here we do not need to call of_node_put() in fail path as '!match' means no break. While the of_platform_device_create() will created a new reference by 'child' but it has considered the refcounting.
Impacted products
Vendor Product Version
Linux Linux Version: fee10bd2267868f2a3e7ba008ef7665aac5e4412
Version: fee10bd2267868f2a3e7ba008ef7665aac5e4412
Version: fee10bd2267868f2a3e7ba008ef7665aac5e4412
Version: fee10bd2267868f2a3e7ba008ef7665aac5e4412
Version: fee10bd2267868f2a3e7ba008ef7665aac5e4412
Version: fee10bd2267868f2a3e7ba008ef7665aac5e4412
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/memory/pl353-smc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b37f4a711e5d4bf3608ccbc6de82b52e92b441a0",
              "status": "affected",
              "version": "fee10bd2267868f2a3e7ba008ef7665aac5e4412",
              "versionType": "git"
            },
            {
              "lessThan": "fde46754d5483bc398018bbec3c8ef5c55219e67",
              "status": "affected",
              "version": "fee10bd2267868f2a3e7ba008ef7665aac5e4412",
              "versionType": "git"
            },
            {
              "lessThan": "566b143aa5112a0c2784e20603778518bb799537",
              "status": "affected",
              "version": "fee10bd2267868f2a3e7ba008ef7665aac5e4412",
              "versionType": "git"
            },
            {
              "lessThan": "44db35ceb94756ba513dcf6b69bf9e949b28469c",
              "status": "affected",
              "version": "fee10bd2267868f2a3e7ba008ef7665aac5e4412",
              "versionType": "git"
            },
            {
              "lessThan": "49605dc25e7fb33bf8b671279d4468531da90f89",
              "status": "affected",
              "version": "fee10bd2267868f2a3e7ba008ef7665aac5e4412",
              "versionType": "git"
            },
            {
              "lessThan": "61b3c876c1cbdb1efd1f52a1f348580e6e14efb6",
              "status": "affected",
              "version": "fee10bd2267868f2a3e7ba008ef7665aac5e4412",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/memory/pl353-smc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.0"
            },
            {
              "lessThan": "5.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.220",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.150",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.17",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.220",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.150",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.75",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.17",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.3",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmemory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()\n\nThe break of for_each_available_child_of_node() needs a\ncorresponding of_node_put() when the reference \u0027child\u0027 is not\nused anymore. Here we do not need to call of_node_put() in\nfail path as \u0027!match\u0027 means no break.\n\nWhile the of_platform_device_create() will created a new\nreference by \u0027child\u0027 but it has considered the refcounting."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-04T15:16:39.704Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b37f4a711e5d4bf3608ccbc6de82b52e92b441a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/fde46754d5483bc398018bbec3c8ef5c55219e67"
        },
        {
          "url": "https://git.kernel.org/stable/c/566b143aa5112a0c2784e20603778518bb799537"
        },
        {
          "url": "https://git.kernel.org/stable/c/44db35ceb94756ba513dcf6b69bf9e949b28469c"
        },
        {
          "url": "https://git.kernel.org/stable/c/49605dc25e7fb33bf8b671279d4468531da90f89"
        },
        {
          "url": "https://git.kernel.org/stable/c/61b3c876c1cbdb1efd1f52a1f348580e6e14efb6"
        }
      ],
      "title": "memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50480",
    "datePublished": "2025-10-04T15:16:39.704Z",
    "dateReserved": "2025-10-04T15:13:33.467Z",
    "dateUpdated": "2025-10-04T15:16:39.704Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50480\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-04T16:15:44.683\",\"lastModified\":\"2025-10-06T14:56:47.823\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmemory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()\\n\\nThe break of for_each_available_child_of_node() needs a\\ncorresponding of_node_put() when the reference \u0027child\u0027 is not\\nused anymore. Here we do not need to call of_node_put() in\\nfail path as \u0027!match\u0027 means no break.\\n\\nWhile the of_platform_device_create() will created a new\\nreference by \u0027child\u0027 but it has considered the refcounting.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/44db35ceb94756ba513dcf6b69bf9e949b28469c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/49605dc25e7fb33bf8b671279d4468531da90f89\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/566b143aa5112a0c2784e20603778518bb799537\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/61b3c876c1cbdb1efd1f52a1f348580e6e14efb6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b37f4a711e5d4bf3608ccbc6de82b52e92b441a0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fde46754d5483bc398018bbec3c8ef5c55219e67\",\"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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…