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 65A1736F91B for ; Sat, 15 Aug 2026 06:21:25 +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=1786774886; cv=none; b=Bn8p6faW+VuKDtA3hEpKUgcjg+i9VSA7KRdCMaafp+dBZfvqVhTmNGgJKtQXH4OscJPdi+s/64WOIL2YnjGMKu0uOv5/YjSDaeTVPHOU203C5g2REYRWGgQM/MJcd5HhKi/MnTstAYqXlDVHKgHE2FnV46bIp8tZyzdOlvPOFAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774886; c=relaxed/simple; bh=APCChO9xZL+R2etfIfjfVaRDoB3bwc9HrvU0U0r4wFU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CBsqxoRdNB4dLDPIEFkSDP9C8jZfPUYaAtn3pr9DkWXaOQA/cp/fFtvL4PXr6kOGBGjcFaLycl0/HVqT7cE4IuxEEeFUF/Y7B+6niWLaUp5+bioACtWWPJvPxjyuREDemVmLNSxPImGhIQobBq6XdhcGfmqw0YuXjbJhk/JXnjo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZpSVx0E5; 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="ZpSVx0E5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC36D1F000E9; Sat, 15 Aug 2026 06:21:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774885; bh=DjORHecvG1NauONl6ni0OLAG5K9wYPTfKV8iG5MQl10=; h=From:To:Cc:Subject:Date:Reply-To; b=ZpSVx0E5JsNRUN49f9UQFHzG1AwShuWSAv31U+uaNgB1iCtK2svQbdg0fquB4pl6e hgKctx79xmoL0o2LhXCwrlfA7AJsJfth5XCFr0CW5RI7ZENUS9OfXTSro6DgYlEUn0 jTIODLOgRebp0S8+8gNuP8s/JcvFxuv+QQvhs89A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72304: ASoC: SOF: ipc4-control: Fix TOCTOU in sof_ipc4_bytes_put Date: Sat, 15 Aug 2026 15:06:23 +0900 Message-ID: <2026081503-CVE-2026-72304-c41a@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=2822; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TD9y8WqmplF9RgFIOpFqShsLoL7kJtz0XAzHGDa28to=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDLefatVO6+fvPbN/ms3mOLP1bz7X1bacdz5S39Wkk egj6XesI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZiE8EwVyp9oupC5W9hIQ9M Jn9MvXYw9t1kW4b5dWFdlndvvOWSPKb6NzJ65YHtezd0AgA= 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-control: Fix TOCTOU in sof_ipc4_bytes_put In sof_ipc4_bytes_put(), the copy size is derived from the old data->size in the buffer rather than the incoming new data's size field from ucontrol. If the new data has a different size, the copy uses the wrong length: it may truncate valid data or copy stale bytes. Fix by validating and using the incoming data's sof_abi_hdr.size from ucontrol before copying. The Linux kernel CVE team has assigned CVE-2026-72304 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit a062c8899fede2ab5660a817e9b602d3fa280a99 and fixed in 6.6.145 with commit 266f936db83aee6ca6473bbb06259bda52bf4fc3 Issue introduced in 6.4 with commit a062c8899fede2ab5660a817e9b602d3fa280a99 and fixed in 6.12.97 with commit 4cf6a7ebbf8787393b158b2cc341723e5bebc4a8 Issue introduced in 6.4 with commit a062c8899fede2ab5660a817e9b602d3fa280a99 and fixed in 6.18.40 with commit fb4293173db2d474d8fbc0e5ecf4943e6df2b40e Issue introduced in 6.4 with commit a062c8899fede2ab5660a817e9b602d3fa280a99 and fixed in 7.1.5 with commit 038406abde0d0883419ec89425ea941ec8bbef95 Issue introduced in 6.4 with commit a062c8899fede2ab5660a817e9b602d3fa280a99 and fixed in 7.2-rc1 with commit 3ad673e7139cf214afd24321a829aad6575f4163 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-72304 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-control.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/266f936db83aee6ca6473bbb06259bda52bf4fc3 https://git.kernel.org/stable/c/4cf6a7ebbf8787393b158b2cc341723e5bebc4a8 https://git.kernel.org/stable/c/fb4293173db2d474d8fbc0e5ecf4943e6df2b40e https://git.kernel.org/stable/c/038406abde0d0883419ec89425ea941ec8bbef95 https://git.kernel.org/stable/c/3ad673e7139cf214afd24321a829aad6575f4163