From mboxrd@z Thu Jan 1 00:00:00 1970 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 67A0B13A40B for ; Wed, 3 Apr 2024 14:57:50 +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=1712156270; cv=none; b=Kkr9K+O4kxrcNzDL8Vq/2LDPAv8Hl0TlTsqkgQGrJwA+Gv7SoCwwIjRcnXvFB0h1BK3sU5UQNLkMa121RWCh6Wt7QKtaHo9CxFjC28atRUXUTKLmcEDbVNNsJsAvPoS43kYnH6gsa5W+BV9Fi+EyfTfHxkuuLqBQuX0ZLpEaJh4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712156270; c=relaxed/simple; bh=YWK1ggP/BOU6eDcWMhimVUU6FxGOfzzszL98URGv3xI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z2At/9TdAeHpxBD8EGK5PF1+BYJ9mXAdescUvy+dCb5tjP6+ZRSOFQnOFYpc4WMjt+WAWWIjz8MhnFenhK9dwB2vyy6sGIiHt0m780mJeaNIG7AuCpIb8YQ5V67ySNMtviJQXrI8U7UVypLHPq9jx3VZtPGTBq38TQ/9f8wXc5g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vpTxoDSB; 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="vpTxoDSB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89D2CC433F1; Wed, 3 Apr 2024 14:57:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712156270; bh=YWK1ggP/BOU6eDcWMhimVUU6FxGOfzzszL98URGv3xI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vpTxoDSB3qXD+KGu79iyNFNxxMPH5NjYJUwxn+bLmAP4+Vp6STM4EiZ+rmsysrply RrCorgY3IgWVBCTdVYwv2veeD/3i/do2eCQXaymOosQ/kX5jqXN1nGLi/QbxgKhGlB gQeBwUUccfgjHQeCEgmKl2RRpMOPyTGM1P8b4oB0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26722: ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work() Date: Wed, 3 Apr 2024 16:56:13 +0200 Message-ID: <2024040345-CVE-2024-26722-4df2@gregkh> X-Mailer: git-send-email 2.44.0 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=2957; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YWK1ggP/BOU6eDcWMhimVUU6FxGOfzzszL98URGv3xI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8uR9lHi5XE7yi1DlNY18T67yH6Y9TvM93eLn/s8tQm S5WH/elI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACay/ALDgs2fTvpap2U75vH9 8Q0ufRt2gGuPO8P87I75s805o27ZZkvPefJ7kmGn3DUGAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work() There is a path in rt5645_jack_detect_work(), where rt5645->jd_mutex is left locked forever. That may lead to deadlock when rt5645_jack_detect_work() is called for the second time. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2024-26722 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19.306 with commit 48ce529c8352 and fixed in 4.19.307 with commit 3dd2d99e2352 Issue introduced in 5.4.268 with commit b67005b284dd and fixed in 5.4.269 with commit 422d5243b9f7 Issue introduced in 5.10.209 with commit ffe13302b8fd and fixed in 5.10.210 with commit 4a98bc739d07 Issue introduced in 5.15.148 with commit 7a3ff8a2bb26 and fixed in 5.15.149 with commit d14b8e2005f3 Issue introduced in 6.1.74 with commit 1613195bf31e and fixed in 6.1.79 with commit 1f0d7792e902 Issue introduced in 6.6.13 with commit 8f82f2e4d9c4 and fixed in 6.6.18 with commit 050ad2ca0ac1 Issue introduced in 6.7 with commit cdba4301adda and fixed in 6.7.6 with commit ed5b8b735369 Issue introduced in 6.7 with commit cdba4301adda and fixed in 6.8 with commit 6ef5d5b92f71 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-2024-26722 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/rt5645.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/3dd2d99e2352903d0e0b8769e6c9b8293c7454b2 https://git.kernel.org/stable/c/422d5243b9f780abd3d39da2b746e3915677b07d https://git.kernel.org/stable/c/4a98bc739d0753a5810ce5630943cd7614c7717e https://git.kernel.org/stable/c/d14b8e2005f36319df9412d42037416d64827f6b https://git.kernel.org/stable/c/1f0d7792e9023e8658e901b7b76a555f6aa052ec https://git.kernel.org/stable/c/050ad2ca0ac169dd9e552075d2c6af1bbb46534c https://git.kernel.org/stable/c/ed5b8b735369b40d6c1f8ef3e62d369f74b4c491 https://git.kernel.org/stable/c/6ef5d5b92f7117b324efaac72b3db27ae8bb3082