Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 0704244237B for ; Wed, 26 Aug 2026 14:38:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755101; cv=none; b=tM7uOIQZXl2KJ29z/qju88zJzF3sheNre0dUmQWLI7Nfg4ht+fp+6FKM2dFlRv/SnhvgxLcTynfV3GVQs4R+jfdFs6cF2uLr2fsEns4I8alnbqCWJIXuAI8/k4FIaFhjEJEDPjUX9cf2xNK5ogjPH/ziahzhuCUSY6XIPWJ7t3s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755101; c=relaxed/simple; bh=wyy9V2d6XBemDApUXwBqeMZ5shU3y3dSWh5sjUd+xfg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UiIW0epfPkzorprWF3vfjIkKWHQJvpwqSbTbsxfje8rJAsyWqeyBAJgPYXhd/BRe9PtpZ4ci2xQwpADxMAHxbaIW3qs7EsKVJ4uY6fUic4VbUM6jxw3QKzW+HNAm46n/fRFt6TUgEkD4VhWlQcJ0/z0b9Q+PAEdcgK/dKbG26zw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Xgcvw2SW; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Xgcvw2SW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F24B71F00A3A; Wed, 26 Aug 2026 14:38:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755098; bh=ABtudb0Jp98gn5qNaqRlbU6vLUpdfGiEeAesec1VajU=; h=From:To:Cc:Subject:Date:Reply-To; b=Xgcvw2SWRDcVRqG/mrIPJck49n9FLtxbs1pPZmqoeqrlQN9x4zhSyu+xAHFkV806q eO5Oh91flUvPSighT7dcvMLY5j5GF4Fh2Gjo68p2foOWLMRxA2bqnzN5NaFZU4q60G aF3jZxCUlMTGfiXdgsj0ebhoXFTfD/xqp+i+RBdo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80525: ASoC: SOF: ipc4-topology: Refresh copier IPC payload before widget setup Date: Wed, 26 Aug 2026 16:37:21 +0200 Message-ID: <2026082602-CVE-2026-80525-f83f@gregkh> X-Mailer: git-send-email 2.55.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=3741; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+zp+lNHT4c2wcPTo0C1ZkZ+5pYsxwgGzyWNlVUmoi9M=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v/iMf6p1RUxZEFRsYsdcmWVrFRLK+2jC8nmznDpLV MULXsh2xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETcBRnm6XVkPWD/PefQNd+i Znb+rboWzFMbGeapmRYqPJRpW7hxZQCL2rZVf79P4zIBAA== 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: ipc4-topology: Refresh copier IPC payload before widget setup The ipc_config_data buffer for copier widgets is built once during ipc_prepare (called from sof_pcm_setup_connected_widgets) and cached for reuse. For host copiers this buffer contains the copier_data with gtw_cfg.node_id (host DMA ID). For DAI copiers it additionally includes a dma_config_tlv trailer with stream_id and dma_channel_id for HDA link DMA. On suspend/resume, both host and link DMA streams are released and re-allocated with potentially different stream tags. The underlying copier_data and dma_config_tlv structures are correctly updated by host_config and sdw_hda_dai_hw_params respectively. However, since the widget list (spcm->stream[].list) persists across suspend, sof_pcm_hw_params skips sof_pcm_setup_connected_widgets and ipc_prepare never runs again to rebuild ipc_config_data. The stale cached payload is then sent to firmware with boot-time DMA channel assignments, causing DMA channel conflicts that lead to firmware errors and crashes. Fix this by refreshing copier_data and dma_config_tlv portions of ipc_config_data in sof_ipc4_widget_setup right before the IPC message is sent. This ensures the payload always reflects the current DMA state regardless of whether ipc_prepare ran. For DAI copiers, the gtw_cfg.config_length in copier_data is temporarily inflated to include the TLV size (matching the ipc_config_data layout) before copying, then restored, mirroring what sof_ipc4_prepare_copier_module does when first building the buffer. The Linux kernel CVE team has assigned CVE-2026-80525 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit e9c6b118de1afc1d32a4eb3bc9f3d114d4fe0f1a and fixed in 6.12.105 with commit decb87e76716d11d846c9c055e309c8ff90d7656 Issue introduced in 6.10 with commit e9c6b118de1afc1d32a4eb3bc9f3d114d4fe0f1a and fixed in 6.18.46 with commit 2a7d8fc0fd50e7a2020989d9840cabb74c0282e3 Issue introduced in 6.10 with commit e9c6b118de1afc1d32a4eb3bc9f3d114d4fe0f1a and fixed in 7.1.10 with commit 574498e56024082a0da68474ad4526d250732411 Issue introduced in 6.10 with commit e9c6b118de1afc1d32a4eb3bc9f3d114d4fe0f1a and fixed in 7.2 with commit 0c0e418dbcf0582bf80d8dbfd9b306607c065992 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-2026-80525 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-topology.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/decb87e76716d11d846c9c055e309c8ff90d7656 https://git.kernel.org/stable/c/2a7d8fc0fd50e7a2020989d9840cabb74c0282e3 https://git.kernel.org/stable/c/574498e56024082a0da68474ad4526d250732411 https://git.kernel.org/stable/c/0c0e418dbcf0582bf80d8dbfd9b306607c065992