CVE-2025-38297

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

19 Nov 2025, 20:13

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CWE CWE-369
References () https://git.kernel.org/stable/c/14cbdd64f3870cf0a2d94b87919b9056448c59a0 - () https://git.kernel.org/stable/c/14cbdd64f3870cf0a2d94b87919b9056448c59a0 - Patch
References () https://git.kernel.org/stable/c/179c0c7044a378198adb36f2a12410ab68cc730a - () https://git.kernel.org/stable/c/179c0c7044a378198adb36f2a12410ab68cc730a - Patch
References () https://git.kernel.org/stable/c/81d72f9241d884ec29524431f74f8009310cfa0c - () https://git.kernel.org/stable/c/81d72f9241d884ec29524431f74f8009310cfa0c - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Information

Published : 2025-07-10 08:15

Updated : 2025-11-19 20:13


NVD link : CVE-2025-38297

Mitre link : CVE-2025-38297

CVE.ORG link : CVE-2025-38297


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-369

Divide By Zero