3.8

CVE-2023-52584: spmi: mediatek: Fix UAF on device remove

Analyzed
AliasesUBUNTU-CVE-2023-52584DEBIAN-CVE-2023-52584
Published 06-03-2024Last modified 11-05-2026

Vulnerability summary

CVE-2023-52584 is a low (CVSS 3.8) Use After Free vulnerability in linux. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 48.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.8/10
010
Low · v3.1 (CVE.org)
EPSS score
0.56%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 10

Timeline

  1. 06-03-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.56%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.56% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu75 products
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
  • linux-aws-5.13All versions (No fix recorded)
  • linux-aws-5.19All versions (No fix recorded)
Linux2 products
  • linux≥ b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 521f28eedd6b14228c46e3b81e3bf9b90c2818d8 | ≥ b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < f8dcafcb54632536684336161da8bdd52120f95e | ≥ b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e | ≥ b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < e821d50ab5b956ed0effa49faaf29912fd4106d9 | 5.17
  • linux_kernel< 6.1.77 | ≥ 6.2, < 6.6.16 | ≥ 6.7, < 6.7.4
Debian1 product
  • linux< 6.1.82-1 | < 6.7.7-1

3 vendors · 78 products

References

17 links
Show all 17 references