lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123027-CVE-2023-54221-567b@gregkh>
Date: Tue, 30 Dec 2025 13:13:51 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-54221: clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

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

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

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

Replace of_iomap() with devm_of_iomap() to automatically
handle the unused ioremap region and delete 'iounmap(anatop_base);'
in unregister_hws.

The Linux kernel CVE team has assigned CVE-2023-54221 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.18 with commit 24defbe194b650218680fcd9dec8cd103537b531 and fixed in 6.1.39 with commit 280a5ff665e12d1e0c54c20cedc9c5008aa686a5
	Issue introduced in 5.18 with commit 24defbe194b650218680fcd9dec8cd103537b531 and fixed in 6.3.13 with commit fac9c624138c4bc021d7a8ee3b974c9e10926d92
	Issue introduced in 5.18 with commit 24defbe194b650218680fcd9dec8cd103537b531 and fixed in 6.4.4 with commit d17c16a2b2a6589c45b0bfb1b9914da80b72d89e
	Issue introduced in 5.18 with commit 24defbe194b650218680fcd9dec8cd103537b531 and fixed in 6.5 with commit e02ba11b457647050cb16e7cad16cec3c252fade

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2023-54221
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/clk/imx/clk-imx93.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/280a5ff665e12d1e0c54c20cedc9c5008aa686a5
	https://git.kernel.org/stable/c/fac9c624138c4bc021d7a8ee3b974c9e10926d92
	https://git.kernel.org/stable/c/d17c16a2b2a6589c45b0bfb1b9914da80b72d89e
	https://git.kernel.org/stable/c/e02ba11b457647050cb16e7cad16cec3c252fade

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ