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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-10-22T13:23:42.067Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< cb047c13bbf9018693ae31f03a5a26b212d02f13; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< bcea444ab4c045864b55d67313833d606676602a; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 6317d0302655f7e854cd4f31e93b47d35cb058bb; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 92ce7629a11ae62292e1cfaa6132dab081fc80ee; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 878b02d5f3b56cb090dbe2c70c89273be144087f
- Anyone running Linux 5.6

## Description

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.

## Affected and fixed versions

- Linux: \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< cb047c13bbf9018693ae31f03a5a26b212d02f13; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< bcea444ab4c045864b55d67313833d606676602a; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 6317d0302655f7e854cd4f31e93b47d35cb058bb; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 92ce7629a11ae62292e1cfaa6132dab081fc80ee; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 878b02d5f3b56cb090dbe2c70c89273be144087f (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 878b02d5f3b56cb090dbe2c70c89273be144087f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53704. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53704.md
Affected: Linux >= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, < cb047c13bbf9018693ae31f03a5a26b212d02f13; >= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, < bcea444ab4c045864b55d67313833d606676602a; >= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, < 6317d0302655f7e854cd4f31e93b47d35cb058bb; >= 9c140d9926761b0f5d329ff…
Fixed in: Linux 6317d0302655f7e854cd4f31e93b47d35cb058bb, Linux 5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a, Linux 92ce7629a11ae62292e1cfaa6132dab081fc80ee, Linux 878b02d5f3b56cb090dbe2c70c89273be144087f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53704 being exploited?

There is no confirmed exploitation: CVE-2023-53704 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53704?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53704?

Linux \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< cb047c13bbf9018693ae31f03a5a26b212d02f13; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< bcea444ab4c045864b55d67313833d606676602a; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 6317d0302655f7e854cd4f31e93b47d35cb058bb; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 92ce7629a11ae62292e1cfaa6132dab081fc80ee; \>= 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, \< 878b02d5f3b56cb090dbe2c70c89273be144087f; Linux 5.6.

### Is there a fix for CVE-2023-53704?

Yes. Fixed in Linux 6317d0302655f7e854cd4f31e93b47d35cb058bb, Linux 5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a, Linux 92ce7629a11ae62292e1cfaa6132dab081fc80ee, Linux 878b02d5f3b56cb090dbe2c70c89273be144087f. Upgrade Linux to 878b02d5f3b56cb090dbe2c70c89273be144087f or later.

### How do I check if I'm affected by CVE-2023-53704?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/cb047c13bbf9018693ae31f03a5a26b212d02f13>
- other: <https://git.kernel.org/stable/c/bcea444ab4c045864b55d67313833d606676602a>
- other: <https://git.kernel.org/stable/c/6317d0302655f7e854cd4f31e93b47d35cb058bb>
- other: <https://git.kernel.org/stable/c/5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a>
- other: <https://git.kernel.org/stable/c/92ce7629a11ae62292e1cfaa6132dab081fc80ee>
- other: <https://git.kernel.org/stable/c/878b02d5f3b56cb090dbe2c70c89273be144087f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53704>

HTML: <https://flawdb.com/CVE-2023-53704> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53704>
