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 A99CD79E1 for ; Thu, 27 Mar 2025 16:44:59 +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=1743093899; cv=none; b=BbX/yN7rECeZNU1SuHZ1viTVcqBcJT2SAgzv/QGRjh9LldGNg7yfLNkvH4JZQ2ZHn80/wRy5Fur2Z6GIYlcuPs5Y9Iw+01ab5Vv/5ZC43HY/2TqNq1xtP/SiJ6hdRH3R9QdSkMyuXjGIlc1A8aKdBG3NrH+oPhC/AAyg9kzcpSo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743093899; c=relaxed/simple; bh=4tSBv26fVlgwH7zMmP6Ix0EAtGVwH0i3oKANLYzmcHc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uv8RBpsSUyFQkHVb26jCHzCuy0nT27fDFQqKC1edvqfzGLh3sxBxcntbXQ8gvWAdAtDkjRcKezW3SU71WeQrKAeoGjUNmptbJrL7X1qsRJQflvFO+QS4uJvKWTnvMEIxjBPnU6VU8+Wsl9E6xr3+G/RlrMYlp+i7GunlfOvsTbk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=emxwW7Ef; 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="emxwW7Ef" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3006C4CEE8; Thu, 27 Mar 2025 16:44:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743093899; bh=4tSBv26fVlgwH7zMmP6Ix0EAtGVwH0i3oKANLYzmcHc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=emxwW7Efb1Fdh/PO/ThvSk2BaxvhfQ71L/MCrFGcRqAMmTiqDUU4tbw3QYDFtCd0l VWZYZev/DdYAXEydCiVz7m68zC55DQOgpFLfE4bLi5nqB5FBu2pz9fyZaV/UbGBtk3 wiktdwKda9zpMggN8NkRqFKFcDMn8ss6HmnuYSlE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52987: ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write() Date: Thu, 27 Mar 2025 17:43:34 +0100 Message-ID: <2025032707-CVE-2023-52987-bcc0@gregkh> X-Mailer: git-send-email 2.49.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=1877; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4tSBv26fVlgwH7zMmP6Ix0EAtGVwH0i3oKANLYzmcHc=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlPG2SalunfVV7Yc/6Ig91UiznvUy5HFf9msuDtiXyW0 vC/1cizI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbCHcIw39N1B+9j+6s2ShXa SWdvOay8v0PalWGezuQyvTMP6jnkDptflDH/8NfKrtcUAA== 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: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write() The "id" comes from the user. Change the type to unsigned to prevent an array underflow. The Linux kernel CVE team has assigned CVE-2023-52987 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit f4ea22f7aa7536560097d765be56445933d07e0d and fixed in 6.1.11 with commit d52f34784e4e2f6e77671a9f104d8a69a3b5d24c Issue introduced in 6.1 with commit f4ea22f7aa7536560097d765be56445933d07e0d and fixed in 6.2 with commit ea57680af47587397f5005d7758022441ed66d54 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-52987 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/sof/ipc4-mtrace.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/d52f34784e4e2f6e77671a9f104d8a69a3b5d24c https://git.kernel.org/stable/c/ea57680af47587397f5005d7758022441ed66d54