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