CVE-2022-49320
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49320 affects the Linux kernel's DMA engine, specifically in the zynqmp_dma driver. The vulnerability was discovered in the struct zynqmp_dma_chan where the desc_size data type could potentially cause an overflow condition in 32-bit multiplication operations (Kernel Commit).

Technical details

The vulnerability exists in the zynqmp_dma_alloc/free_chan_resources functions where there is a potential overflow in expressions using desc_size and ZYNQMP_DMA_NUM_DESCS arguments, which were both 32-bit values. The issue occurs in operations like: dma_alloc_coherent(chan->dev, (2 * chan->desc_size * ZYNQMP_DMA_NUM_DESCS), &chan->desc_pool_p, GFP_KERNEL) and dma_free_coherent(chan->dev,(2 * ZYNQMP_DMA_DESC_SIZE(chan) * ZYNQMP_DMA_NUM_DESCS), chan->desc_pool_v, chan->desc_pool_p) (Kernel Commit).

Impact

While the overflow condition had not been observed in practice, it presented a potential security risk in cases involving 32-bit multiplication operations in the DMA engine (Kernel Commit).

Mitigation and workarounds

The issue was fixed by changing the desc_size data type from u32 to size_t in the struct zynqmp_dma_chan. Additionally, the fix included reusing the ZYNQMP_DMA_DESC_SIZE macro in the dma_alloc_coherent API argument (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-oracle
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management