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 52E832EBB83 for ; Tue, 9 Dec 2025 01:32:46 +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=1765243966; cv=none; b=UEVqNOGuIYNoLuBZvWS32Pw27UfZQe2SdidOD3Lvn/y1YCqgeWP4hxJdRekTjP0IZ91bOcHIXNbszUZlwrnCoefCJgaoLI05HPMES++5+1aG6bi2vNR5RKbXtu1DAZlh6nYHlwpn09rxh2WIcGw4zFjSAxSHV2ZMJxMWHE0vRks= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765243966; c=relaxed/simple; bh=kYE+N601cd2y0OwcHCRBCQq7DlA+i2yxwEKhrgLv2yE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EhvFJ9xkn+2QvTShyZHJhTolTzQErLdY8By6NE93zPer03jK6ZTS/XRm+yF+MSSO0xtlq2+zVO6R89C6H3hjv0vMCTyjaBMUPDmkkq/6vrz8ZpoYvcH7M/Nv+hJZeFG3muKfOe1onEh3eINO4NI2RYD0TxYu9x6Tb4FB5YQ+3ZA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=l8vnvSfJ; 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="l8vnvSfJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7625C4CEF1; Tue, 9 Dec 2025 01:32:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765243966; bh=kYE+N601cd2y0OwcHCRBCQq7DlA+i2yxwEKhrgLv2yE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=l8vnvSfJcZQphmdeaQkLfDZ38rzjMFN+bS5ck5j5D0iNbemYx4uVIkpAv7RoqL1IQ ONH8gDybZOdeMT09jZEkRgiNltVqKgMyLqpW96+qN06d59xPJrtSPubZUHebBfSCjP /xt5vAEqTDvwVJLcFhtVmFj0a9/uTzuH+iqgGeKo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53842: ASoC: codecs: wcd-mbhc-v2: fix resource leaks on component remove Date: Tue, 9 Dec 2025 10:31:26 +0900 Message-ID: <2025120957-CVE-2023-53842-d1e7@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2939; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cRXLxD/1tApQQYs5F+6assruSUdDb/hLIMWtlDuBRA4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnm1ZdkLHmWhK2929YoIqP+gNcorEdq4oYKl3bOvYGsF X0iv193xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwET2tTHMTzq8Nr6nUke37s8t Lj8rh79V+uf3Miw4kL+gdKETy2Xz0Cq75dNOm0bEG2wHAA== 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: wcd-mbhc-v2: fix resource leaks on component remove The MBHC resources must be released on component probe failure and removal so can not be tied to the lifetime of the component device. This is specifically needed to allow probe deferrals of the sound card which otherwise fails when reprobing the codec component: snd-sc8280xp sound: ASoC: failed to instantiate card -517 genirq: Flags mismatch irq 299. 00002001 (mbhc sw intr) vs. 00002001 (mbhc sw intr) wcd938x_codec audio-codec: Failed to request mbhc interrupts -16 wcd938x_codec audio-codec: mbhc initialization failed wcd938x_codec audio-codec: ASoC: error at snd_soc_component_probe on audio-codec: -16 snd-sc8280xp sound: ASoC: failed to instantiate card -16 The Linux kernel CVE team has assigned CVE-2023-53842 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 0e5c9e7ff899808afa4e2b08c2e6ccc469bed681 and fixed in 5.15.123 with commit 90ab6446eb522e31421b77bf8f45714f5668f9a3 Issue introduced in 5.14 with commit 0e5c9e7ff899808afa4e2b08c2e6ccc469bed681 and fixed in 6.1.42 with commit 17feff71d06c96dea1fa72451c20d411e9d5ac8f Issue introduced in 5.14 with commit 0e5c9e7ff899808afa4e2b08c2e6ccc469bed681 and fixed in 6.4.7 with commit ce4059e1c0aca972446e06c09ee09a0d2ba5df54 Issue introduced in 5.14 with commit 0e5c9e7ff899808afa4e2b08c2e6ccc469bed681 and fixed in 6.5 with commit a5475829adcc600bc69ee9ff7c9e3e43fb4f8d30 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-53842 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/wcd-mbhc-v2.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/90ab6446eb522e31421b77bf8f45714f5668f9a3 https://git.kernel.org/stable/c/17feff71d06c96dea1fa72451c20d411e9d5ac8f https://git.kernel.org/stable/c/ce4059e1c0aca972446e06c09ee09a0d2ba5df54 https://git.kernel.org/stable/c/a5475829adcc600bc69ee9ff7c9e3e43fb4f8d30