Skip to contentSkip to conversation

CVE-2025-38423: ASoC: codecs: wcd9375: Fix double free of regulator supplies

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 25, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

ASoC: codecs: wcd9375: Fix double free of regulator supplies

Driver gets regulator supplies in probe path with devm_regulator_bulk_get(), so should not call regulator_bulk_free() in error and remove paths to avoid double free.

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

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

	Issue introduced in 6.11 with commit 216d04139a6d0ecaea9432178225b29d367da886 and fixed in 6.12.35 with commit c8228b5f3d74fd8ad4dfc79d5d601eb6fca5e63e
	Issue introduced in 6.11 with commit 216d04139a6d0ecaea9432178225b29d367da886 and fixed in 6.15.4 with commit ce30258c05d39b62a05c99016d7148b3bf60fbdc
	Issue introduced in 6.11 with commit 216d04139a6d0ecaea9432178225b29d367da886 and fixed in 6.16-rc1 with commit 63fe298652d4eda07d738bfcbbc59d1343a675ef

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-38423

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:

	sound/soc/codecs/wcd937x.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/c8228b5f3d74fd8ad4dfc79d5d601eb6fca5e63e
	https://git.kernel.org/stable/c/ce30258c05d39b62a05c99016d7148b3bf60fbdc
	https://git.kernel.org/stable/c/63fe298652d4eda07d738bfcbbc59d1343a675ef