CVE-2025-38297
MEDIUMLinux Kernel < 6.12.34 - Divide By Zero
Title source: ruleDescription
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.0001
EPSS Percentile
2.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Classification
CWE
CWE-369
Status
published
Affected Products (3)
linux/linux_kernel
< 6.12.34
linux/Kernel
< 6.12.34linux
linux/Kernel
< 6.15.3linux
Timeline
Published
Jul 10, 2025
Tracked Since
Feb 18, 2026