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 D2D8133A02D for ; Mon, 15 Sep 2025 14:52:54 +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=1757947974; cv=none; b=bSKPWObi8QV+Vhxg2GNaAR3CNKIPlh+eoXgfAuxNoed+Hnnio/u1QI95LtyKVcQHOAyCALHOpNNlEsg6pogoBKAfsx0Ys0cV+8le1JWSvT4L082f/naFoaUKHASiGdMQKn7ffdHXeJGt4ILpApoRvnzkR86rCm/OC+KlcSVxoN0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757947974; c=relaxed/simple; bh=YB1t1lcleTsDqc7mZnj9xqYG8trJ0T7KalTDy0cUPS0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=adOO4c1FtI4qXTmeYTlopX1P7FC521BUx26l6AmXjSVzHO5ZAmpYFBJ9AcNICwP0vnUvUIzt8GtOlQ0U4cdZ0Y6Psh4wNAVMgYj0o8Q5RjrSbFlJqL7ubU5/Xt3sfiKaEQUMpq/+9x/dbNHFJYHRjKlIuJ16E+IAx6GAfE853bA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zhmi4NNv; 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="zhmi4NNv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5173C4CEFB; Mon, 15 Sep 2025 14:52:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757947974; bh=YB1t1lcleTsDqc7mZnj9xqYG8trJ0T7KalTDy0cUPS0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zhmi4NNvz/Z0dLxIXAFWSKjItkn5ndBLHYMyM7+5ngx2Y2UJudoNpai5hg700JEsb rsmjk8AM7mu2I8pdM9EX9FgQbWkAdeIiTSCSYtR1MO9MrQ+mYPjPf7GreNFpUHt7wE hy9E9wE9BMzoyZtrmYObirIfQy00vZqgAwpUyaOU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50325: ASoC: Intel: avs: Fix potential RX buffer overflow Date: Mon, 15 Sep 2025 16:49:02 +0200 Message-ID: <2025091554-CVE-2022-50325-d6bb@gregkh> X-Mailer: git-send-email 2.51.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=2141; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6OvmrShghPXG6RhYVGvUp4ByQwEMgaAJ73LxtZiRku0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkn1MOYOzV4G9nDEi8cctvvwHey9rpQcsu0M0dDzKd3d Z1M+STaEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABcJZlhwLD/lwm8H/ifL4vt8 xFY2H1/8d9sshvlV33s7rfsPX+reqvjgZvOn8zKR8QIA 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: Intel: avs: Fix potential RX buffer overflow If an event caused firmware to return invalid RX size for LARGE_CONFIG_GET, memcpy_fromio() could end up copying too many bytes. Fix by utilizing min_t(). The Linux kernel CVE team has assigned CVE-2022-50325 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit f14a1c5a9f830025dc8638303ddefd5f731ae4bc and fixed in 6.0.16 with commit ec1f0c12cb2e614c3fa8e9402f7ffcf82166078a Issue introduced in 5.18 with commit f14a1c5a9f830025dc8638303ddefd5f731ae4bc and fixed in 6.1.2 with commit 0bad12fee5ae16ab439d97c66c4238f5f4cc7f68 Issue introduced in 5.18 with commit f14a1c5a9f830025dc8638303ddefd5f731ae4bc and fixed in 6.2 with commit 23ae34e033b2c0e5e88237af82b163b296fd6aa9 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-50325 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/intel/avs/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/ec1f0c12cb2e614c3fa8e9402f7ffcf82166078a https://git.kernel.org/stable/c/0bad12fee5ae16ab439d97c66c4238f5f4cc7f68 https://git.kernel.org/stable/c/23ae34e033b2c0e5e88237af82b163b296fd6aa9