CVE-2025-38297

published 10 Jul 2025 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 14cbdd64f3870cf0a2d94b87919b9056448c59a0, Kernel 179c0c7044a378198adb36f2a12410ab68cc730a and Kernel 81d72f9241d884ec29524431f74f8009310cfa0c.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.9, >=1b600da510735a0f92c8b4140a7e2cb037a6a6c3 <14cbdd64f3870cf0a2d94b87919b9056448c59a0, >=1b600da510735a0f92c8b4140a7e2cb037a6a6c3 <179c0c7044a378198adb36f2a12410ab68cc730a, >=1b600da510735a0f92c8b4140a7e2cb037a6a6c3 <81d72f9241d884ec29524431f74f8009310cfa0c14cbdd64f3870cf0a2d94b87919b9056448c59a0, 179c0c7044a378198adb36f2a12410ab68cc730a, 81d72f9241d884ec29524431f74f8009310cfa0c

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38297 severity on Zeptric[![CVE-2025-38297](https://zeptric.io/badge/cve/CVE-2025-38297.svg)](https://zeptric.io/cve/CVE-2025-38297)