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 01013145B25 for ; Thu, 27 Feb 2025 02:13:07 +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=1740622388; cv=none; b=TEWl4vQq5tgk0eiZKQ+DxGFoDxOPxKELZ9mYE7Gkgsj97hpi64ZlR9BQOp7jHKFk7UZBzESt6Fe+G2ad4xPo4lusQOSumDtrStDQODDxs6q3+BIHJgV+Jz11fW7lBKJUiUXrdfH/QF3/Gr+1NRca+wdFbiOEjbgbyKrLdWK2so0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622388; c=relaxed/simple; bh=Lypv0d7tvV1USwVILKoq8r6r/szmfJDeM/oIilRgCqs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DP6582JXxpp0BMUZRSA5RIPIgIoy2i/twKl70RA6u1SJk2z4S76BN4u28khQYQ1wbHPFXnDe2lL0v2jrCDaI3HI0plK6hDw1DkbKG0+mYJfAIjip0YX5RUpDwy23t4a3E7SpgS84DBLQv/AfJoHeD3fQSzMcmbrEVsj8jliG+A8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WoXthbxq; 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="WoXthbxq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F3B1C4CEE8; Thu, 27 Feb 2025 02:13:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622387; bh=Lypv0d7tvV1USwVILKoq8r6r/szmfJDeM/oIilRgCqs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=WoXthbxqs7yzoM+ifck7t/ySq25cG1kvbliIaQ/DRW28VCQv0zsSpROYp+xTkpb2Z UW/CG8e4Sow9B1DdfUX3yxz97JeiYfGsshYMB22PtZhgn1/EIfHNbbtH+YTAlmKRqu QYPcNVV/44sHHRUxmBzdMHHBdRaxVg7Ug8hmHNzM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58012: ASoC: SOF: Intel: hda-dai: Ensure DAI widget is valid during params Date: Wed, 26 Feb 2025 18:11:06 -0800 Message-ID: <2025022656-CVE-2024-58012-90ce@gregkh> X-Mailer: git-send-email 2.48.1 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=2138; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Lypv0d7tvV1USwVILKoq8r6r/szmfJDeM/oIilRgCqs=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7T27Iyk8McHnxYQ2/6/vVR4WS2+e65fefOtaxyev0B O1/MfcvdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEOIoY5tesy58Yxte1PJ/r 1rz5p3OWaS3of8ywoP3DxdliTBGBUkcP/nv8bbNmjYqlIwA= 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: Intel: hda-dai: Ensure DAI widget is valid during params Each cpu DAI should associate with a widget. However, the topology might not create the right number of DAI widgets for aggregated amps. And it will cause NULL pointer deference. Check that the DAI widget associated with the CPU DAI is valid to prevent NULL pointer deference due to missing DAI widgets in topologies with aggregated amps. The Linux kernel CVE team has assigned CVE-2024-58012 to this issue. Affected and fixed versions =========================== Fixed in 6.12.14 with commit e012a77e4d7632cf615ba9625b1600ed8985c3b5 Fixed in 6.13.3 with commit 789a2fbf0900982788408d3b0034e0e3f914fb3b Fixed in 6.14-rc1 with commit 569922b82ca660f8b24e705f6cf674e6b1f99cc7 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-58012 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-dai.c sound/soc/sof/intel/hda.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/e012a77e4d7632cf615ba9625b1600ed8985c3b5 https://git.kernel.org/stable/c/789a2fbf0900982788408d3b0034e0e3f914fb3b https://git.kernel.org/stable/c/569922b82ca660f8b24e705f6cf674e6b1f99cc7