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 9664F286402 for ; Wed, 18 Jun 2025 11:05:19 +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=1750244719; cv=none; b=f2LPleA7iSEh0NzZrdO2+PFLYtMMs59TPThzcJIPJWlp0koFBKCQVS9JEmY9NfxqiD9SvB0pYJiL2i3AHPd7c80DOPixGqhZxqjtPsMA3+eOHH2sJn+4zhoIom2LLFonwofh1pr6E6/BuxXxStXK/DcOdQU0CKfOGQ8VuflDAOY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244719; c=relaxed/simple; bh=WuyghTLWQF7piW2mZN15wEdhCTlRyXDtENoEStjOPRw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Jh4wgHtOmvCCVSEPuEN7GObhbxKQXedkGR/LRk7NHGJRXKE1NJVxMZOIwjs5dgXTIKXKhQjAE4/qL7jzeQEFHOZMud01Itw0SAhw0cpm3vPb9kkmLV2WJisCWJnNwVwuC8K8EjO+1Q5D3Jv22DPxQHiqXP1jTFGOw2aX8oawlJM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fdioWdDg; 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="fdioWdDg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 036DBC4CEF1; Wed, 18 Jun 2025 11:05:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244719; bh=WuyghTLWQF7piW2mZN15wEdhCTlRyXDtENoEStjOPRw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=fdioWdDgfLSlD63Gi9wCHu9QiLgI08FBl1HUytrjnWX9iMEQr1lE3cQNsrOcYV4aW JS2Hs+/XoIX4FZTetfRHqF1EgsF1JQuF2JHsuipoE2EJzfflv45nWhWVmJp2vQ5HZW R9DYc0fA0OcSqUB09XbCNJ08wiWV4EIno5pYZ0i4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50015: ASoC: SOF: Intel: hda-ipc: Do not process IPC reply before firmware boot Date: Wed, 18 Jun 2025 13:01:20 +0200 Message-ID: <2025061833-CVE-2022-50015-4f7f@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=2030; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=r3ZzLBjoUWAhlnSq8I5ZAgg3YynEVY2mQJBnS3im7pc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBcwLvNspp1xZH6nw/nGm/6+/5GdVTHxzWsYzQtZ07O eDUseTJHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR3RUMC2YIzJ3ssbfmzmTz +XI1E5uSive+CGRYsO1P79Nw6b2FhetrnJg3eN4KW5ApDwA= 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: hda-ipc: 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-50015 to this issue. Affected and fixed versions =========================== Fixed in 5.19.4 with commit 48945246cf802b9866f3a821103f1a7a196baf68 Fixed in 6.0 with commit 499cc881b09c8283ab5e75b0d6d21cb427722161 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-50015 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/hda-ipc.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/48945246cf802b9866f3a821103f1a7a196baf68 https://git.kernel.org/stable/c/499cc881b09c8283ab5e75b0d6d21cb427722161