# comedi: fix divide-by-zero in comedi_buf_munge()

CVE record · `CVE-2025-40106`

- **Identifiers:** `CVE-2025-40106`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 31 Oct 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 31 Oct 2025, 09:41 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `ed9eccbe8970f6eedc1b978c157caf1251a896d4 to before 4ffea48c69cb2b96a281cb7e5e42d706996631db` (git)
  - affected: `ed9eccbe8970f6eedc1b978c157caf1251a896d4 to before 8f3e4cd9be4b47246ea73ce5e3e0fa2f57f0d10c` (git)
  - affected: `ed9eccbe8970f6eedc1b978c157caf1251a896d4 to before 2670932f2465793fea1ef073e40883e8390fa4d9` (git)
  - affected: `ed9eccbe8970f6eedc1b978c157caf1251a896d4 to before 6db19822512396be1a3e1e20c16c97270285ba1a` (git)
  - affected: `ed9eccbe8970f6eedc1b978c157caf1251a896d4 to before d4854eff25efb06d0d84c13e7129bbdba4125f8c` (git)
  - affected: `ed9eccbe8970f6eedc1b978c157caf1251a896d4 to before a4bb5d1bc2f238461bcbe5303eb500466690bb2c` (git)
  - affected: `ed9eccbe8970f6eedc1b978c157caf1251a896d4 to before 55520f65fd447e04099a2c44185453c18ea73b7e` (git)
  - affected: `ed9eccbe8970f6eedc1b978c157caf1251a896d4 to before 87b318ba81dda2ee7b603f4f6c55e78ec3e95974` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.29`
  - unaffected: `before 2.6.29` (semver)
  - unaffected: `5.4.301 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.196 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.158 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.115 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.56 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.6 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0021, the 11th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 31 Oct 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-40106](https://www.cve.org/CVERecord?id=CVE-2025-40106)
- [NVD: CVE-2025-40106](https://nvd.nist.gov/vuln/detail/CVE-2025-40106)

### References from the CNA

- <https://git.kernel.org/stable/c/4ffea48c69cb2b96a281cb7e5e42d706996631db>
- <https://git.kernel.org/stable/c/8f3e4cd9be4b47246ea73ce5e3e0fa2f57f0d10c>
- <https://git.kernel.org/stable/c/2670932f2465793fea1ef073e40883e8390fa4d9>
- <https://git.kernel.org/stable/c/6db19822512396be1a3e1e20c16c97270285ba1a>
- <https://git.kernel.org/stable/c/d4854eff25efb06d0d84c13e7129bbdba4125f8c>
- <https://git.kernel.org/stable/c/a4bb5d1bc2f238461bcbe5303eb500466690bb2c>
- <https://git.kernel.org/stable/c/55520f65fd447e04099a2c44185453c18ea73b7e>
- <https://git.kernel.org/stable/c/87b318ba81dda2ee7b603f4f6c55e78ec3e95974>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-40106>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-40106/>. Everything for agents: <https://agentprime.io/llms.txt>.
