Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA9A9273818 for ; Fri, 25 Jul 2025 14:17:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753453036; cv=none; b=PSXN2iVryiNYzzvJE10C7osXtjw2LN5+YAr1vw+r23V8jQibxqsKVFxM94tGsE3T5QnpTVSnC/hY9Lb69Jyru3aQLVFyZ2y0LTQaxa7Mp1Q236dLRdnMC4BHMlxSTzyr5cpKxSOoA4ntqQ3p8GvgUb6OC8mTVGvSVEQcc4KwSmQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753453036; c=relaxed/simple; bh=fIL4yq0hpCsoo1ZSF45RYhzj+nMCD+5AMzt5IpHq5gM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GDsw+0UJAa0QdksT/BZIoao1jRC7dyC83Z4upBwXxNj35/7Azxhg2jGqvfXxlZ+E+9SmODJliESHvUfh1jkKbBNGeWuxmRONkBkTVecU1jyZjlORzPTYCeQUK2gtrDW1/pcQx5WZ3VIXQZ4Pua1AsrtjazGJeJDblmfkLl3s1pE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cNdkAVR2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="cNdkAVR2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0ABEBC4CEE7; Fri, 25 Jul 2025 14:17:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753453035; bh=fIL4yq0hpCsoo1ZSF45RYhzj+nMCD+5AMzt5IpHq5gM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=cNdkAVR2q6ql/gEpKr7CQ91qApf0IJF33djgq7PJbyFPkmvKAGZswQ8eW2njO9IlQ 4Ki9ddm+29i+GA7fUzD2NqGVI96g//tQqM3AJIjJHWzCt5kKdsis4PDyZeuOdBXFNq EO+ogdziEDyE8iN1TjZxXVwMWwNRy9YSGCsK4qoM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38423: ASoC: codecs: wcd9375: Fix double free of regulator supplies Date: Fri, 25 Jul 2025 16:16:56 +0200 Message-ID: <2025072554-CVE-2025-38423-171a@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2170; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hQiLkGhWCdhI1I7WftAEB/8i81CgW4JztnPW+jOPa/Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnNE6/l9LrVOlT/mZMp+LUzttg957qza367eMhN1us5D zU4svd0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERSgxlmMfsfLLhQ+GTymlzT vPYzwgdUjvPvZ1iw7OXX7vsX2E9q3NVPuHhn6+J53RxHAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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