CVE-2025-38297

MEDIUM

Linux Kernel - Denial of Service via Division-by-Zero in Energy Model Cost Calculation

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: PM: EM: Fix potential division-by-zero error in em_compute_costs() When the device is of a non-CPU type, table[i].performance won't be initialized in the previous em_init_performance(), resulting in division by zero when calculating costs in em_compute_costs(). Since the 'cost' algorithm is only used for EAS energy efficiency calculations and is currently not utilized by other device drivers, we should add the _is_cpu_device(dev) check to prevent this division-by-zero issue.

Scores

CVSS v3 5.5
EPSS 0.0014
EPSS Percentile 4.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-369
Status published
Products (11)
linux/Kernel 6.13.0 - 6.15.3linux
linux/Kernel 6.9.0 - 6.12.34linux
Linux/Linux < 6.9
Linux/Linux 1b600da510735a0f92c8b4140a7e2cb037a6a6c3 - 14cbdd64f3870cf0a2d94b87919b9056448c59a0
Linux/Linux 1b600da510735a0f92c8b4140a7e2cb037a6a6c3 - 179c0c7044a378198adb36f2a12410ab68cc730a
Linux/Linux 1b600da510735a0f92c8b4140a7e2cb037a6a6c3 - 81d72f9241d884ec29524431f74f8009310cfa0c
Linux/Linux 6.12.34 - 6.12.*
Linux/Linux 6.15.3 - 6.15.*
Linux/Linux 6.16
Linux/Linux 6.9
... and 1 more
Published Jul 10, 2025
Tracked Since Feb 18, 2026