CVE-2023-52584

linux: In the Linux kernel, the following vulnerability has been resolved: spmi: mediatek: Fix UAF on device remove The pm...

CVE-2023-52584 is fixed in linux on 1 platform, first by DEBIAN-CVE-2023-52584, released March 6, 2024. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
3.8
low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0056
46th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
linux · Debian 12.15 (bookworm) 6.1.82-1 DEBIAN-CVE-2023-52584 Mar 6, 2024
linux · Debian 13.5 (trixie) 6.7.7-1 DEBIAN-CVE-2023-52584 Mar 6, 2024
linux · Debian 14 6.7.7-1 DEBIAN-CVE-2023-52584 Mar 6, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.