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: <2025100453-CVE-2023-53572-ab85@gregkh>
Date: Sat,  4 Oct 2025 17:17:26 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53572: clk: imx: scu: use _safe list iterator to avoid a use after free

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

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

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

clk: imx: scu: use _safe list iterator to avoid a use after free

This loop is freeing "clk" so it needs to use list_for_each_entry_safe().
Otherwise it dereferences a freed variable to get the next item on the
loop.

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


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

	Issue introduced in 5.11 with commit 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 and fixed in 5.15.121 with commit f95ff838ac39f861d1f95a0f3bbb1e01c2517d79
	Issue introduced in 5.11 with commit 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 and fixed in 6.1.39 with commit 08cc7cd2c2a29a2abf5bceb8f048c0734d3694ba
	Issue introduced in 5.11 with commit 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 and fixed in 6.3.13 with commit 3d90921f91fc6a8c801d527bb5848c99e335c1cf
	Issue introduced in 5.11 with commit 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 and fixed in 6.4.4 with commit 0a719f0e4b6f233979e219baff73923e76a96e09
	Issue introduced in 5.11 with commit 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 and fixed in 6.5 with commit 632c60ecd25dbacee54d5581fe3aeb834b57010a

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-53572
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-scu.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/f95ff838ac39f861d1f95a0f3bbb1e01c2517d79
	https://git.kernel.org/stable/c/08cc7cd2c2a29a2abf5bceb8f048c0734d3694ba
	https://git.kernel.org/stable/c/3d90921f91fc6a8c801d527bb5848c99e335c1cf
	https://git.kernel.org/stable/c/0a719f0e4b6f233979e219baff73923e76a96e09
	https://git.kernel.org/stable/c/632c60ecd25dbacee54d5581fe3aeb834b57010a

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ