Critical Divide-by-Zero Vulnerability in Linux Kernel - CVE-2025-40106

linux Updated 04 Jun 2026

Summary

31/10/2025
N/A
No i
Unrated
Not published

DEBIAN-CVE-2025-40106: In the Linux kernel, the following vulnerability has been resolved: comedi: fix divide-by-zero in comedi_buf_munge() The comedi_buf_munge() function performs a modulo operation async->munge_chan %= async->cmd.chanlist_le... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware management and system resource allocation. It supports a wide range of functionalities, including process management, memory management, and device control. The kernel is crucial for system stability and performance. However, vulnerabilities within the kernel can lead to severe security risks, including system crashes and unauthorized access.

Vulnerability Detail

In the Linux kernel, a divide-by-zero vulnerability has been identified in the comedi_buf_munge() function. This issue arises when a user program submits a command with chanlist_len set to zero, leading to a divide-by-zero error during data processing in the interrupt handler. The lack of a preliminary check for zero chanlist_len can cause kernel panics, resulting in system instability and potential data loss.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, avoid submitting commands with chanlist_len set to zero. This will prevent the divide-by-zero error from occurring until the kernel can be updated with the patch.

Conclusion

The CVE-2025-40106 vulnerability in the Linux kernel poses a significant risk due to its potential to cause system crashes. Users are strongly advised to update their kernel to the latest patched version to mitigate this risk. Until an update can be applied, avoiding commands that could trigger the vulnerability is recommended.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-40106 is a critical vulnerability in the Linux kernel that can lead to a divide-by-zero error, causing potential kernel panics.

If exploited, this vulnerability can cause system crashes and instability, potentially leading to data loss or unauthorized access.

The vulnerability affects multiple Debian versions, including Debian 11, 12, 13, and 14.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

As a temporary measure, avoid submitting commands with chanlist_len set to zero to prevent triggering the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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