CVE-2022-49320: dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type
Vulnerability summary
CVE-2022-49320 is a medium (CVSS 5.5) Integer Overflow or Wraparound vulnerability in linux. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 19.2% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 8Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.27% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu112 products
- linuxAll versions (No fix recorded) | < 5.4.0-126.142 | < 5.15.0-48.54
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1085.92 | < 5.15.0-1020.24
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ b0cc417c1637192be658e68a74c8d1568e3d35f6, < 83960276ffc9bf5570d4106490346b61e61be5f3 | ≥ b0cc417c1637192be658e68a74c8d1568e3d35f6, < 95a0ba85c1b51b36e909841c02d205cd223ab753 | ≥ b0cc417c1637192be658e68a74c8d1568e3d35f6, < 7b5488f4721fed6e121e661e165bab06ae2f8675 | ≥ b0cc417c1637192be658e68a74c8d1568e3d35f6, < 4838969e4d95d2bd2995d1605b20d3144fcb3e74 | ≥ b0cc417c1637192be658e68a74c8d1568e3d35f6, < 90aefae2e3a770a6909d339f5d8a988c0b0ceaf0 | ≥ b0cc417c1637192be658e68a74c8d1568e3d35f6, < f9a9f43a62a04ec3183fb0da9226c7706eed0115 | 4.8
- linux_kernel≥ 4.8, < 5.4.198 | ≥ 5.5, < 5.10.122 | ≥ 5.11, < 5.15.47 | ≥ 5.16, < 5.17.15 | ≥ 5.18, < 5.18.4
Debian1 product
- linux< 5.18.5-1
3 vendors · 115 products