CVE-2023-53704

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

N/A
Published: October 22, 2025 at 01:23 PM UTC
Updated: October 28, 2026 at 07:10 PM 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: 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.

Affected

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

5.69c140d9926761b0f5d329ff6c09a1540f3d5e1d3
Vendor states this is fixed in 5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a (fixed)
Vendor states this is fixed in 6317d0302655f7e854cd4f31e93b47d35cb058bb (fixed)
Vendor states this is fixed in 878b02d5f3b56cb090dbe2c70c89273be144087f (fixed)
Vendor states this is fixed in 92ce7629a11ae62292e1cfaa6132dab081fc80ee (fixed)
Vendor states this is fixed in bcea444ab4c045864b55d67313833d606676602a (fixed)
Vendor states this is fixed in cb047c13bbf9018693ae31f03a5a26b212d02f13 (fixed)
Vendor states this is fixed in 5.10.188 (unaffected)
Vendor states this is fixed in 5.15.121 (unaffected)
Vendor states this is fixed in 5.6 (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