CVE-2025-38297: PM: EM: Fix potential division-by-zero error in em_compute_costs()

Published Jul 10, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

PM: EM: Fix potential division-by-zero error in emcomputecosts()

When the device is of a non-CPU type, table[i].performance won't be initialized in the previous eminitperformance(), resulting in division by zero when calculating costs in emcomputecosts().

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 iscpudevice(dev) check to prevent this division-by-zero issue.

Affected Software

3 affected components
Linux Linux kernel
Linux Linux kernel>=6.9<6.12.34
Linux Linux kernel>=6.13<6.15.3

Event History

Jul 10, 2025
CVE Published
via MITRE·07:42 AM
Data Sourced
via MITRE·07:42 AM
Description
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38297?

The severity of CVE-2025-38297 is classified as medium due to potential denial of service risks.

2

How do I fix CVE-2025-38297?

To fix CVE-2025-38297, update your Linux kernel to the latest version that includes the fix for this vulnerability.

3

What causes CVE-2025-38297?

CVE-2025-38297 is caused by an uninitialized performance value leading to a potential division-by-zero error in the em_compute_costs function.

4

Which versions of Linux Kernel are affected by CVE-2025-38297?

CVE-2025-38297 affects all versions of the Linux kernel prior to the patch release that resolves this division-by-zero error.

5

What are the potential impacts of CVE-2025-38297?

The potential impacts of CVE-2025-38297 include system crashes or instability resulting from the division-by-zero vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203