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.
[
{
"id": "CVE-2025-37766-00268b67",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "209399984629633136128728869546846335553",
"length": 529.0
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c",
"function": "vega20_fan_ctrl_set_fan_speed_rpm"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce773dd844ee19a605af27f11470887e0f2044a9"
},
{
"id": "CVE-2025-37766-08298370",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "209399984629633136128728869546846335553",
"length": 529.0
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c",
"function": "vega20_fan_ctrl_set_fan_speed_rpm"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ffd688804425579a472fbd2525bedb58b1d28bd9"
},
{
"id": "CVE-2025-37766-0d16abd9",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"93705174826334788304234224766919348964",
"319258777912971863715298358473801213507",
"181064951681768025772356773114108242448",
"304602045504696093438489746078010594790"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b9f9b998b107c7539f148a013d789ddb860c3b9"
},
{
"id": "CVE-2025-37766-13860a9f",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"93705174826334788304234224766919348964",
"319258777912971863715298358473801213507",
"181064951681768025772356773114108242448",
"304602045504696093438489746078010594790"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ffd688804425579a472fbd2525bedb58b1d28bd9"
},
{
"id": "CVE-2025-37766-21f2e699",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "209399984629633136128728869546846335553",
"length": 529.0
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c",
"function": "vega20_fan_ctrl_set_fan_speed_rpm"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@affd2241927a1e74c0aecd50c2d920dc4213c56d"
},
{
"id": "CVE-2025-37766-34c0452d",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "209399984629633136128728869546846335553",
"length": 529.0
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c",
"function": "vega20_fan_ctrl_set_fan_speed_rpm"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e3d9508c056d7e0a56b58d5c81253e2a0d22b6c"
},
{
"id": "CVE-2025-37766-416692ce",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "209399984629633136128728869546846335553",
"length": 529.0
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c",
"function": "vega20_fan_ctrl_set_fan_speed_rpm"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@42f7b5d12c28b2a601a98d10a80c6db1fe1a2900"
},
{
"id": "CVE-2025-37766-575ae715",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "209399984629633136128728869546846335553",
"length": 529.0
},
"target": {
"file": "drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c",
"function": "vega20_fan_ctrl_set_fan_speed_rpm"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b9f9b998b107c7539f148a013d789ddb860c3b9"
},
{
"id": "CVE-2025-37766-83cf02bd",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"93705174826334788304234224766919348964",
"319258777912971863715298358473801213507",
"181064951681768025772356773114108242448",
"304602045504696093438489746078010594790"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@42f7b5d12c28b2a601a98d10a80c6db1fe1a2900"
},
{
"id": "CVE-2025-37766-9b67fdc3",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"93705174826334788304234224766919348964",
"319258777912971863715298358473801213507",
"181064951681768025772356773114108242448",
"304602045504696093438489746078010594790"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@068091b796480819bf70b159f17e222ad8bea900"
},
{
"id": "CVE-2025-37766-a623a3cf",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"93705174826334788304234224766919348964",
"319258777912971863715298358473801213507",
"181064951681768025772356773114108242448",
"304602045504696093438489746078010594790"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e3d9508c056d7e0a56b58d5c81253e2a0d22b6c"
},
{
"id": "CVE-2025-37766-b7c63e88",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"93705174826334788304234224766919348964",
"319258777912971863715298358473801213507",
"181064951681768025772356773114108242448",
"304602045504696093438489746078010594790"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80814924260cea431a8fc6137d11cc8cb331a10c"
},
{
"id": "CVE-2025-37766-c2ed2fad",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "209399984629633136128728869546846335553",
"length": 529.0
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c",
"function": "vega20_fan_ctrl_set_fan_speed_rpm"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@068091b796480819bf70b159f17e222ad8bea900"
},
{
"id": "CVE-2025-37766-c4704071",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"93705174826334788304234224766919348964",
"319258777912971863715298358473801213507",
"181064951681768025772356773114108242448",
"304602045504696093438489746078010594790"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@affd2241927a1e74c0aecd50c2d920dc4213c56d"
},
{
"id": "CVE-2025-37766-c5af5113",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "209399984629633136128728869546846335553",
"length": 529.0
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c",
"function": "vega20_fan_ctrl_set_fan_speed_rpm"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80814924260cea431a8fc6137d11cc8cb331a10c"
},
{
"id": "CVE-2025-37766-e9eebf0c",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"93705174826334788304234224766919348964",
"319258777912971863715298358473801213507",
"181064951681768025772356773114108242448",
"304602045504696093438489746078010594790"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce773dd844ee19a605af27f11470887e0f2044a9"
}
]