# CVE-2023-52858: clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data

- Severity: Medium 6.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-05-21T15:31:51.891Z
- Modified: 2026-06-17T06:43:45.117Z
- 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-mt7629: 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 3b5e748615e714711220b2a95d19bd25a037db09 before e8ae4b49dd9cfde69d8de8c0c0cd7cf1b004482e; from 3b5e748615e714711220b2a95d19bd25a037db09 before 4f861b63945e076f9f003a5fad958174096df1ee; from 3b5e748615e714711220b2a95d19bd25a037db09 before e964d21dc034b650d719c4ea39564bec72b42f94; from 3b5e748615e714711220b2a95d19bd25a037db09 before a836efc21ef04608333d6d05753e558ebd1f85d0; from 3b5e748615e714711220b2a95d19bd25a037db09 before 1d89430fc3158f872d492f1b88d07262f48290c0; from 3b5e748615e714711220b2a95d19bd25a037db09 before 5fbea47eebff5daeca7d918c99289bcd3ae4dc8d; from 3b5e748615e714711220b2a95d19bd25a037db09 before 2befa515c1bb6cdd33c262b909d93d1973a219aa; 5.0 (not affected: before 5.0; 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: 3b5e748615e7; 5.0; from 5.0 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 (not affected: 0; 5.4.261; 5.10.201; 5.15.139; 6.1.63; 6.5.12; 6.6.2; 6.7)

## References

- <https://git.kernel.org/stable/c/e8ae4b49dd9cfde69d8de8c0c0cd7cf1b004482e> (patch)
- <https://git.kernel.org/stable/c/4f861b63945e076f9f003a5fad958174096df1ee> (patch)
- <https://git.kernel.org/stable/c/e964d21dc034b650d719c4ea39564bec72b42f94> (patch)
- <https://git.kernel.org/stable/c/a836efc21ef04608333d6d05753e558ebd1f85d0> (patch)
- <https://git.kernel.org/stable/c/1d89430fc3158f872d492f1b88d07262f48290c0> (patch)
- <https://git.kernel.org/stable/c/5fbea47eebff5daeca7d918c99289bcd3ae4dc8d> (patch)
- <https://git.kernel.org/stable/c/2befa515c1bb6cdd33c262b909d93d1973a219aa> (patch)

## Sources

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

---

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