CVE-2023-53704
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-22

Last updated on: 2025-10-22

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe() Replace of_iomap() and kzalloc() with devm_of_iomap() and devm_kzalloc() 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 of_clk_add_hw_provider, if it returns negtive, print error info and unregister hws, which makes the program more robust.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-22
Last Modified
2025-10-22
Generated
2026-06-16
AI Q&A
2025-10-22
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves the clk-imx8mp driver where error handling was improved by replacing manual memory management functions (of_iomap() and kzalloc()) with device-managed versions (devm_of_iomap() and devm_kzalloc()). This change prevents potential memory leaks by automatically releasing memory when the device or driver is removed. Additionally, redundant manual memory release calls were removed, and error checking was added for the function of_clk_add_hw_provider to make the program more robust.

Impact Analysis

The vulnerability could lead to potential memory leaks in the Linux kernel's clk-imx8mp driver, which may cause increased memory usage and reduced system stability or performance over time. By improving error handling and memory management, the fix reduces the risk of such leaks and enhances the robustness of the system.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2023-53704. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart