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 E2C41446B4 for ; Tue, 21 May 2024 15:37:01 +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=1716305822; cv=none; b=U5PpJ8tk7YYDBTpV4XR/LdO4lt+eKP8m2pySdZfuRjjzfBdbt8zCLU5W+AapO1RGR+UYLNvKClfQ0mft3hlB/vTFHeTZlo4+ew5FUgd6bI4vZa0pG6b1zBUwT5jPceapZQJL1zP9ncuh/DEWTjlD8/6T57xAzNHYdsV4T95ObWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305822; c=relaxed/simple; bh=U0VqI9CrSuV0KyxKfiFQOPzxC9p8L1OV9rt1lRwFTLE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MrBxafZgVvEUYYKywDcVvgF8lTidUr3zmgAUxX0ZyUaw1Qg3dykLcXe4KY+bhVlqvOm9D/ZcsdSyXJrcqLOuSbmideCg29Tc6FkCzIfCit/MVfngeDwDiMH5rEc2DVk5nCIe+Hxbv+6zBYWojGBylV6or8pgfyIUZU88cLCSXhE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eSP1dfPk; 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="eSP1dfPk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66B02C32786; Tue, 21 May 2024 15:37:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305821; bh=U0VqI9CrSuV0KyxKfiFQOPzxC9p8L1OV9rt1lRwFTLE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=eSP1dfPkhnTLQ7GJrWbl7ObfBK3V5yEPujBPNqvaxEQQs8ic9yDCn6CWc2xwObMUj VHO+vGlqlJJsuqQrK1Vgjv5YW11VKpLYJgt3X369ylMY2gOuMiYSOv/lS0P5+dkGvc nG5aTCC4gSHtdEov0N8TZav9lnKkcXUgekmr3u0M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52819: drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga Date: Tue, 21 May 2024 17:31:55 +0200 Message-ID: <2024052105-CVE-2023-52819-98d5@gregkh> X-Mailer: git-send-email 2.45.1 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=2487; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=U0VqI9CrSuV0KyxKfiFQOPzxC9p8L1OV9rt1lRwFTLE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++ywVul6vMj/RcUS2MUt4pUSpc8GbzSt2ynEc2PbG4 9/RbwurOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi8asZFsz14Bef8Nn4zMoH ZtpyP/5cP9b4MJhhwe6W/1ylkSL3dsma/N8ZPnWSguuJOwA= 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: drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga For pptable structs that use flexible array sizes, use flexible arrays. The Linux kernel CVE team has assigned CVE-2023-52819 to this issue. Affected and fixed versions =========================== Fixed in 4.14.331 with commit 60a00dfc7c5d Fixed in 4.19.300 with commit a63fd579e7b1 Fixed in 5.4.262 with commit d50a56749e5a Fixed in 5.10.202 with commit 8c1dbddbfcb0 Fixed in 5.15.140 with commit a237675aa1e6 Fixed in 6.1.64 with commit d0725232da77 Fixed in 6.5.13 with commit 7c68283f3166 Fixed in 6.6.3 with commit b3b8b7c040cf Fixed in 6.7 with commit 0f0e59075b5c 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-2023-52819 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: drivers/gpu/drm/amd/pm/powerplay/hwmgr/pptable_v1_0.h 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/60a00dfc7c5deafd1dd393beaf53224f7256dad6 https://git.kernel.org/stable/c/a63fd579e7b1c3a9ebd6e6c494d49b1b6cf5515e https://git.kernel.org/stable/c/d50a56749e5afdc63491b88f5153c1aae00d4679 https://git.kernel.org/stable/c/8c1dbddbfcb051e82cea0c197c620f9dcdc38e92 https://git.kernel.org/stable/c/a237675aa1e62bbfaa341c535331c8656a508fa1 https://git.kernel.org/stable/c/d0725232da777840703f5f1e22f2e3081d712aa4 https://git.kernel.org/stable/c/7c68283f3166221af3df5791f0e13d3137a72216 https://git.kernel.org/stable/c/b3b8b7c040cf069da7afe11c5bd73b870b8f3d18 https://git.kernel.org/stable/c/0f0e59075b5c22f1e871fbd508d6e4f495048356