CVE-2023-52859
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
21/05/2024
Last modified:
14/01/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
perf: hisi: Fix use-after-free when register pmu fails<br />
<br />
When we fail to register the uncore pmu, the pmu context may not been<br />
allocated. The error handing will call cpuhp_state_remove_instance()<br />
to call uncore pmu offline callback, which migrate the pmu context.<br />
Since that&#39;s liable to lead to some kind of use-after-free.<br />
<br />
Use cpuhp_state_remove_instance_nocalls() instead of<br />
cpuhp_state_remove_instance() so that the notifiers don&#39;t execute after<br />
the PMU device has been failed to register.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.13 (including) | 5.15.139 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.63 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.5.12 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.6 (including) | 6.6.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/0e1e88bba286621b886218363de07b319d6208b2
- https://git.kernel.org/stable/c/3405f364f82d4f5407a8b4c519dc15d24b847fda
- https://git.kernel.org/stable/c/75bab28ffd05ec8879c197890b1bd1dfec8d3f63
- https://git.kernel.org/stable/c/b660420f449d094b1fabfa504889810b3a63cdd5
- https://git.kernel.org/stable/c/b805cafc604bfdb671fae7347a57f51154afa735
- https://git.kernel.org/stable/c/0e1e88bba286621b886218363de07b319d6208b2
- https://git.kernel.org/stable/c/3405f364f82d4f5407a8b4c519dc15d24b847fda
- https://git.kernel.org/stable/c/75bab28ffd05ec8879c197890b1bd1dfec8d3f63
- https://git.kernel.org/stable/c/b660420f449d094b1fabfa504889810b3a63cdd5
- https://git.kernel.org/stable/c/b805cafc604bfdb671fae7347a57f51154afa735



