# CVE-2023-52870: clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data

- Severity: Medium 4.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:H/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.22%, higher than 13% of CVEs (2026-12-02)
- Published: 2024-05-21T15:31:59.836Z
- Modified: 2026-06-17T06:43:48.880Z
- 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-mt6765: 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 1aca9939bf72893887cb7e3455e44c864bada2f9 before 2617aa8ceaf30e41d3eb7f5fef3445542bef193a; from 1aca9939bf72893887cb7e3455e44c864bada2f9 before 533ca5153ad6c7b7d47ae0114b14d0333964b946; from 1aca9939bf72893887cb7e3455e44c864bada2f9 before dd1f30d68fa98eb672c0a259297b761656a9025f; from 1aca9939bf72893887cb7e3455e44c864bada2f9 before 10cc81124407d862f0f747db4baa9c006510b480; from 1aca9939bf72893887cb7e3455e44c864bada2f9 before b5ff3e89b4e7f46ad2aa0de7e08d18e6f87d71bc; from 1aca9939bf72893887cb7e3455e44c864bada2f9 before b82681042724924ae3ba0f2f2eeec217fa31e830; 5.8 (not affected: before 5.8; 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 5.8 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/2617aa8ceaf30e41d3eb7f5fef3445542bef193a> (patch)
- <https://git.kernel.org/stable/c/533ca5153ad6c7b7d47ae0114b14d0333964b946> (patch)
- <https://git.kernel.org/stable/c/dd1f30d68fa98eb672c0a259297b761656a9025f> (patch)
- <https://git.kernel.org/stable/c/10cc81124407d862f0f747db4baa9c006510b480> (patch)
- <https://git.kernel.org/stable/c/b5ff3e89b4e7f46ad2aa0de7e08d18e6f87d71bc> (patch)
- <https://git.kernel.org/stable/c/b82681042724924ae3ba0f2f2eeec217fa31e830> (patch)

## Sources

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

---

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