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 B187534A77A for ; Wed, 24 Dec 2025 13:11:18 +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=1766581878; cv=none; b=UqKoqoD8gzP8yLlr7yP+FRc7kT2Y2uhQigqL7WSoOWaqyy7M//OgJfDBaK/GqBOmkAaMrlVSKcLcJdU/xHS1gYuIjteFXEvxaCgvM4SdLu2XzzWfOJazmHUSus66fzeL7qzoGBrZ3wfvGSA01GLzBRGPssLgEsJmzP1HyK1Xi8M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581878; c=relaxed/simple; bh=Yw3nZhC9ZZRi5OtNYFu+u4iYf1xQwVLdFQzyxKdSRIA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Vu4AmqljSy1M/KqoYdI6jquxqBUTS6XHye37U2OjK+yemfISj8yIMM3dFyTQUl6VD4o4yGxLBV7MXH16hHYywgr4kIkAu7R632kNinyVmY2eQqzAfPjMuUGz9EmCRFiRIpo3+0NRpa90nP9A2O8PUKeS+kxAhUQs2kp9qfltBCg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ywBlUXrF; 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="ywBlUXrF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BA57C4CEFB; Wed, 24 Dec 2025 13:11:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581878; bh=Yw3nZhC9ZZRi5OtNYFu+u4iYf1xQwVLdFQzyxKdSRIA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ywBlUXrF8eiZVDpc/Qc4sX5LTV7EWBDMv4+l7lQ+TkCH4FMgp24DclMbF/o144CCn Q5SzUhrNetyTHSV3BIj8mx5t+KM5MRwtJHmi1OJHsyT3vLxB//liOZKM6oWtImgjs7 vTZs75GKOB6xtt9ob33kGe6Y1/d8Vwb62iSuKmaU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54096: soundwire: fix enumeration completion Date: Wed, 24 Dec 2025 14:06:53 +0100 Message-ID: <2025122408-CVE-2023-54096-efde@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=3223; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=12cwC51965bIwqYwLa6EL2f+F41G8ZVR9aK8rjwoQVA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneTx3+zTLw3BNSsV3gTuV9GVkTCbX/a9hWvLl69mz9H hc9m77QjhgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIKXaGGYt0VVmbtO7pN+0I nHVqV9bZhl36DHMF0sLLXhW5G3Ne+MVgGGX+xfJ590sA 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: soundwire: fix enumeration completion The soundwire subsystem uses two completion structures that allow drivers to wait for soundwire device to become enumerated on the bus and initialised by their drivers, respectively. The code implementing the signalling is currently broken as it does not signal all current and future waiters and also uses the wrong reinitialisation function, which can potentially lead to memory corruption if there are still waiters on the queue. Not signalling future waiters specifically breaks sound card probe deferrals as codec drivers can not tell that the soundwire device is already attached when being reprobed. Some codec runtime PM implementations suffer from similar problems as waiting for enumeration during resume can also timeout despite the device already having been enumerated. The Linux kernel CVE team has assigned CVE-2023-54096 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit fb9469e54fa7a7b6a8137c40ae66c41b8d0ab175 and fixed in 5.10.190 with commit 48d1d0ce0782f995fda678508fdae35c5e9593f0 Issue introduced in 5.7 with commit fb9469e54fa7a7b6a8137c40ae66c41b8d0ab175 and fixed in 5.15.126 with commit a36b522767f3a72688893a472e80c9aa03e67eda Issue introduced in 5.7 with commit fb9469e54fa7a7b6a8137c40ae66c41b8d0ab175 and fixed in 6.1.43 with commit e1d54962a63b6ec04ed0204a3ecca942fde3a6fe Issue introduced in 5.7 with commit fb9469e54fa7a7b6a8137c40ae66c41b8d0ab175 and fixed in 6.4.8 with commit c5265691cd065464d795de5666dcfb89c26b9bc1 Issue introduced in 5.7 with commit fb9469e54fa7a7b6a8137c40ae66c41b8d0ab175 and fixed in 6.5 with commit c40d6b3249b11d60e09d81530588f56233d9aa44 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-54096 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/soundwire/bus.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/48d1d0ce0782f995fda678508fdae35c5e9593f0 https://git.kernel.org/stable/c/a36b522767f3a72688893a472e80c9aa03e67eda https://git.kernel.org/stable/c/e1d54962a63b6ec04ed0204a3ecca942fde3a6fe https://git.kernel.org/stable/c/c5265691cd065464d795de5666dcfb89c26b9bc1 https://git.kernel.org/stable/c/c40d6b3249b11d60e09d81530588f56233d9aa44