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 D444A41C78 for ; Fri, 17 May 2024 12:25:29 +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=1715948729; cv=none; b=f7aikOLCi+Iyywc2A8N5D41oahIG4WTORVmbRy81aBog9kYbkAXIqo+svmYEXdy1MFDdUb0qBqwlwT5djRNnrHt84u0+jYAu+ICHsS0wpcisz7/GsBipMSCNzmYwDwLMqIkdKuv1cmffkN2NxTfwfwqSD7FJCPKMeQ1REFtYqDU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715948729; c=relaxed/simple; bh=atNrW6bxHSCqUpNkXom/1w1EPW+GX2jjeQPSK7C+/hg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XJnjKrbrUOxasNBzTPxh/MVXKAe7PRlHV4gSPmlIZ+KeypdoDp3rAhUWxcq+TVWuhC4dY6NFfmwUI3gtOT2hczuB5W3ehM97MkSlAQCt6oITCA/nIOH8qnEEl+18XAXT5woXJUqvLDbojjliO2FrDCA0BUGwdU8kdKfvknxBUQc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r72QhHuJ; 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="r72QhHuJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57759C2BD10; Fri, 17 May 2024 12:25:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715948729; bh=atNrW6bxHSCqUpNkXom/1w1EPW+GX2jjeQPSK7C+/hg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=r72QhHuJiApssZlVhXWlTpVIquLRHN3AyYB4YxrlDG5OscEJtgL4tTTNaP36ed4MT 9DXs/nzacHri+yhKiC3FJqz8+V1xeeBsqp6u22TTgsd2L5defeqoYc3xjgcGT0H41s vraa3hdiqGlNOMoBV9h313qUa89IBqnPmywPNlK8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35788: drm/amd/display: Fix bounds check for dcn35 DcfClocks Date: Fri, 17 May 2024 14:25:09 +0200 Message-ID: <2024051707-CVE-2024-35788-877d@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=1986; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=atNrW6bxHSCqUpNkXom/1w1EPW+GX2jjeQPSK7C+/hg=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuPos/9FUx/hB8N5t3gfn2KIvZAr5O02a8c/51jqcm4 LxU5SWpjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIxRWGucKpK1/+fxi5/Hvf HK5c6W6RbL8lwgzzFDxv2+fsmrDdzvjYgVmV8cfC4vk+AQA= 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 bounds check for dcn35 DcfClocks [Why] NumFclkLevelsEnabled is used for DcfClocks bounds check instead of designated NumDcfClkLevelsEnabled. That can cause array index out-of-bounds access. [How] Use designated variable for dcn35 DcfClocks bounds check. The Linux kernel CVE team has assigned CVE-2024-35788 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit a8edc9cc0b14 and fixed in 6.7.12 with commit c373f233dab4 Issue introduced in 6.9 with commit a8edc9cc0b14 and fixed in 6.8.3 with commit f6e163e9c3d5 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-35788 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/clk_mgr/dcn35/dcn35_clk_mgr.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/c373f233dab44a13752daec13788e2ad3bf86410 https://git.kernel.org/stable/c/f6e163e9c3d50cd167ab9d411ed01b7718177387 https://git.kernel.org/stable/c/2f10d4a51bbcd938f1f02f16c304ad1d54717b96