CVE-2023-54221

Source
https://cve.org/CVERecord?id=CVE-2023-54221
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54221.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54221
Downstream
Related
Published
2025-12-30T12:11:16.053Z
Modified
2026-03-11T07:52:46.837763Z
Summary
clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe
Details

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

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

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 devmkzalloc() instead of kzalloc() to automatically free the memory using devmkfree() when error occurs.

Replace ofiomap() with devmofiomap() to automatically handle the unused ioremap region and delete 'iounmap(anatopbase);' in unregister_hws.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54221.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
24defbe194b650218680fcd9dec8cd103537b531
Fixed
280a5ff665e12d1e0c54c20cedc9c5008aa686a5
Fixed
fac9c624138c4bc021d7a8ee3b974c9e10926d92
Fixed
d17c16a2b2a6589c45b0bfb1b9914da80b72d89e
Fixed
e02ba11b457647050cb16e7cad16cec3c252fade

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54221.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
6.1.39
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.3.13
Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.4.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54221.json"