PT-2025-29017
CVE-2025-38297
·
Published
2025-04-18
·
Updated
2026-03-06
Description by
CVSS 2.0
6.0
MediumMetricsAV:L/AC:H/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
A potential division-by-zero error exists in the
em compute costs() function within the Linux kernel’s power management (PM) and energy management (EM) subsystems. This occurs when a non-CPU device’s table[i].performance is not initialized in the em init performance() function, leading to a division-by-zero error during cost calculation in em compute costs(). The 'cost' algorithm is used solely for Enhanced Adaptive Scaling (EAS) energy efficiency calculations and is not currently used by other device drivers.Recommendations:
Add the
is cpu device(dev) check to prevent this division-by-zero issue. Found an issue in the description? Have something to add? Feel free to write us 👾