CVE-2025-40106: comedi: fix divide-by-zero in comedi_buf_munge()
Noroxi assessment
Priority: Monitor (action score 0/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.21% (FIRST EPSS).
- Fixed version: Linux Linux 2670932f2465793fea1ef073e40883e8390fa4d9, 4ffea48c69cb2b96a281cb7e5e42d706996631db, 55520f65fd447e04099a2c44185453c18ea73b7e.
Low priority for now. Upgrade to Linux Linux 2670932f2465793fea1ef073e40883e8390fa4d9, 4ffea48c69cb2b96a281cb7e5e42d706996631db, 55520f65fd447e04099a2c44185453c18ea73b7e or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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_len` without first checking if chanlist_len is zero. If a user program submits a command with chanlist_len set to zero, this causes a divide-by-zero error when the device processes data in the interrupt handler path. Add a check for zero chanlist_len at the beginning of the function, similar to the existing checks for !map and CMDF_RAWDATA flag. When chanlist_len is zero, update munge_count and return early, indicating the data was handled without munging. This prevents potential kernel panics from malformed user commands.
- Published
- Oct 31, 2025
- Updated
- Oct 19, 2026
- EPSS
- 0.2% · 11th percentile
- CWE
- —
Report tools
Action score
0
Monitor
Low priority for now.
- CVSS
- 0 / 40 · —
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.29affected
- ed9eccbe8970f6eedc1b978c157caf1251a896d4 and later · before 4ffea48c69cb2b96a281cb7e5e42d706996631dbaffected · git
- ed9eccbe8970f6eedc1b978c157caf1251a896d4 and later · before 8f3e4cd9be4b47246ea73ce5e3e0fa2f57f0d10caffected · git
- ed9eccbe8970f6eedc1b978c157caf1251a896d4 and later · before 2670932f2465793fea1ef073e40883e8390fa4d9affected · git
- ed9eccbe8970f6eedc1b978c157caf1251a896d4 and later · before 6db19822512396be1a3e1e20c16c97270285ba1aaffected · git
- ed9eccbe8970f6eedc1b978c157caf1251a896d4 and later · before d4854eff25efb06d0d84c13e7129bbdba4125f8caffected · git
- ed9eccbe8970f6eedc1b978c157caf1251a896d4 and later · before a4bb5d1bc2f238461bcbe5303eb500466690bb2caffected · git
- ed9eccbe8970f6eedc1b978c157caf1251a896d4 and later · before 55520f65fd447e04099a2c44185453c18ea73b7eaffected · git
- ed9eccbe8970f6eedc1b978c157caf1251a896d4 and later · before 87b318ba81dda2ee7b603f4f6c55e78ec3e95974affected · git
- before 2.6.29not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.158-1 | 6.1.158-1 |
| Debian:13 | linux | before 6.12.57-1 | 6.12.57-1 |
| Debian:14 | linux | before 6.17.6-1 | 6.17.6-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
Published before and after this one in the same product
- ← EarlierCVE-2025-40104Oct 30, 2025 · ixgbevf: fix mailbox API compatibility by negotiating supported features31Monitor
- ← EarlierCVE-2025-40105Oct 30, 2025 · vfs: Don't leak disconnected dentries on umount31Monitor
- Later →CVE-2025-40107Nov 3, 2025 · can: hi311x: fix null pointer dereference when resuming from sleep before interface was enabled0Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 2670932f2465793fea1ef073e40883e8390fa4d9 | Vendor (CNA) |
| Linux Linux | 4ffea48c69cb2b96a281cb7e5e42d706996631db | Vendor (CNA) |
| Linux Linux | 55520f65fd447e04099a2c44185453c18ea73b7e | Vendor (CNA) |
| Linux Linux | 6db19822512396be1a3e1e20c16c97270285ba1a | Vendor (CNA) |
| Linux Linux | 87b318ba81dda2ee7b603f4f6c55e78ec3e95974 | Vendor (CNA) |
| Linux Linux | 8f3e4cd9be4b47246ea73ce5e3e0fa2f57f0d10c | Vendor (CNA) |
| Linux Linux | a4bb5d1bc2f238461bcbe5303eb500466690bb2c | Vendor (CNA) |
| Linux Linux | d4854eff25efb06d0d84c13e7129bbdba4125f8c | Vendor (CNA) |
| debian:linux | 6.1.158-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
No CVSS vector for this record, so attack conditions can't be derived.
Weakness class (CWE)
—
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/4ffea48c69cb2b96a281cb7e5e42d706996631db
- git.kernel.org/stable/c/55520f65fd447e04099a2c44185453c18ea73b7e
- git.kernel.org/stable/c/6db19822512396be1a3e1e20c16c97270285ba1a
- git.kernel.org/stable/c/87b318ba81dda2ee7b603f4f6c55e78ec3e95974
- git.kernel.org/stable/c/8f3e4cd9be4b47246ea73ce5e3e0fa2f57f0d10c
- git.kernel.org/stable/c/a4bb5d1bc2f238461bcbe5303eb500466690bb2c
- git.kernel.org/stable/c/d4854eff25efb06d0d84c13e7129bbdba4125f8c
Vendor advisories and official records. Exploit/PoC links are deliberately left out.