Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-52584

LOW 3.8EPSS 52%

spmi: mediatek: Fix UAF on device remove

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 521f28eedd6b14228c46e3b81e3bf9b90c2818d8; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < f8dcafcb54632536684336161da8bdd52120f95e; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < e821d50ab5b956ed0effa49faaf29912fd4106d9
  • Anyone running Linux 5.17

Vulnerability facts

Affected
Linux >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 521f28eedd6b14228c46e3b81e3bf9b90c2818d8; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < f8dcafcb54632536684336161da8bdd52120f95e; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < e821d50ab5b956ed0effa49faaf29912fd4106d9; Linux 5.17
Fixed in
Linux 521f28eedd6b14228c46e3b81e3bf9b90c2818d8, Linux 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
3.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: High
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.77% chance of exploitation in 30 days (percentile 52, 2026-11-26)
CWE
CWE-416
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 521f28eedd6b14228c46e3b81e3bf9b90c2818d8; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < f8dcafcb54632536684336161da8bdd52120f95e; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < e821d50ab5b956ed0effa49faaf29912fd4106d9—cvelist
Linux5.17—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-52584. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52584.md
Affected: Linux >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 521f28eedd6b14228c46e3b81e3bf9b90c2818d8; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < f8dcafcb54632536684336161da8bdd52120f95e; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e; >= b45b3ccef8c063d21eb746d…
Fixed in: Linux 521f28eedd6b14228c46e3b81e3bf9b90c2818d8, Linux 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-52584 being exploited?

There is no confirmed exploitation: CVE-2023-52584 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.77% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-52584?

Low: CVSS 3.8 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2023-52584?

Linux >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 521f28eedd6b14228c46e3b81e3bf9b90c2818d8; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < f8dcafcb54632536684336161da8bdd52120f95e; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e; >= b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < e821d50ab5b956ed0effa49faaf29912fd4106d9; Linux 5.17.

Is there a fix for CVE-2023-52584?

Yes. Fixed in Linux 521f28eedd6b14228c46e3b81e3bf9b90c2818d8, Linux 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2023-52584?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors