Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2023-52584 — kernel

🟢 CVSS 3.8 — Low ✅ No Known Exploit NVD
3.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

spmi: mediatek: Fix UAF on device remove

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs administrative privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: High — administrative rights are needed first.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: Low — limited, and the attacker does not choose what is affected.
  • Availability impact: None.

Affected software

CVE-2023-52584 is recorded against 2 packages.

  • kernel (from 6.7.0 up to 6.7.4)
  • linux-kernel (from 6.7 up to 6.7.4)

Timeline and source

Published on 6 March 2024 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

Other advisories for this package

kernel has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2023-52584 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Low
CVSS Score 3.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2024-03-06
Updated 2026-08-20
Modified 2026-08-12

Affected Packages

Software From version Fixed in
kernel 6.7.0 6.7.4
linux-kernel 6.7 6.7.4

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2023-52584?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2023-52584 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2023
✓