CVE-2023-53704

Source
https://cve.org/CVERecord?id=CVE-2023-53704
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53704.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53704
Downstream
Related
Published
2025-10-22T13:23:42.067Z
Modified
2026-03-20T12:33:17.955761Z
Summary
clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
Details

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

clk: imx: clk-imx8mp: improve error handling in imx8mpclocksprobe()

Replace ofiomap() and kzalloc() with devmofiomap() and devmkzalloc() 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 ofclkaddhwprovider, if it returns negtive, print error info and unregister hws, which makes the program more robust.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53704.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
9c140d9926761b0f5d329ff6c09a1540f3d5e1d3
Fixed
cb047c13bbf9018693ae31f03a5a26b212d02f13
Fixed
bcea444ab4c045864b55d67313833d606676602a
Fixed
6317d0302655f7e854cd4f31e93b47d35cb058bb
Fixed
5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a
Fixed
92ce7629a11ae62292e1cfaa6132dab081fc80ee
Fixed
878b02d5f3b56cb090dbe2c70c89273be144087f

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.6.0
Fixed
5.10.188
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.121
Type
ECOSYSTEM
Events
Introduced
5.16.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-53704.json"