blob: ac5b62ea70d95869d34e055b274c87026670533c [file] [log] [blame]
From bippy-1.2.0 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@kernel.org>
To: <linux-cve-announce@vger.kernel.org>
Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org>
Subject: CVE-2025-37766: drm/amd/pm: Prevent division by zero
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-37766 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.20 with commit 031db09017da532d4dc7bbba8c734cfc80f49f34 and fixed in 5.4.293 with commit 6b9f9b998b107c7539f148a013d789ddb860c3b9
Issue introduced in 4.20 with commit 031db09017da532d4dc7bbba8c734cfc80f49f34 and fixed in 5.10.237 with commit ce773dd844ee19a605af27f11470887e0f2044a9
Issue introduced in 4.20 with commit 031db09017da532d4dc7bbba8c734cfc80f49f34 and fixed in 5.15.181 with commit 80814924260cea431a8fc6137d11cc8cb331a10c
Issue introduced in 4.20 with commit 031db09017da532d4dc7bbba8c734cfc80f49f34 and fixed in 6.1.135 with commit ffd688804425579a472fbd2525bedb58b1d28bd9
Issue introduced in 4.20 with commit 031db09017da532d4dc7bbba8c734cfc80f49f34 and fixed in 6.6.88 with commit 068091b796480819bf70b159f17e222ad8bea900
Issue introduced in 4.20 with commit 031db09017da532d4dc7bbba8c734cfc80f49f34 and fixed in 6.12.25 with commit 42f7b5d12c28b2a601a98d10a80c6db1fe1a2900
Issue introduced in 4.20 with commit 031db09017da532d4dc7bbba8c734cfc80f49f34 and fixed in 6.14.4 with commit affd2241927a1e74c0aecd50c2d920dc4213c56d
Issue introduced in 4.20 with commit 031db09017da532d4dc7bbba8c734cfc80f49f34 and fixed in 6.15 with commit 4e3d9508c056d7e0a56b58d5c81253e2a0d22b6c
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-37766
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/vega20_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/6b9f9b998b107c7539f148a013d789ddb860c3b9
https://git.kernel.org/stable/c/ce773dd844ee19a605af27f11470887e0f2044a9
https://git.kernel.org/stable/c/80814924260cea431a8fc6137d11cc8cb331a10c
https://git.kernel.org/stable/c/ffd688804425579a472fbd2525bedb58b1d28bd9
https://git.kernel.org/stable/c/068091b796480819bf70b159f17e222ad8bea900
https://git.kernel.org/stable/c/42f7b5d12c28b2a601a98d10a80c6db1fe1a2900
https://git.kernel.org/stable/c/affd2241927a1e74c0aecd50c2d920dc4213c56d
https://git.kernel.org/stable/c/4e3d9508c056d7e0a56b58d5c81253e2a0d22b6c