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 B8ADB3E48E for ; Wed, 6 Mar 2024 06:46:36 +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=1709707596; cv=none; b=kD/DvaxSrF4PV7YFRIW6b4jtgxxqoJL6pa5kcIVOA9CWdyClCCgLNNvOydBQlkXvX6FbtQmTOKoq7laCPdN08I/JKnxsGLbv851Xy690Ds4JL5yBFpKjSb4AqRjekpViOXw5bgOjVQ9jFsa2wFT7FhFRsSFYqrMvRdM8ttJiyyM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709707596; c=relaxed/simple; bh=BpPaqncWFy8vvq+z/FgXqUGfujW5vq4z9Ds60g9Rp3I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qbjGBz+xBnCGATe2kHITQSWhO4rU3MTSrzW0rV/qrI6SUGw+GXWutcEnPwQwg3oWu5pX8I8R6O0D4UMk2ziWgrmjWhWRZFsRFuLIKY8v7W78pA/lozTo0lVYMQQcab9uDUFxnO953IbCOK0LRxMm10JMgYmNhNWiU1u62087vxg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dHDV13mL; 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="dHDV13mL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46E56C433C7; Wed, 6 Mar 2024 06:46:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709707596; bh=BpPaqncWFy8vvq+z/FgXqUGfujW5vq4z9Ds60g9Rp3I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=dHDV13mLkxwB2fED+2DUtN2/JlF3QNhbUCLvinbpFHzlzzh/u2ix/2MXUt4RuBVFO GRyLnoNlXQ+1XhQnYoymdDB7PQKPhmeeAvNyBOMfd2Nbwz949oBUgFOXOud1qNKY+p IJC6sKXWl3f4MmTBUKoaH9yd96zEthLR7KTUr58A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52606: powerpc/lib: Validate size for vector operations Date: Wed, 6 Mar 2024 06:46:04 +0000 Message-ID: <2024030647-CVE-2023-52606-fdcc@gregkh> X-Mailer: git-send-email 2.44.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=2576; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BpPaqncWFy8vvq+z/FgXqUGfujW5vq4z9Ds60g9Rp3I=; b=owGbwMvMwCRo6H6F97bub03G02pJDKkvBKUPFB2zErJ5+jR8y1KF7qun/z5QUp105HzvspnWA bEFYTsudsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEhEIYZrP8vSG3Ua/8ovB2 vV3XWL45pL9dwMAwP+K0mEG8WUFeu3fL5rCZAfGT7ZJLAQ== 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: powerpc/lib: Validate size for vector operations Some of the fp/vmx code in sstep.c assume a certain maximum size for the instructions being emulated. The size of those operations however is determined separately in analyse_instr(). Add a check to validate the assumption on the maximum size of the operations, so as to prevent any unintended kernel stack corruption. The Linux kernel CVE team has assigned CVE-2023-52606 to this issue. Affected and fixed versions =========================== Fixed in 4.19.307 with commit 42084a428a13 Fixed in 5.4.269 with commit 0580f4403ad3 Fixed in 5.10.210 with commit beee482cc4c9 Fixed in 5.15.149 with commit de4f5ed63b8a Fixed in 6.1.77 with commit abd26515d4b7 Fixed in 6.6.16 with commit 28b8ba8eebf2 Fixed in 6.7.4 with commit 848e1d7fd710 Fixed in 6.8-rc1 with commit 8f9abaa6d7de Please see https://www.kernel.org or 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-2023-52606 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: arch/powerpc/lib/sstep.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/42084a428a139f1a429f597d44621e3a18f3e414 https://git.kernel.org/stable/c/0580f4403ad33f379eef865c2a6fe94de37febdf https://git.kernel.org/stable/c/beee482cc4c9a6b1dcffb2e190b4fd8782258678 https://git.kernel.org/stable/c/de4f5ed63b8a199704d8cdcbf810309d7eb4b36b https://git.kernel.org/stable/c/abd26515d4b767ba48241eea77b28ce0872aef3e https://git.kernel.org/stable/c/28b8ba8eebf26f66d9f2df4ba550b6b3b136082c https://git.kernel.org/stable/c/848e1d7fd710900397e1d0e7584680c1c04e3afd https://git.kernel.org/stable/c/8f9abaa6d7de0a70fc68acaedce290c1f96e2e59