[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050113-CVE-2025-37771-a1b6@gregkh>
Date: Thu, 1 May 2025 15:07:19 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-37771: drm/amd/pm: Prevent division by zero
From: Greg Kroah-Hartman <gregkh@...nel.org>
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-37771 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.15 with commit b64625a303de727498f80f8cb9833fc615c0a90f and fixed in 6.1.135 with commit 402964994e8ece29702383b234fabcf04791ff95
Issue introduced in 5.15 with commit b64625a303de727498f80f8cb9833fc615c0a90f and fixed in 6.6.88 with commit 5096174074114f83c700a27869c54362cbb10f3e
Issue introduced in 5.15 with commit b64625a303de727498f80f8cb9833fc615c0a90f and fixed in 6.12.25 with commit 6413fed016208171592c88b5df002af8a1387e24
Issue introduced in 5.15 with commit b64625a303de727498f80f8cb9833fc615c0a90f and fixed in 6.14.4 with commit baa54adb5e0599299b8f088efb5544d876a3eb62
Issue introduced in 5.15 with commit b64625a303de727498f80f8cb9833fc615c0a90f and fixed in 6.15-rc1 with commit 7d641c2b83275d3b0424127b2e0d2d0f7dd82aef
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-37771
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/swsmu/smu11/arcturus_ppt.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/402964994e8ece29702383b234fabcf04791ff95
https://git.kernel.org/stable/c/5096174074114f83c700a27869c54362cbb10f3e
https://git.kernel.org/stable/c/6413fed016208171592c88b5df002af8a1387e24
https://git.kernel.org/stable/c/baa54adb5e0599299b8f088efb5544d876a3eb62
https://git.kernel.org/stable/c/7d641c2b83275d3b0424127b2e0d2d0f7dd82aef
Powered by blists - more mailing lists