CVE-2025-38297
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/07/2025
Last modified:
10/07/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
PM: EM: Fix potential division-by-zero error in em_compute_costs()<br />
<br />
When the device is of a non-CPU type, table[i].performance won&#39;t be<br />
initialized in the previous em_init_performance(), resulting in division<br />
by zero when calculating costs in em_compute_costs().<br />
<br />
Since the &#39;cost&#39; algorithm is only used for EAS energy efficiency<br />
calculations and is currently not utilized by other device drivers, we<br />
should add the _is_cpu_device(dev) check to prevent this division-by-zero<br />
issue.