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 5687E146D71 for ; Tue, 21 May 2024 15:36:59 +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=1716305819; cv=none; b=PlQV02aZhGLuSVgNDTNXnA+fo9V7IyoDG6BxQ1GgDSARTGuaPQdN2f10C+8Bt2ijeQl2FlyvhXmKd0L00ck++6Alqdjk/esh1/moul3SnhKk6KlyBux9Jr8e+uA17uIXnvR4X1nNbWsdF0/xTkapUAgeD41+an/1E90n5WsG7lQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305819; c=relaxed/simple; bh=ZqfooVSskQMPIGwsGJ/au3xX/TbSKZuk4lITPQaviz0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BbLsoIhQ+jMSJf+joMlaV1FYT8gO5NLC8esFCkJV4mMHjwatQFKkWaahNb+vvRBpkAopb++g+rA/37EfChM/6Mp/mEKXUYnBDmUiOb1E0ojLTM7U6TSZUo6M/4lTboo4cJ2u/Ifcnus58va3S+WAJQjbUtkWpcq5CcDpxATR5wo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=spPN7wWv; 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="spPN7wWv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AC9AC4AF09; Tue, 21 May 2024 15:36:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305818; bh=ZqfooVSskQMPIGwsGJ/au3xX/TbSKZuk4lITPQaviz0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=spPN7wWvAAWAuKelyNhRcYRABRUvgp6VKbF1Pw3s7cDbbFd67i5DoWu49Qj6oeC6l 037PmHVIfR+WmOQwXu+5yX6tR14I+8mItFFEr/nCznMTTT/K9BltVdO6DJLWldYkuN 8qmxTlZjiUesZlJQjkbYwu87j6GoY8Erj9WFUGDs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52818: drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7 Date: Tue, 21 May 2024 17:31:54 +0200 Message-ID: <2024052104-CVE-2023-52818-758f@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=2514; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZqfooVSskQMPIGwsGJ/au3xX/TbSKZuk4lITPQaviz0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++yzO8z1k1G12P+W685RhN9/V3Gf3/v96ssm5Y5HOT NEjjeqcHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRz0IM80NXSvE86TA5muo4 f8n8Z8nHvlVFcDHMM7sWoRb24u/FC40OQTmJOzb4zkm5DgA= 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 SMU7 For pptable structs that use flexible array sizes, use flexible arrays. The Linux kernel CVE team has assigned CVE-2023-52818 to this issue. Affected and fixed versions =========================== Fixed in 4.14.331 with commit e52e324a2134 Fixed in 4.19.300 with commit cfd8cd907fd9 Fixed in 5.4.262 with commit c847379a5d00 Fixed in 5.10.202 with commit 8af28ae3acb7 Fixed in 5.15.140 with commit acdb6830de02 Fixed in 6.1.64 with commit fc9ac0e8e0bc Fixed in 6.5.13 with commit 6dffdddfca81 Fixed in 6.6.3 with commit 92a775e7c970 Fixed in 6.7 with commit 760efbca74a4 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-52818 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/include/pptable.h 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/e52e324a21341c97350d5f11de14721c1c609498 https://git.kernel.org/stable/c/cfd8cd907fd94538561479a43aea455f5cf16928 https://git.kernel.org/stable/c/c847379a5d00078ad6fcb1c24230e72c5609342f https://git.kernel.org/stable/c/8af28ae3acb736ada4ce3457662fa446cc913bb4 https://git.kernel.org/stable/c/acdb6830de02cf2873aeaccdf2d9bca4aee50e47 https://git.kernel.org/stable/c/fc9ac0e8e0bcb3740c6eaad3a1a50c20016d422b https://git.kernel.org/stable/c/6dffdddfca818c02a42b6caa1d9845995f0a1f94 https://git.kernel.org/stable/c/92a775e7c9707aed28782bafe636bf87675f5a97 https://git.kernel.org/stable/c/760efbca74a405dc439a013a5efaa9fadc95a8c3