| 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-37767: 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-37767 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.13 with commit c05d1c401572ac63d704183b19db2ce746961412 and fixed in 5.15.181 with commit f2904fa2b9da943db6bef7c0f8b3fb4fc14acbc4 |
| Issue introduced in 5.13 with commit c05d1c401572ac63d704183b19db2ce746961412 and fixed in 6.1.135 with commit 8f7b5987e21e003cafac28f0e4d323e6496f83ba |
| Issue introduced in 5.13 with commit c05d1c401572ac63d704183b19db2ce746961412 and fixed in 6.6.88 with commit c3ff73e3bddf1a6c30d7effe4018d12ba0cadd2e |
| Issue introduced in 5.13 with commit c05d1c401572ac63d704183b19db2ce746961412 and fixed in 6.12.25 with commit fb803d4bb9ea0a61c21c4987505e4d4ae18f9fdc |
| Issue introduced in 5.13 with commit c05d1c401572ac63d704183b19db2ce746961412 and fixed in 6.14.4 with commit 327107bd7f052f4ee2d0c966c7ae879822f1814f |
| Issue introduced in 5.13 with commit c05d1c401572ac63d704183b19db2ce746961412 and fixed in 6.15 with commit f23e9116ebb71b63fe9cec0dcac792aa9af30b0c |
| |
| 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-37767 |
| 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/smu13/smu_v13_0.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/f2904fa2b9da943db6bef7c0f8b3fb4fc14acbc4 |
| https://git.kernel.org/stable/c/8f7b5987e21e003cafac28f0e4d323e6496f83ba |
| https://git.kernel.org/stable/c/c3ff73e3bddf1a6c30d7effe4018d12ba0cadd2e |
| https://git.kernel.org/stable/c/fb803d4bb9ea0a61c21c4987505e4d4ae18f9fdc |
| https://git.kernel.org/stable/c/327107bd7f052f4ee2d0c966c7ae879822f1814f |
| https://git.kernel.org/stable/c/f23e9116ebb71b63fe9cec0dcac792aa9af30b0c |