# CVE-2023-53704: clk: imx: clk-imx8mp: improve error handling in imx8mp\_clocks\_probe()

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2025-10-22 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-53704, DEBIAN-CVE-2023-53704
- Record: https://cvemate.com/vulnerability/CVE-2023-53704 · JSON: https://cvemate.com/vulnerability/CVE-2023-53704/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()

Replace of_iomap() and kzalloc() with devm_of_iomap() and devm_kzalloc()
which can automatically release the related memory when the device
or driver is removed or unloaded to avoid potential memory leak.

In this case, iounmap(anatop_base) in line 427,433 are removed
as manual release is not required.

Besides, referring to clk-imx8mq.c, check the return code of
of_clk_add_hw_provider, if it returns negtive, print error info
and unregister hws, which makes the program more robust.
```

## Signals

- CVSS: none published
- EPSS: 0.22%, percentile 13.235%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 110)

- debian linux (Debian): \< 6.1.52-1 \| \< 6.4.4-1
- ubuntu linux (Ubuntu): \< 5.15.0-86.96
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1047.52
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1047.52~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1049.56
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1049.56~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/cb047c13bbf9018693ae31f03a5a26b212d02f13>
- <https://git.kernel.org/stable/c/bcea444ab4c045864b55d67313833d606676602a>
- <https://git.kernel.org/stable/c/6317d0302655f7e854cd4f31e93b47d35cb058bb>
- <https://git.kernel.org/stable/c/5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a>
- <https://git.kernel.org/stable/c/92ce7629a11ae62292e1cfaa6132dab081fc80ee>
- <https://git.kernel.org/stable/c/878b02d5f3b56cb090dbe2c70c89273be144087f>
- <https://ubuntu.com/security/CVE-2023-53704>
- <https://www.cve.org/CVERecord?id=CVE-2023-53704>
- <https://git.kernel.org/linus/878b02d5f3b56cb090dbe2c70c89273be144087f>
- <https://security-tracker.debian.org/tracker/CVE-2023-53704>

---

Data as of 2026-12-06T04:40:39.923Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
