# CVE-2023-52873: clk: mediatek: clk-mt6779: 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-05-21T15:32:07.253Z
- Modified: 2026-06-17T06:43:49.450Z
- 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-mt6779: 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 710774e048614c761a39a98e8d0fa75f688c83b6 before fbe466f06d4ea18745da0d57540539b7b36936ae; from 710774e048614c761a39a98e8d0fa75f688c83b6 before 3994387ba3564976731179c4d4a6d7850ddda71a; from 710774e048614c761a39a98e8d0fa75f688c83b6 before ca6d565a2319d69d9766e6ecbb5af827fc4afb2b; from 710774e048614c761a39a98e8d0fa75f688c83b6 before df1c4a9efa3f5b6fb5e0ae63890230dbe2190b7e; from 710774e048614c761a39a98e8d0fa75f688c83b6 before a90239551abc181687f8c0ba60b276f7d75c141e; from 710774e048614c761a39a98e8d0fa75f688c83b6 before f6a7c51cf07a399ec067d39f0a22f1817c5c7d2b; from 710774e048614c761a39a98e8d0fa75f688c83b6 before 1f57f78fbacf630430bf954e5a84caafdfea30c0; 5.4 (not affected: before 5.4; 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 5.4 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/fbe466f06d4ea18745da0d57540539b7b36936ae> (patch)
- <https://git.kernel.org/stable/c/3994387ba3564976731179c4d4a6d7850ddda71a> (patch)
- <https://git.kernel.org/stable/c/ca6d565a2319d69d9766e6ecbb5af827fc4afb2b> (patch)
- <https://git.kernel.org/stable/c/df1c4a9efa3f5b6fb5e0ae63890230dbe2190b7e> (patch)
- <https://git.kernel.org/stable/c/a90239551abc181687f8c0ba60b276f7d75c141e> (patch)
- <https://git.kernel.org/stable/c/f6a7c51cf07a399ec067d39f0a22f1817c5c7d2b> (patch)
- <https://git.kernel.org/stable/c/1f57f78fbacf630430bf954e5a84caafdfea30c0> (patch)

## Sources

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

---

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