CVE-2025-38297
PM: EM: Fix potential division-by-zero error in em_compute_costs()
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Jul 10, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
1b600da510735a0f92c8b4140a7e2cb037a6a6c3 < 81d72f9241d884ec29524431f74f8009310cfa0c 1b600da510735a0f92c8b4140a7e2cb037a6a6c3 < 14cbdd64f3870cf0a2d94b87919b9056448c59a0 1b600da510735a0f92c8b4140a7e2cb037a6a6c3 < 179c0c7044a378198adb36f2a12410ab68cc730a
Linux / Linux
6.9