# CVE-2023-52876: clk: mediatek: clk-mt7629-eth: 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 14% of CVEs (2026-12-01)
- Published: 2024-05-21T15:32:09.269Z
- Modified: 2026-06-17T06:43:49.960Z
- 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-eth: 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 cfa68e0ac5dcde43577adadf6f0f26f3b365ad68; from 3b5e748615e714711220b2a95d19bd25a037db09 before 96e9544a0c4faca616b3f9f4034dcd83a14e7f22; from 3b5e748615e714711220b2a95d19bd25a037db09 before c4070ada5d5155c8d4d17ea64bd246949889f25b; from 3b5e748615e714711220b2a95d19bd25a037db09 before a540ca0aeae83c2f3964bcb4e383f64ce2ec1783; from 3b5e748615e714711220b2a95d19bd25a037db09 before b20cfe007a46f8c165d42a05c50a8d3d893e6592; from 3b5e748615e714711220b2a95d19bd25a037db09 before 1639072f6260babd017556e9f236ca2ad589d1e7; from 3b5e748615e714711220b2a95d19bd25a037db09 before 0884393c63cc9a1772f7121a6645ba7bd76feeb9; 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: 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

## References

- <https://git.kernel.org/stable/c/cfa68e0ac5dcde43577adadf6f0f26f3b365ad68> (patch)
- <https://git.kernel.org/stable/c/96e9544a0c4faca616b3f9f4034dcd83a14e7f22> (patch)
- <https://git.kernel.org/stable/c/c4070ada5d5155c8d4d17ea64bd246949889f25b> (patch)
- <https://git.kernel.org/stable/c/a540ca0aeae83c2f3964bcb4e383f64ce2ec1783> (patch)
- <https://git.kernel.org/stable/c/b20cfe007a46f8c165d42a05c50a8d3d893e6592> (patch)
- <https://git.kernel.org/stable/c/1639072f6260babd017556e9f236ca2ad589d1e7> (patch)
- <https://git.kernel.org/stable/c/0884393c63cc9a1772f7121a6645ba7bd76feeb9> (patch)

## Sources

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

---

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