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 B15D228F3 for ; Thu, 1 May 2025 13:08:12 +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=1746104892; cv=none; b=P1cZKaj30ts2dw1iDC4HmbKxAvKR3oEEEeCF+nYfvyfwGdxqJ9I73kM1czfV9zUmgXB+tmnqGFeo/h41jUfxtS40Kiv3lT2Ql9dtVgXJivL+NONEUxjvK21YSJic0K9diiiwPpIDfesg3ZVU7VMzsSuUC+yc1Ll2669Llb9Y5V0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104892; c=relaxed/simple; bh=BE697vRcwLWR16pCiS9gNDtrmvgo1VVD1ASQu9+u9nE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UKH9nWvkK/2GgjqGFR7YcvmFwlzuVUqDhhc472FEm1mjfxbKCCkQ+RjxCFCekbo/iWpNwKEIx8F/3ujWirEvBHnOyhwK2w3Yp9uJEP4L/gRfkD3A7Kcr4NmyPaExxWG+BpOyyIgJhxq3guSfs8v0ItCJAeEO3Mcn2MB+znJtgrk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SuC13uqL; 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="SuC13uqL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACD51C4CEE3; Thu, 1 May 2025 13:08:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104892; bh=BE697vRcwLWR16pCiS9gNDtrmvgo1VVD1ASQu9+u9nE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SuC13uqLJeX/Wo+TkXS8nECx5QBSNibuEAX7WC6EoP6MDbNI/qJmG/mpdAr1+stt6 wq5HXa51c2KIgeIkgSSTZmH7/kddu53GvvpdIxuemyWnOJgc8LH0PEjlHCcxwiuZuJ jTOY+E0g+gDCjFfRgv3kVRUYDnjS4CywMj0eJklI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37768: drm/amd/pm: Prevent division by zero Date: Thu, 1 May 2025 15:07:16 +0200 Message-ID: <2025050112-CVE-2025-37768-b24f@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=2633; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KnbkHTt0DgHROnxq0AJOPke5UV8es2x1z5heFxKDRV4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCRQwVz1eGP3FRvtaVKm7xfOPt++fu/9bjvm7CezBXN nbfzMSJHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR0EyG+W6vpi22XODxQmex Wp6Rp4vGldSsSwxz5c9dO3hHoErw2IxVuz56/swIf3lrBQA= 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-37768 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit c52dcf49195d06319189c7f1dd8b62bfca545197 and fixed in 6.1.135 with commit 5fc4fb54f6f064c25bfbbfd443aa861d3422dd4c Issue introduced in 4.20 with commit c52dcf49195d06319189c7f1dd8b62bfca545197 and fixed in 6.6.88 with commit b0742a709be7979c7a480772046a1f36d09dab00 Issue introduced in 4.20 with commit c52dcf49195d06319189c7f1dd8b62bfca545197 and fixed in 6.12.25 with commit 8e9c4f8d197d5709c75effa5d58e80b4fa01981a Issue introduced in 4.20 with commit c52dcf49195d06319189c7f1dd8b62bfca545197 and fixed in 6.14.4 with commit 9e4f1e21fe7b93a8ef57db433071266c2590e260 Issue introduced in 4.20 with commit c52dcf49195d06319189c7f1dd8b62bfca545197 and fixed in 6.15-rc1 with commit 7c246a05df51c52fe0852ce56ba10c41e6ed1f39 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-37768 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/smu7_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/5fc4fb54f6f064c25bfbbfd443aa861d3422dd4c https://git.kernel.org/stable/c/b0742a709be7979c7a480772046a1f36d09dab00 https://git.kernel.org/stable/c/8e9c4f8d197d5709c75effa5d58e80b4fa01981a https://git.kernel.org/stable/c/9e4f1e21fe7b93a8ef57db433071266c2590e260 https://git.kernel.org/stable/c/7c246a05df51c52fe0852ce56ba10c41e6ed1f39