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 AE64A2882C3 for ; Wed, 18 Jun 2025 11:05:22 +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=1750244722; cv=none; b=K4i8rshYjDkIkRnbORJZWN12WCbUXyn7bGOmWI37DjxBwTNrpsloerxmadmKJEEq45FQNrjpXGJEut3TsfPijrnbFt/eqUGkdd0YPey6JEj44+rXu5kLreyO953N68Y12lslXIa7fM8YBwD7/0FqtKSBMz/QCDdjcD5iPIX1AZA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244722; c=relaxed/simple; bh=W83RQHQyzj6WyIgLSp7plwLnrxz1dKExV2TrdrAj1Dc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fokaBDFDIsoP8A1CNN+OphJZNqbMinIkf72X+pGSdY/cpzo0cJZ0CdGWKVOPcNryhZBHZ0kuyc6LpvXPdEAN/zOyU8t13egR2Y0/DZ9ol8WjnQirxwNO9B9tF4o2Gwim5Ow9b+rRfUF3ntXmUslMUT9YlmMhSycOUMeN75jcbRc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=x9MwA1KF; 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="x9MwA1KF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C599C4CEED; Wed, 18 Jun 2025 11:05:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244722; bh=W83RQHQyzj6WyIgLSp7plwLnrxz1dKExV2TrdrAj1Dc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=x9MwA1KFCAVA14mNugvbrkfdSj2rZzaYPLfRp23HtvEzv7swt2EDNkO2E9DIMD5Ov FanTvPEJ4QBKZ+fH9zxemQyyGfJet9VyWsP7UkQ7d4Gq8AMGmHaYz6chuRCZSCUBnX iv041+fWC2u1XcFFVWFzCbCzWDAvhoSG8pt+k8Mw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50016: ASoC: SOF: Intel: cnl: Do not process IPC reply before firmware boot Date: Wed, 18 Jun 2025 13:01:21 +0200 Message-ID: <2025061833-CVE-2022-50016-ec03@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=2022; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ieww5TpcmM67GUobOWkpLpkbM5dfA2Tc70qTGR+l/pQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBcwLnnt8prv/5cuSqk7EmLzt8st3/LVBW4VYu8nnjl T9TfemLjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIhwKGedqN59icN83hCtSf f4wl83SjTHNpDsOC7j6n+58eum12n7jp5L1eR2W23hOfAA== 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: SOF: Intel: cnl: Do not process IPC reply before firmware boot It is not yet clear, but it is possible to create a firmware so broken that it will send a reply message before a FW_READY message (it is not yet clear if FW_READY will arrive later). Since the reply_data is allocated only after the FW_READY message, this will lead to a NULL pointer dereference if not filtered out. The issue was reported with IPC4 firmware but the same condition is present for IPC3. The Linux kernel CVE team has assigned CVE-2022-50016 to this issue. Affected and fixed versions =========================== Fixed in 5.19.4 with commit 230f646085d17a008b609eb8fe8befb8811868f0 Fixed in 6.0 with commit acacd9eefd0def5a83244d88e5483b5f38ee7287 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-2022-50016 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/intel/cnl.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/230f646085d17a008b609eb8fe8befb8811868f0 https://git.kernel.org/stable/c/acacd9eefd0def5a83244d88e5483b5f38ee7287