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 3295E14601E for ; Mon, 29 Jul 2024 14:58:58 +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=1722265138; cv=none; b=laMYe5LwXoFk1BAEtayUHLZbAfMAIyG/gUfIATceM9SEBbyihWS30IIrxmpfwi9T62QduHRk+94aLJJpsySnbVM4wSK1aWXnoOsoG6DnZ8hRxKoWMLbW/WJ/CkFvEAcgGTx0PeskAmaTLbEKKxXP7p1cDpXqsUaDBvjVChsSVCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722265138; c=relaxed/simple; bh=ed66jH9zDvb1lRjJSqhjzqDR7bXFOC4PcbgsLymoXlI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bd9wjBisn/BzjKRXd4e4fYqu2BAmL2PgxglNJCqUlsya4w/FKDNd8PCp4kQpIx4mL3DIGkw6RHx1/a8OTjN9aJwTetxgr3ktLFp1CQ757HEypDD4xbFqtzZta5tgDX5PlPstD4nzpfnb+TKdmDmFH2sLIun3JTM1OXP+7qQfAl0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Lk4IKR3R; 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="Lk4IKR3R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 975A1C4AF15; Mon, 29 Jul 2024 14:58:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722265138; bh=ed66jH9zDvb1lRjJSqhjzqDR7bXFOC4PcbgsLymoXlI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Lk4IKR3RdbBF4sxBfyHzr0sA6Ur3mIJ0Zh/J6twsenP2oQUOOXPlrXpa5MT4I5OhR IEOGrjjfugXYvS7UwZAr1wtY3RsUom5a0I8xlm+FtsyIfudzTG7yPHaj5R2ikNhPCg oZOzFynCRPWSNKcNAwszSjTr4ReGIpRNxBncYB88= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41069: ASoC: topology: Fix references to freed memory Date: Mon, 29 Jul 2024 16:58:15 +0200 Message-ID: <2024072908-CVE-2024-41069-31e3@gregkh> X-Mailer: git-send-email 2.45.2 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=1967; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ed66jH9zDvb1lRjJSqhjzqDR7bXFOC4PcbgsLymoXlI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnL1zFMl/uxIc+BndvTNvzo8sXTVs5omt4355D9z/rVf l/u3ll7oSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm0vuXYcHkJcp+LFyb78kL rfv3b07bx/Wn9l1nmGeRXNL2atEE+VniIn2x9zcWqwr6/wQA 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: topology: Fix references to freed memory Most users after parsing a topology file, release memory used by it, so having pointer references directly into topology file contents is wrong. Use devm_kmemdup(), to allocate memory as needed. The Linux kernel CVE team has assigned CVE-2024-41069 to this issue. Affected and fixed versions =========================== Fixed in 6.1.101 with commit b188d7f3dfab Fixed in 6.6.42 with commit ab5a6208b4d6 Fixed in 6.9.11 with commit ccae5c6a1fab Fixed in 6.10 with commit 97ab304ecd95 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-41069 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/soc-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/b188d7f3dfab10e332e3c1066e18857964a520d2 https://git.kernel.org/stable/c/ab5a6208b4d6872b1c6ecea1867940fc668cc76d https://git.kernel.org/stable/c/ccae5c6a1fab9494c86b7856faf05e296c617702 https://git.kernel.org/stable/c/97ab304ecd95c0b1703ff8c8c3956dc6e2afe8e1