Skip to main content
Network Thinking Solutions Logo

CVE-2023-52584

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.

All CVEs
CVE-2023-52584Published 3/6/2024

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.

Vendor advisory
CVSS3.8Low

Overview

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.

Published
3/6/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 6.1.77

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.16

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.7.4

Verify advisory

Source
Linux
Linux
≥ b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 521f28eedd6b14228c46e3b81e3bf9b90c2818d8

Verify advisory

Source
Linux
Linux
≥ b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < f8dcafcb54632536684336161da8bdd52120f95e

Verify advisory

Source
Linux
Linux
≥ b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e

Verify advisory

Source
Linux
Linux
≥ b45b3ccef8c063d21eb746d85337eaf71f6b5f07, < e821d50ab5b956ed0effa49faaf29912fd4106d9

Verify advisory

Source
Linux
Linux
5.17

Verify advisory

Source
kernel
linux
≥ 1da177e4c3f4, < 521f28eedd6b

Verify advisory

Source
kernel
linux
≥ 1da177e4c3f4, < f8dcafcb5463

Verify advisory

Source
kernel
linux
≥ 1da177e4c3f4, < 9a3881b1f07d

Verify advisory

Source
kernel
linux
≥ 1da177e4c3f4, < e821d50ab5b9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 3.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.