Vulnerability in Linux
CVE-2025-38297
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.002 (4.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 5th percentile — 4.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.000
Affected products
- Linux — versions 1b600da510735a0f92c8b4140a7e2cb037a6a6c3, 6.9, 0
- Linux Kernel
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-38297?
- CVE-2025-38297 is a medium-severity vulnerability in Linux, classified under Divide By Zero. CVSS score: 5.5/10. Published 2025-07-10.
- How severe is CVE-2025-38297?
- Medium severity. CVSS v3 base score is 5.5 out of 10.