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 41E0F21364 for ; Wed, 18 Sep 2024 06:33:16 +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=1726641196; cv=none; b=eYh/xuPyyWRK0C1Br0nHtrLzVHhSqn6THmTTP4DqOcCP8zXg3sRrHw8Fkl8MyufAUVKp99tWAAvU46ri2WfFgrXKgGw+BU4UvsCKaVzGAsXA+fsEq7FtumHlH9vkkR5ubnZjAcSK4LnC8C0iWkc9MQhreghXi6VSlR7Muw6DFFQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726641196; c=relaxed/simple; bh=oWMaPVP8nfsH6KTDHjmjFdSAPz7cHkV6Q62M1eBp5ZM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bJMl4fCvMKTOji2hpI/ysIR+kAARS8mh1DcR0jk22iyv3Drvgyz4x/B+zkQbkSehI/nIVfcD/vRyyiml0ZB17pLlX3Ct+qH4Vx+176dGYcVXRRcjj5VdVd6N5/0zrcmLGynixJnQ5PtlJk4yJ5U6xnjgqYmMoVbDyDXaAvF6XYI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mD4JJXkI; 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="mD4JJXkI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7537C4CEC3; Wed, 18 Sep 2024 06:33:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726641196; bh=oWMaPVP8nfsH6KTDHjmjFdSAPz7cHkV6Q62M1eBp5ZM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mD4JJXkILpVS9JCYUNR3xGpDywXzU4s5EJIiczir+jFU3KgsUii3YPArXs8L+PYWd jhDYBVowbem0SPIi034jhSe+UVw9iEKMmIeDXhoxGd7AyMrcX4iU5i60BlyJOYuq/k u8htceoyfSfLsxX8MzJE4GaO5zz7DdAuKyrqamUc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46726: drm/amd/display: Ensure index calculation will not overflow Date: Wed, 18 Sep 2024 08:32:43 +0200 Message-ID: <2024091835-CVE-2024-46726-587e@gregkh> X-Mailer: git-send-email 2.46.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=2009; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oWMaPVP8nfsH6KTDHjmjFdSAPz7cHkV6Q62M1eBp5ZM=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmvSpg33pvbZDL98r/9gn7iM7/t3Vv5m/N2VqRYQPCC7 f1b0i03dsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEWngYFkz4fJtT9D/Xlvm8 era+UYmX1M4GKjHML7wbq9EzeQH/01yhR/Vr/pupPzJ9BwA= 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: Ensure index calculation will not overflow [WHY & HOW] Make sure vmid0p72_idx, vnom0p8_idx and vmax0p9_idx calculation will never overflow and exceess array size. This fixes 3 OVERRUN and 1 INTEGER_OVERFLOW issues reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-46726 to this issue. Affected and fixed versions =========================== Fixed in 6.1.109 with commit 733ae185502d Fixed in 6.6.50 with commit 3dc6bb57dab3 Fixed in 6.10.9 with commit d705b5869f6b Fixed in 6.11 with commit 8e2734bf4447 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-46726 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/calcs/dcn_calcs.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/733ae185502d30bbe79575167b6178cfb6c5d6bd https://git.kernel.org/stable/c/3dc6bb57dab36b38b7374af0ac916174c146b6ed https://git.kernel.org/stable/c/d705b5869f6b1b46ad5ceb1bd2a08c04f7e5003b https://git.kernel.org/stable/c/8e2734bf444767fed787305ccdcb36a2be5301a2