Junglewise Threat Intelligence

CVE-2025-71221: Linux Kernel use-after-free in mmp_pdma_residue

CVE-2025-71221 · Severity: high · CVSS 7 · Published 2026-02-14

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A race condition vulnerability was identified in the Linux kernel's DMA (Direct Memory Access) engine driver for MMP PDMA. This component manages high-speed data transfers between memory and peripherals. An exploit could allow a local attacker to cause a system crash or potentially execute unauthorized code by triggering a memory error during simultaneous data operations.

Technical details

A race condition exists in the mmp_pdma_residue() function of the Linux kernel's dmaengine subsystem. The vulnerability is caused by a lack of proper locking when accessing the descriptor list and its contents. When multiple threads call tx_status() while a tasklet on another CPU is freeing completed descriptors, a use-after-free (UAF) condition occurs. An attacker with local access can exploit this race to cause a kernel panic or potentially achieve privilege escalation. The issue has been resolved by implementing spinlock protection (chan->desc_lock) around the chain_running list iteration and descriptor access.

Affected products

  • Linux Linux Kernel 3.16 to 6.18.10, 6.19-rc1 to 6.19-rc5

Timeline

  • 2025-12-16: patched: Initial patch submitted to the dmaengine subsystem
  • 2026-02-14: advisory: CVE published by kernel.org

References

Related threats