Skip to main content
VulnerabilityPublished

CVE-2025-40106: Linux kernel · comedi: fix divide-by-zero in comedi_buf_munge()

Source GCVE Database

0
Compare

Not known to be exploited.

Data as of 29 Oct 2026, 23:29 UTC

Severity
Medium

Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

AI-suggested

A fix has been implemented that adds a check for zero chanlist_len in the comedi_buf_munge() function to prevent divide-by-zero errors. Users should apply the official Linux kernel update containing this fix once it is available. Until then, avoid submitting commands with chanlist_len set to zero to mitigate the risk.

Description

A divide-by-zero vulnerability was identified and fixed in the Linux kernel's comedi_buf_munge() function. The function performed a modulo operation without checking if the divisor (chanlist_len) was zero, which could cause a kernel panic if a user submitted a command with chanlist_len set to zero. The fix adds a check for zero chanlist_len and returns early to prevent the error.

References

Community reviews

Loading reviews…