GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-50112 (GCVE-0-2022-50112)

Vulnerability from cvelistv5 – Published: 2025-06-18 11:02 – Updated: 2026-05-11 19:13
VLAI
Title
rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge
Summary
In the Linux kernel, the following vulnerability has been resolved: rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when done.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614 , < cb50423e46ea585620a6be307d7f7b71587936b7 (git)
Affected: 53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614 , < 8ee5d40ae29e63f6fd6cbf9dcfc0a48c474013db (git)
Affected: 53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614 , < 9715809b9eeb85b3f9b083857a2f29a9e2351125 (git)
Affected: 53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614 , < ece6cfe62a103cc6032664983be557f1b5a1ff7e (git)
Affected: 53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614 , < ae7fdbab97df6a2115eed6b7e39c278b805c9c7d (git)
Affected: 53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614 , < 43e42c25a232a6862e7d2f292a069ac828559030 (git)
Affected: 53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614 , < 65382585f067d4256ba087934f30f85c9b6984de (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.9
Unaffected: 0 , < 4.9 (semver)
Unaffected: 4.19.256 , ≤ 4.19.* (semver)
Unaffected: 5.4.211 , ≤ 5.4.* (semver)
Unaffected: 5.10.137 , ≤ 5.10.* (semver)
Unaffected: 5.15.61 , ≤ 5.15.* (semver)
Unaffected: 5.18.18 , ≤ 5.18.* (semver)
Unaffected: 5.19.2 , ≤ 5.19.* (semver)
Unaffected: 6.0 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/rpmsg/qcom_smd.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cb50423e46ea585620a6be307d7f7b71587936b7",
              "status": "affected",
              "version": "53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614",
              "versionType": "git"
            },
            {
              "lessThan": "8ee5d40ae29e63f6fd6cbf9dcfc0a48c474013db",
              "status": "affected",
              "version": "53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614",
              "versionType": "git"
            },
            {
              "lessThan": "9715809b9eeb85b3f9b083857a2f29a9e2351125",
              "status": "affected",
              "version": "53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614",
              "versionType": "git"
            },
            {
              "lessThan": "ece6cfe62a103cc6032664983be557f1b5a1ff7e",
              "status": "affected",
              "version": "53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614",
              "versionType": "git"
            },
            {
              "lessThan": "ae7fdbab97df6a2115eed6b7e39c278b805c9c7d",
              "status": "affected",
              "version": "53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614",
              "versionType": "git"
            },
            {
              "lessThan": "43e42c25a232a6862e7d2f292a069ac828559030",
              "status": "affected",
              "version": "53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614",
              "versionType": "git"
            },
            {
              "lessThan": "65382585f067d4256ba087934f30f85c9b6984de",
              "status": "affected",
              "version": "53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/rpmsg/qcom_smd.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.9"
            },
            {
              "lessThan": "4.9",
              "status": "unaffected",
              "version": "0",
              "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.19.256",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.211",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.137",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.61",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.18",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.2",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge\n\nof_parse_phandle() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when done."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:13:04.680Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cb50423e46ea585620a6be307d7f7b71587936b7"
        },
        {
          "url": "https://git.kernel.org/stable/c/8ee5d40ae29e63f6fd6cbf9dcfc0a48c474013db"
        },
        {
          "url": "https://git.kernel.org/stable/c/9715809b9eeb85b3f9b083857a2f29a9e2351125"
        },
        {
          "url": "https://git.kernel.org/stable/c/ece6cfe62a103cc6032664983be557f1b5a1ff7e"
        },
        {
          "url": "https://git.kernel.org/stable/c/ae7fdbab97df6a2115eed6b7e39c278b805c9c7d"
        },
        {
          "url": "https://git.kernel.org/stable/c/43e42c25a232a6862e7d2f292a069ac828559030"
        },
        {
          "url": "https://git.kernel.org/stable/c/65382585f067d4256ba087934f30f85c9b6984de"
        }
      ],
      "title": "rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50112",
    "datePublished": "2025-06-18T11:02:44.805Z",
    "dateReserved": "2025-06-18T10:57:27.414Z",
    "dateUpdated": "2026-05-11T19:13:04.680Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50112",
      "date": "2026-09-17",
      "epss": "0.00224",
      "percentile": "0.13177"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50112\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-06-18T11:15:40.793\",\"lastModified\":\"2026-06-17T05:22:47.090\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nrpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge\\n\\nof_parse_phandle() returns a node pointer with refcount\\nincremented, we should use of_node_put() on it when done.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rpmsg: qcom_smd: se corrige la p\u00e9rdida de refcount en qcom_smd_parse_edge of_parse_phandle() devuelve un puntero de nodo con refcount incrementado, debemos usar of_node_put() en \u00e9l cuando termine.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/rpmsg/qcom_smd.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614\",\"lessThan\":\"cb50423e46ea585620a6be307d7f7b71587936b7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614\",\"lessThan\":\"8ee5d40ae29e63f6fd6cbf9dcfc0a48c474013db\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614\",\"lessThan\":\"9715809b9eeb85b3f9b083857a2f29a9e2351125\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614\",\"lessThan\":\"ece6cfe62a103cc6032664983be557f1b5a1ff7e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614\",\"lessThan\":\"ae7fdbab97df6a2115eed6b7e39c278b805c9c7d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614\",\"lessThan\":\"43e42c25a232a6862e7d2f292a069ac828559030\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614\",\"lessThan\":\"65382585f067d4256ba087934f30f85c9b6984de\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/rpmsg/qcom_smd.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.9\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.9\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.256\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.211\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.137\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.61\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.18.18\",\"lessThanOrEqual\":\"5.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.19.2\",\"lessThanOrEqual\":\"5.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.9\",\"versionEndExcluding\":\"4.19.256\",\"matchCriteriaId\":\"A7691C46-A3E8-471D-AA27-90A3522DB32D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.211\",\"matchCriteriaId\":\"B1C63D19-C08C-4308-A848-B2523C9275BD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.137\",\"matchCriteriaId\":\"C2BF720F-C5EE-4DE2-9BDF-CE4CFBC767F4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.61\",\"matchCriteriaId\":\"51861563-7F40-460F-82CD-2D3FBDAD6618\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"5.18.18\",\"matchCriteriaId\":\"5B42E453-8837-49D0-A5EF-03F818A6DC11\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.19\",\"versionEndExcluding\":\"5.19.2\",\"matchCriteriaId\":\"A1A2A5A5-4598-4D7E-BA07-4660398D6C8F\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/43e42c25a232a6862e7d2f292a069ac828559030\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/65382585f067d4256ba087934f30f85c9b6984de\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8ee5d40ae29e63f6fd6cbf9dcfc0a48c474013db\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9715809b9eeb85b3f9b083857a2f29a9e2351125\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ae7fdbab97df6a2115eed6b7e39c278b805c9c7d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cb50423e46ea585620a6be307d7f7b71587936b7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ece6cfe62a103cc6032664983be557f1b5a1ff7e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-06-30T10:16:23+00:00",
      "cve": "CVE-2022-50112",
      "id": "CVE-2022-50112",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "305",
      "product_status:known_affected": "22",
      "product_status:known_not_affected": "166",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50112.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…