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: <2025121629-CVE-2025-68172-3d84@gregkh>
Date: Tue, 16 Dec 2025 14:43:33 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-68172: crypto: aspeed - fix double free caused by devm

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

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

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

crypto: aspeed - fix double free caused by devm

The clock obtained via devm_clk_get_enabled() is automatically managed
by devres and will be disabled and freed on driver detach. Manually
calling clk_disable_unprepare() in error path and remove function
causes double free.

Remove the manual clock cleanup in both aspeed_acry_probe()'s error
path and aspeed_acry_remove().

The Linux kernel CVE team has assigned CVE-2025-68172 to this issue.


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

	Issue introduced in 6.3 with commit 2f1cf4e50c956f882c9fc209c7cded832b67b8a3 and fixed in 6.6.117 with commit 0dd6474ced33489076e6c0f3fe5077bf12e85b28
	Issue introduced in 6.3 with commit 2f1cf4e50c956f882c9fc209c7cded832b67b8a3 and fixed in 6.12.58 with commit 29d0504077044a7e1ffbd09a6118018d5954a6e5
	Issue introduced in 6.3 with commit 2f1cf4e50c956f882c9fc209c7cded832b67b8a3 and fixed in 6.17.8 with commit e8407dfd267018f4647ffb061a9bd4a6d7ebacc6
	Issue introduced in 6.3 with commit 2f1cf4e50c956f882c9fc209c7cded832b67b8a3 and fixed in 6.18 with commit 3c9bf72cc1ced1297b235f9422d62b613a3fdae9

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-2025-68172
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/crypto/aspeed/aspeed-acry.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/0dd6474ced33489076e6c0f3fe5077bf12e85b28
	https://git.kernel.org/stable/c/29d0504077044a7e1ffbd09a6118018d5954a6e5
	https://git.kernel.org/stable/c/e8407dfd267018f4647ffb061a9bd4a6d7ebacc6
	https://git.kernel.org/stable/c/3c9bf72cc1ced1297b235f9422d62b613a3fdae9

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ