Division by Zero Vulnerability in Linux Kernel Package

linux Updated 02 Oct 2025

Summary

10/07/2025
N/A
Yes i
Unrated
Not published

DEBIAN-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 th... Affects linux versions < 6.12.35-1. Fixed in 6.12.35-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. It is widely used across various devices, from servers to embedded systems. The kernel's performance and stability are critical for the overall functionality of the operating system. This vulnerability specifically affects the energy efficiency calculations within the kernel, which can impact system performance under certain conditions.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the function em_compute_costs(), where a potential division-by-zero error can occur. This issue arises when the device being evaluated is not of a CPU type, leading to uninitialized performance metrics. As a result, the algorithm used for calculating costs may produce erroneous results, potentially affecting energy efficiency calculations. This vulnerability is particularly concerning as it could lead to unexpected behavior in systems relying on these calculations for performance optimization.

How To Fix

Minimum fixed version

6.12.35-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. However, ensuring that your system is updated to the latest version of the Linux kernel is the best practice to avoid potential issues.

Conclusion

The division by zero vulnerability in the Linux kernel poses a risk to system performance and stability, particularly in energy efficiency calculations. Updating to the patched version 6.12.35-1 or later is essential to mitigate this risk. Regular updates and monitoring for vulnerabilities are crucial for maintaining system integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a potential division-by-zero error in the Linux kernel's energy efficiency calculation function, which can lead to system instability.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

Failure to address this vulnerability may result in incorrect energy efficiency calculations, leading to suboptimal performance and potential system instability.

While the primary concern is system performance, there is no direct indication that this vulnerability leads to data loss. However, erratic behavior could indirectly affect data integrity.

It is advisable to regularly check for updates and apply them promptly to ensure your system is protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.35-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback