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 0E2C328F3 for ; Thu, 1 May 2025 13:07:44 +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=1746104865; cv=none; b=Hy6e7tcl0TcOtKDLYVGEgfsSQV8P6FuydL5tVNPmYOds9XBABYcsJ41dwINcHqF4uQH+35LlgweiG6IB4HzDvAJGzwHPR0bkLyVJIZKc1KWSc6BNj8+s8E0pNR2g+3oPxmz95FjWuAKIhEqfbA6LMPctmCUXNF27npj8pDrN2G8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104865; c=relaxed/simple; bh=QEYq27v5vZ37FXpFVOBO9x2kxdELlXj0/BtzP/3/sS0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WxSccoEjFY2PcyYKoYxb0T0uQnU5yG8BtO98lf5GWeBWO6jicsRPx5zHLynp0EGpQLIZOyFfptOUdZ9V4mZ/4gjV/kR0BKGRmGHn4pH1s8GYo5iBMMVQdEz9tO0XB1+zNPsraN3oIBZruHFOqodDGx6VyLTkIu4lgKH4no73f3A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tvvSuNMS; 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="tvvSuNMS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27CE3C4CEE4; Thu, 1 May 2025 13:07:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104864; bh=QEYq27v5vZ37FXpFVOBO9x2kxdELlXj0/BtzP/3/sS0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=tvvSuNMSlZ3uryHi+BuLhHCarygUTs2yGcTXTmCVy9YKn/ZcwTRKOO3VivwAxarB4 9JeTnIJ2By+7qxR5xRafQcZriuDe62ojoZNCMoxpJVwucH4eQlEXChXmAkC/cEM2OD dc+d3g8g0ydXYWKfrYaI5VPU7oCKMdr1zfUYZq5g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37770: drm/amd/pm: Prevent division by zero Date: Thu, 1 May 2025 15:07:18 +0200 Message-ID: <2025050113-CVE-2025-37770-d29e@gregkh> X-Mailer: git-send-email 2.49.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=2635; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0M5I752n9dzn5wPkkVf7hUl2O+Md8Ry79MRk3w4+H6Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCRYy2J6IuTmxXy1DW+tbxozxNbbvMtVyzdzGveufLV G3qva3XEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOx9mCYp7T5RYrXPAlDBX8F 5+3ZR7Zo+h5bz7BgYpGP6ePUv+nPU6++T7FfO8Gk+WA+AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: Prevent division by zero The user can set any speed value. If speed is greater than UINT_MAX/8, division by zero is possible. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2025-37770 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit c52dcf49195d06319189c7f1dd8b62bfca545197 and fixed in 6.1.135 with commit 836a189fb422e7efb81c51d5160e47ec7bc11500 Issue introduced in 4.20 with commit c52dcf49195d06319189c7f1dd8b62bfca545197 and fixed in 6.6.88 with commit 587de3ca7875c06fe3c3aa4073a85c4eff46591f Issue introduced in 4.20 with commit c52dcf49195d06319189c7f1dd8b62bfca545197 and fixed in 6.12.25 with commit bd4d90adbca1862d03e581e10e74ab73ec75e61b Issue introduced in 4.20 with commit c52dcf49195d06319189c7f1dd8b62bfca545197 and fixed in 6.14.4 with commit 05de66de280ea1bd0459c994bfd2dd332cfbc2a9 Issue introduced in 4.20 with commit c52dcf49195d06319189c7f1dd8b62bfca545197 and fixed in 6.15-rc1 with commit 4b8c3c0d17c07f301011e2908fecd2ebdcfe3d1c 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-2025-37770 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/pm/powerplay/hwmgr/vega10_thermal.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/836a189fb422e7efb81c51d5160e47ec7bc11500 https://git.kernel.org/stable/c/587de3ca7875c06fe3c3aa4073a85c4eff46591f https://git.kernel.org/stable/c/bd4d90adbca1862d03e581e10e74ab73ec75e61b https://git.kernel.org/stable/c/05de66de280ea1bd0459c994bfd2dd332cfbc2a9 https://git.kernel.org/stable/c/4b8c3c0d17c07f301011e2908fecd2ebdcfe3d1c