Menu

Star on GitHub · 3.3k

CVE-2023-52584

3.8 · LOW

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.

Published Mar 6, 2024CWE-416EPSS 0.56%

Overview

CVE-2023-52584 is a low-severity vulnerability. It was published on March 6, 2024 and has a CVSS 3.1 base score of 3.8 (LOW).

This vulnerability has a CVSS 3.1 base score of 3.8, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-52584?

CVE-2023-52584 is a low-severity vulnerability. It was published on March 6, 2024 and has a CVSS 3.1 base score of 3.8 (LOW).

How severe is CVE-2023-52584?

This vulnerability has a CVSS 3.1 base score of 3.8, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-52584?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-52584?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52584 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related LOW CVEs from 2023

View all
LiveWatch live →