CVE-2023-53704

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

No CVSS score yet EPSS 0.22%

Published 22 Oct 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-53704

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53704 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, before cb047c13bbf9018693ae31f03a5a26b212d02f13
affected from 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, before bcea444ab4c045864b55d67313833d606676602a
affected from 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, before 6317d0302655f7e854cd4f31e93b47d35cb058bb
affected from 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, before 5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a
affected from 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, before 92ce7629a11ae62292e1cfaa6132dab081fc80ee
affected from 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3, before 878b02d5f3b56cb090dbe2c70c89273be144087f
Other versions: unaffected
Linux
affected 5.6
unaffected before 5.6
unaffected from 5.10.188 up to and including 5.10.*
unaffected from 5.15.121 up to and including 5.15.*
unaffected from 6.1.39 up to and including 6.1.*
unaffected from 6.3.13 up to and including 6.3.*
unaffected from 6.4.4 up to and including 6.4.*
unaffected 6.5 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53704 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53704

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53704
trivy image --scanners vuln IMAGE | grep CVE-2023-53704

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53704 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.