Use After Free in Linux
CVE-2023-52584
In the Linux kernel, the following vulnerability has been resolved: spmi: mediatek: Fix UAF on device remove The pmif driver data that contains the clocks is allocated along with spmi_controller. On device remove, spmi_controller will be freed first, and then devres , including the clocks, will be cleanup. This leads to UAF because putting the clocks will access the clocks in the pmif driver data, which is already freed along with spmi_controller. This can be reproduced by enabling DEBUG_TEST_DRIVER_REMOVE and building the kernel with KASAN. Fix the UAF issue by using unmanaged clk_bulk_get() and putting the clocks before freeing spmi_controller.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.8 (Low). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.006 (44.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 44.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Linux — versions b45b3ccef8c063d21eb746d85337eaf71f6b5f07, 5.17, 0
- Linux Kernel
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2023-52584?
- CVE-2023-52584 is a low-severity vulnerability in Linux, classified under Use After Free. CVSS score: 3.8/10. Published 2024-03-06.
- How severe is CVE-2023-52584?
- Low severity. CVSS v3 base score is 3.8 out of 10.