CVE-2025-71221
Last modified
CVE-2025-71221 is a high-severity vulnerability rated 7/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: dmaengine: mmp_pdma: Fix race condition in mmp_pdma_residue() Add proper locking in mmp_pdma_residue() to prevent use-after-free when accessing descriptor list and descriptor contents. The race occurs when multiple threads call tx_status() while the tasklet on another CPU is freeing completed descriptors: CPU 0 CPU 1 ----- ----- mmp_pdma_tx_status() mmp_pdma_residue() -> NO LOCK held list_for_each_entry(sw, ..) DMA interrupt dma_do_tasklet() -> spin_lock(&desc_lock) list_move(sw->node, ...) spin_unlock(&desc_lock) | dma_pool_free(sw) <- FREED! -> access sw->desc <- UAF! This issue can be reproduced when running dmatest on the same channel with multiple threads (threads_per_chan > 1). Fix by protecting the chain_running list iteration and descriptor access with the chan->desc_lock spinlock.. EPSS estimates a 0.10% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: mmp_pdma: Fix race condition in mmp_pdma_residue() Add proper locking in mmp_pdma_residue() to prevent use-after-free when accessing descriptor list and descriptor contents. The race occurs when multiple threads call tx_status() while the tasklet on another CPU is freeing completed descriptors: CPU 0 CPU 1 ----- ----- mmp_pdma_tx_status() mmp_pdma_residue() -> NO LOCK held list_for_each_entry(sw, ..) DMA interrupt dma_do_tasklet() -> spin_lock(&desc_lock) list_move(sw->node, ...) spin_unlock(&desc_lock) | dma_pool_free(sw) <- FREED! -> access sw->desc <- UAF! This issue can be reproduced when running dmatest on the same channel with multiple threads (threads_per_chan > 1). Fix by protecting the chain_running list iteration and descriptor access with the chan->desc_lock spinlock.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.16, < 6.18.10 | — |
| Linux | Linux Kernel | 6.19 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-71221?
How severe is CVE-2025-71221?
How do I fix CVE-2025-71221?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-71214An origin validation error vulnerability in the Trend Micro …7.8
- CVE-2025-71215A time-of-check time-of-use vulnerability in the Trend Micro…7
- CVE-2025-71216A time-of-check time-of-use vulnerability in the Trend Micro…7.8
- CVE-2025-71217An origin validation error vulnerability in the Trend Micro …7.8
- CVE-2025-7122A vulnerability was found in Campcodes Complaint Management …9.8
- CVE-2025-71220In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-71222In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71223In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71224In the Linux kernel, the following vulnerability has been re…
- CVE-2025-71225In the Linux kernel, the following vulnerability has been re…5.3
- CVE-2025-71226Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-71227In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-71221?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
