CVE-2022-50145
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50145 affects the Linux kernel's DMA engine, specifically the StarFive PDMA driver (sf-pdma). The vulnerability was discovered and publicly disclosed on June 18, 2025. The issue occurs when attempting to use DMA channels in multiple threads, which can lead to system crashes and hangs (NVD, Wiz).

Technical details

The vulnerability is caused by a data race condition where each thread rewrites the channel's descriptor upon calling device_prep_dma_memcpy(). This leads to situations where the driver incorrectly believes it's using the right descriptor, which may have been freed or replaced by another thread. The issue manifests as NULL pointer dereferences at virtual address 0x000000000000a0, resulting in system oops and hangs (NVD, Wiz).

Impact

When exploited, this vulnerability causes system instability through NULL pointer dereferences and system hangs. The issue can be triggered by running multiple threads that access the same DMA channel, potentially leading to system crashes and denial of service conditions (Wiz).

Mitigation and workarounds

The issue has been fixed by modifying how descriptors are handled. In the patched version, a descriptor only changes its value after it has been used, and new descriptors are acquired from a pre-filled vc->desc_issued queue. Threads no longer have direct access to DMA channel descriptors and can only queue descriptors for further processing (Wiz).

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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt-addons
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-core
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • linux-ibm-5.15
NoYesJan 14, 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