# CVE-2023-53249: clk: imx: clk-imx8mn: fix memory leak in imx8mn_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.15%, higher than 4% of CVEs (2026-12-02)
- Published: 2025-09-15T14:46:19.184Z
- Modified: 2026-06-17T06:44:37.837Z
- 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-imx8mn: fix memory leak in imx8mn_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().

(As written by CVE List.)

## Affected

- Linux Linux: from 96d6392b54dbb1ff2b39448a2516fa6abb33114b before 294321349bd3b0680847fc2bbe66b9ab3e522fea; from 96d6392b54dbb1ff2b39448a2516fa6abb33114b before 50b5ddde8fad5f0ffd239029d0956af633a0f9b1; from 96d6392b54dbb1ff2b39448a2516fa6abb33114b before 9ba3693b0350b154fdd7830559bbc7b04c067096; from 96d6392b54dbb1ff2b39448a2516fa6abb33114b before 9428cf0fbf4be9a24f3e15a0c166b861b12666af; from 96d6392b54dbb1ff2b39448a2516fa6abb33114b before d4fa5e47af1e7bb2bbcaac062b14216c00e92148; from 96d6392b54dbb1ff2b39448a2516fa6abb33114b before 188d070de9132667956f5aadd98d2bd87d3eac89; 5.4 (not affected: before 5.4; from 5.10.188 up to 5.10.*; from 5.15.121 up to 5.15.*; 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.4 before 5.10.188; from 5.11 before 5.15.121; from 5.16 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/294321349bd3b0680847fc2bbe66b9ab3e522fea> (patch)
- <https://git.kernel.org/stable/c/50b5ddde8fad5f0ffd239029d0956af633a0f9b1> (patch)
- <https://git.kernel.org/stable/c/9ba3693b0350b154fdd7830559bbc7b04c067096> (patch)
- <https://git.kernel.org/stable/c/9428cf0fbf4be9a24f3e15a0c166b861b12666af> (patch)
- <https://git.kernel.org/stable/c/d4fa5e47af1e7bb2bbcaac062b14216c00e92148> (patch)
- <https://git.kernel.org/stable/c/188d070de9132667956f5aadd98d2bd87d3eac89> (patch)

## Sources

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

---

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