{"id":"CVE-2023-52859","published":"2024-05-21T15:31:52Z","modified":"2026-05-11T19:34:24Z","title":"perf: hisi: Fix use-after-free when register pmu fails","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf: hisi: Fix use-after-free when register pmu fails\n\nWhen we fail to register the uncore pmu, the pmu context may not been\nallocated. The error handing will call cpuhp_state_remove_instance()\nto call uncore pmu offline callback, which migrate the pmu context.\nSince that's liable to lead to some kind of use-after-free.\n\nUse cpuhp_state_remove_instance_nocalls() instead of\ncpuhp_state_remove_instance() so that the notifiers don't execute after\nthe PMU device has been failed to register.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00241,"percentile":0.15598,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0e1e88bba286621b886218363de07b319d6208b2","tags":[]},{"url":"https://git.kernel.org/stable/c/b660420f449d094b1fabfa504889810b3a63cdd5","tags":[]},{"url":"https://git.kernel.org/stable/c/3405f364f82d4f5407a8b4c519dc15d24b847fda","tags":[]},{"url":"https://git.kernel.org/stable/c/75bab28ffd05ec8879c197890b1bd1dfec8d3f63","tags":[]},{"url":"https://git.kernel.org/stable/c/b805cafc604bfdb671fae7347a57f51154afa735","tags":[]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":3.12}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3bf30882c3c7b6e376d9d6d04082c9aa2d2ac30a, < 0e1e88bba286621b886218363de07b319d6208b2",">= 3bf30882c3c7b6e376d9d6d04082c9aa2d2ac30a, < b660420f449d094b1fabfa504889810b3a63cdd5",">= 3bf30882c3c7b6e376d9d6d04082c9aa2d2ac30a, < 3405f364f82d4f5407a8b4c519dc15d24b847fda",">= 3bf30882c3c7b6e376d9d6d04082c9aa2d2ac30a, < 75bab28ffd05ec8879c197890b1bd1dfec8d3f63",">= 3bf30882c3c7b6e376d9d6d04082c9aa2d2ac30a, < b805cafc604bfdb671fae7347a57f51154afa735"]},{"vendor":"Linux","product":"Linux","versions":["5.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:36:28.164920Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59572","exploited":false,"provenance":"source"}}