Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.9, < 6.12.34 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/14cbdd64f3870cf0a2d94b87919b9056448c59a0Patch
- https://git.kernel.org/stable/c/179c0c7044a378198adb36f2a12410ab68cc730aPatch
- https://git.kernel.org/stable/c/81d72f9241d884ec29524431f74f8009310cfa0cPatch
FAQ
What is CVE-2025-38297?
CVE-2025-38297 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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'...
How severe is CVE-2025-38297?
CVE-2025-38297 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-38297?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.