CVE-2025-38297

Severity CVSS v4.0:
Pending analysis
Type:
CWE-369 Divide By Zero
Publication date:
10/07/2025
Last modified:
19/11/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&amp;#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 &amp;#39;cost&amp;#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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.9 (including) 6.12.34 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.15.3 (excluding)