[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050112-CVE-2025-37768-b24f@gregkh>
Date: Thu, 1 May 2025 15:07:16 +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-37768: 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-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
Powered by blists - more mailing lists