{"id":"CVE-2023-52859","summary":"perf: hisi: Fix use-after-free when register pmu fails","details":"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.","modified":"2026-05-15T11:54:34.466264655Z","published":"2024-05-21T15:31:52.546Z","related":["SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52859.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0e1e88bba286621b886218363de07b319d6208b2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3405f364f82d4f5407a8b4c519dc15d24b847fda"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75bab28ffd05ec8879c197890b1bd1dfec8d3f63"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b660420f449d094b1fabfa504889810b3a63cdd5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b805cafc604bfdb671fae7347a57f51154afa735"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52859.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52859"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.13.0"},{"fixed":"5.15.139"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.5.12"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"6.6.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52859.json"}}],"schema_version":"1.7.5"}