# CVE-2023-53264: clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2025-09-16T08:06:54.827Z
- Modified: 2026-06-17T06:44:40.517Z
- Weaknesses: CWE-401
- 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: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe

Use devm_of_iomap() instead of of_iomap() to automatically
handle the unused ioremap region. If any error occurs, regions allocated by
kzalloc() will leak, but using devm_kzalloc() instead will automatically
free the memory using devm_kfree().

Also, fix error handling of hws by adding unregister_hws label, which
unregisters remaining hws when iomap failed.

(As written by CVE List.)

## Affected

- Linux Linux: from 7154b046d8f3a441474ced1688eb348d42f5f165 before 1839032251a66f2ae5a043c495532830a55d28c4; from 7154b046d8f3a441474ced1688eb348d42f5f165 before 0fbdfd2542252e4c02e8158a06b7c0c9cfd40f99; from 7154b046d8f3a441474ced1688eb348d42f5f165 before 02e54db221bb001b32f839e0149ee8d890ab9aa1; from 7154b046d8f3a441474ced1688eb348d42f5f165 before 1b280598ab3bd8a2dc8b96a12530d5b1ee7a8f4a; 5.18 (not affected: before 5.18; from 6.1.39 up to 6.1.*; from 6.3.13 up to 6.3.*; from 6.4.4 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 5.18 before 6.1.39; from 6.2 before 6.3.13; from 6.4 before 6.4.4

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/1839032251a66f2ae5a043c495532830a55d28c4> (patch)
- <https://git.kernel.org/stable/c/0fbdfd2542252e4c02e8158a06b7c0c9cfd40f99> (patch)
- <https://git.kernel.org/stable/c/02e54db221bb001b32f839e0149ee8d890ab9aa1> (patch)
- <https://git.kernel.org/stable/c/1b280598ab3bd8a2dc8b96a12530d5b1ee7a8f4a> (patch)

## Sources

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

---

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