From mboxrd@z Thu Jan 1 00:00:00 1970 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 DE6D61422B9 for ; Wed, 17 Apr 2024 16:00:06 +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=1713369607; cv=none; b=WYn1F1WfFrkWRZRyEljW+hiV4hXUsZWdOwVyXU2kLweTFiSXaCITUwhkEa4EsQi7oaHSruRNogsxiOD5/0IvQs/mXv+4my2zeOnWph6hK5irJxfZQ742PIm4JftP6DsvvS97OhkfFkof//rlUL3YZv2wHAkieEkrBFBMFUVoyKs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713369607; c=relaxed/simple; bh=JFkboYKV4Dx35NvoTB116R6CyvQjUP3EsDmii4qG9LU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ji1BXzF6+9IPx8XXLlxpncbcL1qs/OmUMDMsPiBeO7iLbAMJhT0QzTjMNlmTmDoCfiLUz0Fhklh2Iu0k29AummuWOEqv00OF+onNVdhUixvBaNKTmdXxEuHt/fRJVyBmLnwejntiHrZla8HBho4EGXw5/MuiXC+ORjCPvphDFbQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QON7493A; 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="QON7493A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12926C3277B; Wed, 17 Apr 2024 16:00:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713369606; bh=JFkboYKV4Dx35NvoTB116R6CyvQjUP3EsDmii4qG9LU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=QON7493AMEQ1m1w+KJ7UgNKtlqJlum9foo1FGSZj3Aw/Hddkc3IbDH97vahnRYpO9 7sWDUj6eDz5buWvFqa9kmWqG7i/IxAC1LBpXr8PNlrzTKubT7eZZ8kqMu18EUzfqjJ OTksZe0W19aX6xkf0zEGrD43xI/RtMfHUB68Tuys= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26914: drm/amd/display: fix incorrect mpc_combine array size Date: Wed, 17 Apr 2024 17:59:39 +0200 Message-ID: <2024041737-CVE-2024-26914-e47b@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=1892; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JFkboYKV4Dx35NvoTB116R6CyvQjUP3EsDmii4qG9LU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnyH1+Wf6qZIXDo0jqHJNZNr6dt2B32L3Wq4BGfubX7f 33axV8X1xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATmS3MsGA516YNJk90pNL3 arCzHpRteMQ7bTbDPBOOuUvPsZiamHC9W7T0/JOkxYnnVwEA 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/display: fix incorrect mpc_combine array size [why] MAX_SURFACES is per stream, while MAX_PLANES is per asic. The mpc_combine is an array that records all the planes per asic. Therefore MAX_PLANES should be used as the array size. Using MAX_SURFACES causes array overflow when there are more than 3 planes. [how] Use the MAX_PLANES for the mpc_combine array size. The Linux kernel CVE team has assigned CVE-2024-26914 to this issue. Affected and fixed versions =========================== Fixed in 6.7.6 with commit 0bd8ef618a42 Fixed in 6.8 with commit 39079fe8e660 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-26914 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/display/dc/dml/dcn32/dcn32_fpu.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/0bd8ef618a42d7e6ea3f701065264e15678025e3 https://git.kernel.org/stable/c/39079fe8e660851abbafa90cd55cbf029210661f