Skip to content
Heist/ feed
Back to feed
UnratedFix available

perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init() dmc620_pmu_init() won't remove the callback added by cpuhp_setup_state_multi() when platform_driver_register() failed. Remove the callback by cpuhp_remove_multi_state() in fail path. Similar to the handling of arm_ccn_init() in commit 26242b330093 ("bus: arm-ccn: Prevent hotplug callback leak")

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.86, 6.0.16, 6.1.2
CVEs
CVE-2022-50820
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 12:33 UTC · Revision 1

Source evidence

perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()

core-osv · Original source

Published 30 Dec 2025, 12:08 UTC

In the Linux kernel, the following vulnerability has been resolved: perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init() dmc620_pmu_init() won't remove the callback added by cpuhp_setup_state_multi() when platform_driver_register() failed. Remove the callback by cpuhp_remove_multi_state() in fail path. Similar to the handling of arm_ccn_init() in commit 26242b330093 ("bus: arm-ccn: Prevent hotplug callback leak")

osv:CVE-2022-50820

Kernel

Fixed versions: 5.15.86, 6.0.16, 6.1.2

Complete source record
{
  "id": "5ba91ab0b144080d0fc4c5b5fef599c743e88570a40e28114b0152df44509e47",
  "url": "https://osv.dev/vulnerability/CVE-2022-50820",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init() dmc620_pmu_init() won't remove the callback added by cpuhp_setup_state_multi() when platform_driver_register() failed. Remove the callback by cpuhp_remove_multi_state() in fail path. Similar to the handling of arm_ccn_init() in commit 26242b330093 (\"bus: arm-ccn: Prevent hotplug callback leak\")",
    "evidence": "osv:CVE-2022-50820",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.86",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-50820",
      "aliases": [
        "CVE-2022-50820"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "53c218da220c3619b5befec4674ffa35d590092a"
                },
                {
                  "fixed": "b99fbe8d949a99fe456f08c7aad421327685aa50"
                },
                {
                  "fixed": "af170afa97e50d4169cfaa7ff4ec5d3841182641"
                },
                {
                  "fixed": "adf7c3bbcc819db6e95b6a61c9822230f0ef4778"
                },
                {
                  "fixed": "d9f564c966e63925aac4ba273a9319d7fb6f4b4e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50820.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.86"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50820.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.591029321Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/adf7c3bbcc819db6e95b6a61c9822230f0ef4778",
        "https://git.kernel.org/stable/c/af170afa97e50d4169cfaa7ff4ec5d3841182641",
        "https://git.kernel.org/stable/c/b99fbe8d949a99fe456f08c7aad421327685aa50",
        "https://git.kernel.org/stable/c/d9f564c966e63925aac4ba273a9319d7fb6f4b4e",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50820.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50820",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50820.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50820",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 495438,
  "published_at": "2025-12-30T12:08:34.894+00:00"
}