CVE-2023-54221

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

published December 30, 2025

CVSS
—
EPSS
0%
Percentile
9.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00199 · 9.2th percentile
Published
2025-12-30T12:11Z
EPSS history
Timeline
  • 30 DEC 12:11Z
    clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe
    cvelistv5