{"id":"CVE-2025-38297","published":"2025-07-10T07:42:10Z","modified":"2026-05-11T21:25:15Z","title":"PM: EM: Fix potential division-by-zero error in em_compute_costs()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPM: EM: Fix potential division-by-zero error in em_compute_costs()\n\nWhen the device is of a non-CPU type, table[i].performance won't be\ninitialized in the previous em_init_performance(), resulting in division\nby zero when calculating costs in em_compute_costs().\n\nSince the 'cost' algorithm is only used for EAS energy efficiency\ncalculations and is currently not utilized by other device drivers, we\nshould add the _is_cpu_device(dev) check to prevent this division-by-zero\nissue.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00264,"percentile":0.11331,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/81d72f9241d884ec29524431f74f8009310cfa0c","tags":[]},{"url":"https://git.kernel.org/stable/c/14cbdd64f3870cf0a2d94b87919b9056448c59a0","tags":[]},{"url":"https://git.kernel.org/stable/c/179c0c7044a378198adb36f2a12410ab68cc730a","tags":[]}],"priority":{"score":2.3,"factors":[{"name":"EPSS percentile","points":2.27}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1b600da510735a0f92c8b4140a7e2cb037a6a6c3, < 81d72f9241d884ec29524431f74f8009310cfa0c",">= 1b600da510735a0f92c8b4140a7e2cb037a6a6c3, < 14cbdd64f3870cf0a2d94b87919b9056448c59a0",">= 1b600da510735a0f92c8b4140a7e2cb037a6a6c3, < 179c0c7044a378198adb36f2a12410ab68cc730a"]},{"vendor":"Linux","product":"Linux","versions":["6.9"]}],"euvd":{"id":"EUVD-2025-20951","exploited":false,"provenance":"source"}}