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 117811D47B5 for ; Sun, 19 Jan 2025 11:53:26 +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=1737287607; cv=none; b=OSZ+67pId6x70dMCZF0gX2aX7tvfhydG4tmhWZBj7du0JG/b+P/RGnxWy5BUcSKUoVS9JskWldPaX1/iacnu3EZ8sm4w8hbDWzEbGfWwhq4fSyHdRQWhA7VB01BicCbjW7KfTvtP9l7TecpOAgPEXzxZ7ah7vPHARNbUB2B9zdA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737287607; c=relaxed/simple; bh=8e3J/WLrp3Oq68NbzjKYWc20VElqtZCZ/OK2NHVbjMU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fOJiwpX5hQMaP252XlgyUlsASjlkFv/mTddrnpFIT8nV7PNnH0o0Z+r/kvUCacX6gnFbFQ2odNnmtPiSIy9RC6RceOTP9hd476Orls9oDnTwQKg3HOxKD0U8sHAv6gE3ln8TK6GJ9ItW1HAIT/0A3HV9ZCzWTAElLc+gJ6C02eI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GgZs7KL2; 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="GgZs7KL2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33FBDC4CED6; Sun, 19 Jan 2025 11:53:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1737287606; bh=8e3J/WLrp3Oq68NbzjKYWc20VElqtZCZ/OK2NHVbjMU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=GgZs7KL2u3vnBFmgk6MLimskEj1CSIq6wvhP9nT1g+8h+4dKWd/NUsYzpwGnbJhqz 40AAQ+jYCzwQICEd10xJ3LOhEG4YU0fk6X6QGLd9xQyaBXtoFvCO7TUG4gzXbH7OPM +PfqDOxhFBcKTLBPpt9d79RwhHFp/AZqLsYE8Ftc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57922: drm/amd/display: Add check for granularity in dml ceil/floor helpers Date: Sun, 19 Jan 2025 12:52:53 +0100 Message-ID: <2025011942-CVE-2024-57922-1f81@gregkh> X-Mailer: git-send-email 2.48.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=2218; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8e3J/WLrp3Oq68NbzjKYWc20VElqtZCZ/OK2NHVbjMU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk9z7sDHi9e8TZZnftnBPeLM3fKL85O/+s9U/9886fd1 1+smHtcuCOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm8jWGYX6dVceFE27ehfy7 A8xVi8PnLDmevo5hwcZDBysKp+WtYzxhcOoPm1PTuZIrNwA= 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: Add check for granularity in dml ceil/floor helpers [Why] Wrapper functions for dcn_bw_ceil2() and dcn_bw_floor2() should check for granularity is non zero to avoid assert and divide-by-zero error in dcn_bw_ functions. [How] Add check for granularity 0. (cherry picked from commit f6e09701c3eb2ccb8cb0518e0b67f1c69742a4ec) The Linux kernel CVE team has assigned CVE-2024-57922 to this issue. Affected and fixed versions =========================== Fixed in 6.1.125 with commit f3d1e4062ef251fa55ccfeca1e54a98b6818b3a1 Fixed in 6.6.72 with commit ae9ab63a268be99a27a4720ca24f6be801744fee Fixed in 6.12.10 with commit 4f0dd09ed3001725ffd8cdc2868e71df585392fe Fixed in 6.13-rc7 with commit 0881fbc4fd62e00a2b8e102725f76d10351b2ea8 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-57922 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/dml_inline_defs.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/f3d1e4062ef251fa55ccfeca1e54a98b6818b3a1 https://git.kernel.org/stable/c/ae9ab63a268be99a27a4720ca24f6be801744fee https://git.kernel.org/stable/c/4f0dd09ed3001725ffd8cdc2868e71df585392fe https://git.kernel.org/stable/c/0881fbc4fd62e00a2b8e102725f76d10351b2ea8