CVEvulnerability

CVE-2025-38297

5.5 MEDIUM Published 2025-07-10 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-07-10
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-369

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.

Affected configurations

• linux linux kernel (>= 6.9 < 6.12.34) • linux linux kernel (>= 6.13 < 6.15.3)

Related

Weakness · CWE (1)

References