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 0DA2A185939 for ; Wed, 8 Jan 2025 17:52:25 +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=1736358747; cv=none; b=ObH6wsESyejWiCEvXGiJu0uaA5g4Fg3XTwsjmRDSQqMLiTR9hkEBHNPgQJo6IkKzXnwWvYWKw5LpfMWbtBF9TdP3VBd7ac2w7AuSx4tDxHGXrZQWt9pjq+M7rYEGBH5hAzOpF6QGyLEbWcnTjMysoZ39YCh3Owfs3pgn5Dagqwg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736358747; c=relaxed/simple; bh=vMs3/dylHrkbiUyDU4xN3RfT/Lxqo5A2SUsHeK4039k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V2/f3+YIx1ZUVA79M39Pc9mRVYxD8CRnqEXI47pW8jIlRZ65x+CDygcuz+Yy12hYJZRkFODPAQqgGofCqoSsmnk3pqogsAu4sc6gmsrI+bTggvvZi8aRcAZrz66rG+UaytKiMn/qHcoII9ww0xFOXqSYq9vqKv0qLgJFXQoHgRI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N0+yAXJa; 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="N0+yAXJa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FFD5C4CED3; Wed, 8 Jan 2025 17:52:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1736358745; bh=vMs3/dylHrkbiUyDU4xN3RfT/Lxqo5A2SUsHeK4039k=; h=From:To:Cc:Subject:Date:Reply-to:From; b=N0+yAXJaATiTnJOp5Or1gDmCp3/0rWAYwUtcQmSEjzQrDx3O3ufzEhUKr6+zlFrmM aD7zvMYCqOmwmoVjNDJgIvCGy+Y2cqB1c373v5Ztl1w0w/SGh8zYKkkag7hYSNpFGt Rhyjo25krrKGINLUphGMBmhzALBeAG2+mnQDnnuc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56784: drm/amd/display: Adding array index check to prevent memory corruption Date: Wed, 8 Jan 2025 18:52:10 +0100 Message-ID: <2025010807-CVE-2024-56784-b2ba@gregkh> X-Mailer: git-send-email 2.47.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=1777; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vMs3/dylHrkbiUyDU4xN3RfT/Lxqo5A2SUsHeK4039k=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl1u925gw+1Wp9jcl0sZSXHwBw0q6Ljm+ZbI23PDdn8v 5z6HG06YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCKeNQwLTnjejog41Xh+kW6M 7zQrFvfrWrnrGRYcOrmsY+2Tqd6zPwtc9ymy+BxqIhsKAA== 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: Adding array index check to prevent memory corruption [Why & How] Array indices out of bound caused memory corruption. Adding checks to ensure that array index stays in bound. The Linux kernel CVE team has assigned CVE-2024-56784 to this issue. Affected and fixed versions =========================== Fixed in 6.12.5 with commit dff526dc3e27f5484f5ba11471b9fbbe681467f2 Fixed in 6.13-rc1 with commit 2c437d9a0b496168e1a1defd17b531f0a526dbe9 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-56784 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/dff526dc3e27f5484f5ba11471b9fbbe681467f2 https://git.kernel.org/stable/c/2c437d9a0b496168e1a1defd17b531f0a526dbe9