# CVE-2023-52875: clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-02)
- Published: 2024-05-21T15:32:08.604Z
- Modified: 2026-06-17T06:43:49.793Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from e9862118272aa528e35e54ef9f1e35c217870fd7 before 6fccee2af400edaed9cf349d506c5971d4762739; from e9862118272aa528e35e54ef9f1e35c217870fd7 before 1953e62366da5460dc712e045f94fb0d8918999d; from e9862118272aa528e35e54ef9f1e35c217870fd7 before d1461f0c9ca0827c03730fe9652ebbf6316a2a95; from e9862118272aa528e35e54ef9f1e35c217870fd7 before 001e5def774fa1a8f2b29567c0b0cd3e3a859a96; from e9862118272aa528e35e54ef9f1e35c217870fd7 before d1175cf4bd2b4c5f7c43f677ea1ce9ad2c18d055; from e9862118272aa528e35e54ef9f1e35c217870fd7 before 2a18dd653284550900b02107c3c7b3ac5e0eb802; from e9862118272aa528e35e54ef9f1e35c217870fd7 before e61934720af4a58ffd43a63ffdd6f3a0bd7d7b47; from e9862118272aa528e35e54ef9f1e35c217870fd7 before 1bf9c204aef4cc55ce46a7ff2d4dc7e5f86551a7; from e9862118272aa528e35e54ef9f1e35c217870fd7 before 0d6e24b422a2166a9297a8286ff2e6ab9a5e8cd3; 4.10 (not affected: before 4.10; from 4.14.330 up to 4.14.*; from 4.19.299 up to 4.19.*; from 5.4.261 up to 5.4.*; from 5.10.201 up to 5.10.*; from 5.15.139 up to 5.15.*; from 6.1.63 up to 6.1.*; from 6.5.12 up to 6.5.*; from 6.6.2 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: from 4.10 before 4.14.330; from 4.15 before 4.19.299; from 4.20 before 5.4.261; from 5.5 before 5.10.201; from 5.11 before 5.15.139; from 5.16 before 6.1.63; from 6.2 before 6.5.12; from 6.6 before 6.6.2

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2023-52875](https://www.cve.org/CVERecord?id=CVE-2023-52875), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52875](https://nvd.nist.gov/vuln/detail/CVE-2023-52875), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52875 · Whole record: https://cve.day/CVE-2023-52875.json · Rebuilt by cve.day 2026-11-25T22:58:34.066Z
