CVE-2023-52584spmi: mediatek: Fix UAF on device remove
- 3.8LowCVSS base score
- 0.56%Exploitation in 30 daysEPSS · top 53% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By Linux
- 4 days later
· 4 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Low3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| NVDNVD · Analyzed | 3.1 | Low3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.56% · top 53% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.8.
Affected products
- affected b45b3ccef8c063d21eb746d85337eaf71f6b5f07 – < 521f28eedd6b14228c46e3b81e3bf9b90c2818d8
- affected b45b3ccef8c063d21eb746d85337eaf71f6b5f07 – < f8dcafcb54632536684336161da8bdd52120f95e
- affected b45b3ccef8c063d21eb746d85337eaf71f6b5f07 – < 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e
- affected b45b3ccef8c063d21eb746d85337eaf71f6b5f07 – < e821d50ab5b956ed0effa49faaf29912fd4106d9
- affected 5.17
- unaffected < 5.17
- unaffected 6.1.77 – ≤ 6.1.*
- unaffected 6.6.16 – ≤ 6.6.*
- unaffected 6.7.4 – ≤ 6.7.*
- unaffected 6.8 – ≤ *
References
References4
- https://git.kernel.org/stable/c/521f28eedd6b14228c46e3b81e3bf9b90c2818d8 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/f8dcafcb54632536684336161da8bdd52120f95e (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/e821d50ab5b956ed0effa49faaf29912fd4106d9 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-57208 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-52584)Record last updated .