CVE-2023-54221

clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe

N/A
Published: December 30, 2025 at 12:11 PM UTC
Updated: June 17, 2026 at 06:47 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.18 ≤ v < 6.1.395.18 ≤ v < 6.3.135.18 ≤ v < 6.4.45.18 ≤ v < 6.524defbe194b650218680fcd9dec8cd103537b5315.18
Vendor states this is fixed in 280a5ff665e12d1e0c54c20cedc9c5008aa686a5 (fixed)
Vendor states this is fixed in d17c16a2b2a6589c45b0bfb1b9914da80b72d89e (fixed)
Vendor states this is fixed in e02ba11b457647050cb16e7cad16cec3c252fade (fixed)
Vendor states this is fixed in fac9c624138c4bc021d7a8ee3b974c9e10926d92 (fixed)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 6.1.39 (unaffected)
Vendor states this is fixed in 6.3.13 (unaffected)
Vendor states this is fixed in 6.4.4 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card