# CVE-2023-52875: clk: mediatek: clk-mt2701: Add check for mtk\_alloc\_clk\_data

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-05-21T15:32:08.604Z
- **Modified:** 2026-06-17T06:43:49.793Z

## Who should check

- Anyone running Linux \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 6fccee2af400edaed9cf349d506c5971d4762739; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 1953e62366da5460dc712e045f94fb0d8918999d; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< d1461f0c9ca0827c03730fe9652ebbf6316a2a95; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 001e5def774fa1a8f2b29567c0b0cd3e3a859a96; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< d1175cf4bd2b4c5f7c43f677ea1ce9ad2c18d055; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 2a18dd653284550900b02107c3c7b3ac5e0eb802; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< e61934720af4a58ffd43a63ffdd6f3a0bd7d7b47; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 1bf9c204aef4cc55ce46a7ff2d4dc7e5f86551a7; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 0d6e24b422a2166a9297a8286ff2e6ab9a5e8cd3
- Anyone running Linux 4.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

clk: mediatek: clk-mt2701: Add check for mtk\_alloc\_clk\_data

Add the check for the return value of mtk\_alloc\_clk\_data() in order to
avoid NULL pointer dereference.

## Affected and fixed versions

- Linux: \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 6fccee2af400edaed9cf349d506c5971d4762739; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 1953e62366da5460dc712e045f94fb0d8918999d; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< d1461f0c9ca0827c03730fe9652ebbf6316a2a95; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 001e5def774fa1a8f2b29567c0b0cd3e3a859a96; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< d1175cf4bd2b4c5f7c43f677ea1ce9ad2c18d055; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 2a18dd653284550900b02107c3c7b3ac5e0eb802; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< e61934720af4a58ffd43a63ffdd6f3a0bd7d7b47; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 1bf9c204aef4cc55ce46a7ff2d4dc7e5f86551a7; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 0d6e24b422a2166a9297a8286ff2e6ab9a5e8cd3 (cvelist)
- Linux: 4.10 (cvelist)

## Mitigation

- Upgrade Linux to 0d6e24b422a2166a9297a8286ff2e6ab9a5e8cd3 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-52875.md
Affected: Linux >= e9862118272aa528e35e54ef9f1e35c217870fd7, < 6fccee2af400edaed9cf349d506c5971d4762739; >= e9862118272aa528e35e54ef9f1e35c217870fd7, < 1953e62366da5460dc712e045f94fb0d8918999d; >= e9862118272aa528e35e54ef9f1e35c217870fd7, < d1461f0c9ca0827c03730fe9652ebbf6316a2a95; >= e9862118272aa528e35e54e…
Fixed in: Linux 6fccee2af400edaed9cf349d506c5971d4762739, Linux 1953e62366da5460dc712e045f94fb0d8918999d, Linux 001e5def774fa1a8f2b29567c0b0cd3e3a859a96, Linux 2a18dd653284550900b02107c3c7b3ac5e0eb802, Linux 1bf9c204aef4cc55ce46a7ff2d4dc7e5f86551a7, Linux 0d6e24b422a2166a9297a8286ff2e6ab9a5e8cd3

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

## FAQ

### Is CVE-2023-52875 being exploited?

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

### How serious is CVE-2023-52875?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-52875?

Linux \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 6fccee2af400edaed9cf349d506c5971d4762739; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 1953e62366da5460dc712e045f94fb0d8918999d; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< d1461f0c9ca0827c03730fe9652ebbf6316a2a95; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 001e5def774fa1a8f2b29567c0b0cd3e3a859a96; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< d1175cf4bd2b4c5f7c43f677ea1ce9ad2c18d055; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 2a18dd653284550900b02107c3c7b3ac5e0eb802; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< e61934720af4a58ffd43a63ffdd6f3a0bd7d7b47; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 1bf9c204aef4cc55ce46a7ff2d4dc7e5f86551a7; \>= e9862118272aa528e35e54ef9f1e35c217870fd7, \< 0d6e24b422a2166a9297a8286ff2e6ab9a5e8cd3; Linux 4.10.

### Is there a fix for CVE-2023-52875?

Yes. Fixed in Linux 6fccee2af400edaed9cf349d506c5971d4762739, Linux 1953e62366da5460dc712e045f94fb0d8918999d, Linux 001e5def774fa1a8f2b29567c0b0cd3e3a859a96, Linux 2a18dd653284550900b02107c3c7b3ac5e0eb802, Linux 1bf9c204aef4cc55ce46a7ff2d4dc7e5f86551a7, Linux 0d6e24b422a2166a9297a8286ff2e6ab9a5e8cd3. Upgrade Linux to 0d6e24b422a2166a9297a8286ff2e6ab9a5e8cd3 or later.

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

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.

## References

- patch: <https://git.kernel.org/stable/c/6fccee2af400edaed9cf349d506c5971d4762739>
- patch: <https://git.kernel.org/stable/c/1953e62366da5460dc712e045f94fb0d8918999d>
- patch: <https://git.kernel.org/stable/c/d1461f0c9ca0827c03730fe9652ebbf6316a2a95>
- patch: <https://git.kernel.org/stable/c/001e5def774fa1a8f2b29567c0b0cd3e3a859a96>
- patch: <https://git.kernel.org/stable/c/d1175cf4bd2b4c5f7c43f677ea1ce9ad2c18d055>
- patch: <https://git.kernel.org/stable/c/2a18dd653284550900b02107c3c7b3ac5e0eb802>
- patch: <https://git.kernel.org/stable/c/e61934720af4a58ffd43a63ffdd6f3a0bd7d7b47>
- patch: <https://git.kernel.org/stable/c/1bf9c204aef4cc55ce46a7ff2d4dc7e5f86551a7>
- patch: <https://git.kernel.org/stable/c/0d6e24b422a2166a9297a8286ff2e6ab9a5e8cd3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52875>

HTML: <https://flawdb.com/CVE-2023-52875> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52875>
