CVE-2022-49320
CVE.org · Publicado
- Status do registro
- Publicado
- Ano do identificador (não é o ano de publicação)
- 2022
- 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
dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type
In the Linux kernel, the following vulnerability has been resolved: dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type In zynqmp_dma_alloc/free_chan_resources functions there is a potential overflow in the below expressions. dma_alloc_coherent(chan->dev, (2 * chan->desc_size * ZYNQMP_DMA_NUM_DESCS), &chan->desc_pool_p, GFP_KERNEL); dma_free_coherent(chan->dev,(2 * ZYNQMP_DMA_DESC_SIZE(chan) * ZYNQMP_DMA_NUM_DESCS), chan->desc_pool_v, chan->desc_pool_p); The arguments desc_size and ZYNQMP_DMA_NUM_DESCS were 32 bit. Though this overflow condition is not observed but it is a potential problem in the case of 32-bit multiplication. Hence fix it by changing the desc_size data type to size_t. In addition to coverity fix it also reuse ZYNQMP_DMA_DESC_SIZE macro in dma_alloc_coherent API argument. Addresses-Coverity: Event overflow_before_widen.
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) |
|---|---|---|---|---|---|
| b0cc417c1637192be658e68a74c8d1568e3d35f6 | affected | git | 83960276ffc9bf5570d4106490346b61e61be5f3 | Indisponível | Nenhuma listada |
| b0cc417c1637192be658e68a74c8d1568e3d35f6 | affected | git | 95a0ba85c1b51b36e909841c02d205cd223ab753 | Indisponível | Nenhuma listada |
| b0cc417c1637192be658e68a74c8d1568e3d35f6 | affected | git | 7b5488f4721fed6e121e661e165bab06ae2f8675 | Indisponível | Nenhuma listada |
| b0cc417c1637192be658e68a74c8d1568e3d35f6 | affected | git | 4838969e4d95d2bd2995d1605b20d3144fcb3e74 | Indisponível | Nenhuma listada |
| b0cc417c1637192be658e68a74c8d1568e3d35f6 | affected | git | 90aefae2e3a770a6909d339f5d8a988c0b0ceaf0 | Indisponível | Nenhuma listada |
| b0cc417c1637192be658e68a74c8d1568e3d35f6 | affected | git | f9a9f43a62a04ec3183fb0da9226c7706eed0115 | 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) |
|---|---|---|---|---|---|
| 4.8 | affected | Indisponível | Indisponível | Indisponível | Nenhuma listada |
| 0 | unaffected | semver | 4.8 | Indisponível | Nenhuma listada |
| 5.4.198 | unaffected | semver | Indisponível | 5.4.* | Nenhuma listada |
| 5.10.122 | unaffected | semver | Indisponível | 5.10.* | Nenhuma listada |
| 5.15.47 | unaffected | semver | Indisponível | 5.15.* | Nenhuma listada |
| 5.17.15 | unaffected | semver | Indisponível | 5.17.* | Nenhuma listada |
| 5.18.4 | unaffected | semver | Indisponível | 5.18.* | Nenhuma listada |
| 5.19 | unaffected | original_commit_for_fix | Indisponível | * | Nenhuma listada |