Invalid memory access via premature controller free
Published Mar 6, 2024 · Updated May 11, 2026
Use-after-free in the MediaTek PMIF driver in Linux 5.17 allows attackers to access freed driver memory during device removal. The removal path frees spmi_controller before managed clock cleanup, so releasing the clocks dereferences PMIF data already freed with the controller. The published reproducer requires DEBUG_TEST_DRIVER_REMOVE and KASAN; no consequence beyond the invalid kernel-memory access is documented.
Summary
What happened
Use-after-free in the MediaTek PMIF driver in Linux 5.17 allows attackers to access freed driver memory during device removal. The removal path frees spmi_controller before managed clock cleanup, so releasing the clocks dereferences PMIF data already freed with the controller. The published reproducer requires DEBUG_TEST_DRIVER_REMOVE and KASAN; no consequence beyond the invalid kernel-memory access is documented.
The record
- CVE
- CVE-2023-52584
- Published
- Mar 6, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Mar 6, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.17
- Affected versionversion=b45b3ccef8c063d21eb746d85337eaf71f6b5f07 <521f28eedd6b14228c46e3b81e3bf9b90c2818d8
- Affected versionversion=b45b3ccef8c063d21eb746d85337eaf71f6b5f07 <9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e
- Affected versionversion=b45b3ccef8c063d21eb746d85337eaf71f6b5f07 <e821d50ab5b956ed0effa49faaf29912fd4106d9
- Affected versionversion=b45b3ccef8c063d21eb746d85337eaf71f6b5f07 <f8dcafcb54632536684336161da8bdd52120f95e
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo