{"id":"CVE-2022-50820","state":"PUBLISHED","title":"perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()\n\ndmc620_pmu_init() won't remove the callback added by\ncpuhp_setup_state_multi() when platform_driver_register() failed. Remove\nthe callback by cpuhp_remove_multi_state() in fail path.\n\nSimilar to the handling of arm_ccn_init() in commit 26242b330093 (\"bus:\narm-ccn: Prevent hotplug callback leak\")","publishedAt":"2025-12-30T12:08:34.894Z","updatedAt":"2026-05-11T19:25:45.031Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"53c218da220c3619b5befec4674ffa35d590092a","status":"affected","lessThan":"b99fbe8d949a99fe456f08c7aad421327685aa50","versionType":"git"},{"version":"53c218da220c3619b5befec4674ffa35d590092a","status":"affected","lessThan":"af170afa97e50d4169cfaa7ff4ec5d3841182641","versionType":"git"},{"version":"53c218da220c3619b5befec4674ffa35d590092a","status":"affected","lessThan":"adf7c3bbcc819db6e95b6a61c9822230f0ef4778","versionType":"git"},{"version":"53c218da220c3619b5befec4674ffa35d590092a","status":"affected","lessThan":"d9f564c966e63925aac4ba273a9319d7fb6f4b4e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/perf/arm_dmc620_pmu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"5.15.86","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.16","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1.2","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/perf/arm_dmc620_pmu.c"]}],"references":["https://git.kernel.org/stable/c/b99fbe8d949a99fe456f08c7aad421327685aa50","https://git.kernel.org/stable/c/af170afa97e50d4169cfaa7ff4ec5d3841182641","https://git.kernel.org/stable/c/adf7c3bbcc819db6e95b6a61c9822230f0ef4778","https://git.kernel.org/stable/c/d9f564c966e63925aac4ba273a9319d7fb6f4b4e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50820.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50820","state":"PUBLISHED","datePublished":"2025-12-30T12:08:34.894Z","dateUpdated":"2026-05-11T19:25:45.031Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-30T12:06:07.131Z"},"containers":{"cna":{"title":"perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()\n\ndmc620_pmu_init() won't remove the callback added by\ncpuhp_setup_state_multi() when platform_driver_register() failed. Remove\nthe callback by cpuhp_remove_multi_state() in fail path.\n\nSimilar to the handling of arm_ccn_init() in commit 26242b330093 (\"bus:\narm-ccn: Prevent hotplug callback leak\")"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"53c218da220c3619b5befec4674ffa35d590092a","status":"affected","lessThan":"b99fbe8d949a99fe456f08c7aad421327685aa50","versionType":"git"},{"version":"53c218da220c3619b5befec4674ffa35d590092a","status":"affected","lessThan":"af170afa97e50d4169cfaa7ff4ec5d3841182641","versionType":"git"},{"version":"53c218da220c3619b5befec4674ffa35d590092a","status":"affected","lessThan":"adf7c3bbcc819db6e95b6a61c9822230f0ef4778","versionType":"git"},{"version":"53c218da220c3619b5befec4674ffa35d590092a","status":"affected","lessThan":"d9f564c966e63925aac4ba273a9319d7fb6f4b4e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/perf/arm_dmc620_pmu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"5.15.86","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.16","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1.2","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/perf/arm_dmc620_pmu.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b99fbe8d949a99fe456f08c7aad421327685aa50"},{"url":"https://git.kernel.org/stable/c/af170afa97e50d4169cfaa7ff4ec5d3841182641"},{"url":"https://git.kernel.org/stable/c/adf7c3bbcc819db6e95b6a61c9822230f0ef4778"},{"url":"https://git.kernel.org/stable/c/d9f564c966e63925aac4ba273a9319d7fb6f4b4e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:25:45.031Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.86"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.0.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.1.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}