Skip to main content
Network Thinking Solutions Logo

CVE-2025-38297

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

All CVEs
CVE-2025-38297Published 7/10/2025

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

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
7/10/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.9, < 6.12.34

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.3

Verify advisory

Source
Linux
Linux
≥ 1b600da510735a0f92c8b4140a7e2cb037a6a6c3, < 81d72f9241d884ec29524431f74f8009310cfa0c

Verify advisory

Source
Linux
Linux
≥ 1b600da510735a0f92c8b4140a7e2cb037a6a6c3, < 14cbdd64f3870cf0a2d94b87919b9056448c59a0

Verify advisory

Source
Linux
Linux
≥ 1b600da510735a0f92c8b4140a7e2cb037a6a6c3, < 179c0c7044a378198adb36f2a12410ab68cc730a

Verify advisory

Source
Linux
Linux
6.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.