CVE-2025-40106
CVE.org · Publicado
- Status do registro
- Publicado
- Ano do identificador (não é o ano de publicação)
- 2025
- Publicação na fonte
- Atualização na fonte
- Importado pelo cveboard
- Snapshot da fonte
- cve_2026-10-24_midnight_baseline ·
Texto da CNA em inglês
comedi: fix divide-by-zero in comedi_buf_munge()
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.
Fatos de produtos e versões por escopo
Dados de correção desconhecidos; nenhuma versão corrigida é deduzida aqui. Dados ausentes não comprovam ausência de correção.
Exploração desconhecida; este catálogo não avalia exploração.
Linux
- Fornecedor
- Linux
- Produto
- Linux
- Plataformas
- Desconhecido
- Status padrão
unaffected
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| ed9eccbe8970f6eedc1b978c157caf1251a896d4 | affected | git | 4ffea48c69cb2b96a281cb7e5e42d706996631db | Indisponível | Nenhuma listada |
| ed9eccbe8970f6eedc1b978c157caf1251a896d4 | affected | git | 8f3e4cd9be4b47246ea73ce5e3e0fa2f57f0d10c | Indisponível | Nenhuma listada |
| ed9eccbe8970f6eedc1b978c157caf1251a896d4 | affected | git | 2670932f2465793fea1ef073e40883e8390fa4d9 | Indisponível | Nenhuma listada |
| ed9eccbe8970f6eedc1b978c157caf1251a896d4 | affected | git | 6db19822512396be1a3e1e20c16c97270285ba1a | Indisponível | Nenhuma listada |
| ed9eccbe8970f6eedc1b978c157caf1251a896d4 | affected | git | d4854eff25efb06d0d84c13e7129bbdba4125f8c | Indisponível | Nenhuma listada |
| ed9eccbe8970f6eedc1b978c157caf1251a896d4 | affected | git | a4bb5d1bc2f238461bcbe5303eb500466690bb2c | Indisponível | Nenhuma listada |
| ed9eccbe8970f6eedc1b978c157caf1251a896d4 | affected | git | 55520f65fd447e04099a2c44185453c18ea73b7e | Indisponível | Nenhuma listada |
| ed9eccbe8970f6eedc1b978c157caf1251a896d4 | affected | git | 87b318ba81dda2ee7b603f4f6c55e78ec3e95974 | Indisponível | Nenhuma listada |
Linux
- Fornecedor
- Linux
- Produto
- Linux
- Plataformas
- Desconhecido
- Status padrão
affected
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| 2.6.29 | affected | Indisponível | Indisponível | Indisponível | Nenhuma listada |
| 0 | unaffected | semver | 2.6.29 | Indisponível | Nenhuma listada |
| 5.4.301 | unaffected | semver | Indisponível | 5.4.* | Nenhuma listada |
| 5.10.246 | unaffected | semver | Indisponível | 5.10.* | Nenhuma listada |
| 5.15.196 | unaffected | semver | Indisponível | 5.15.* | Nenhuma listada |
| 6.1.158 | unaffected | semver | Indisponível | 6.1.* | Nenhuma listada |
| 6.6.115 | unaffected | semver | Indisponível | 6.6.* | Nenhuma listada |
| 6.12.56 | unaffected | semver | Indisponível | 6.12.* | Nenhuma listada |
| 6.17.6 | unaffected | semver | Indisponível | 6.17.* | Nenhuma listada |
| 6.18 | unaffected | original_commit_for_fix | Indisponível | * | Nenhuma listada |