CVE-2025-71221
dmaengine: mmp_pdma: Fix race condition in mmp_pdma_residue()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < 3f0e0e2d9e752570041e95fd04635e2580097819; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < dfb5e05227745de43b7fd589721817a4337c970d; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < eba0c75670c022cb1f948600db972524bcfe8166; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < fc023b8fab057f0c910856ff36d3e12a30b7af4a; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < 9f665b3c3d9a168410251f27a5d019b7bf93185c; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < a143545855bc2c6e1330f6f57ae375ac44af00a7
- Anyone running Linux 3.16
Vulnerability facts
- Affected
- Linux >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < 3f0e0e2d9e752570041e95fd04635e2580097819; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < dfb5e05227745de43b7fd589721817a4337c970d; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < eba0c75670c022cb1f948600db972524bcfe8166; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < fc023b8fab057f0c910856ff36d3e12a30b7af4a; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < 9f665b3c3d9a168410251f27a5d019b7bf93185c; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < a143545855bc2c6e1330f6f57ae375ac44af00a7; Linux 3.16
- Fixed in
- Linux 3f0e0e2d9e752570041e95fd04635e2580097819, Linux 9f665b3c3d9a168410251f27a5d019b7bf93185c
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-362
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < 3f0e0e2d9e752570041e95fd04635e2580097819; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < dfb5e05227745de43b7fd589721817a4337c970d; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < eba0c75670c022cb1f948600db972524bcfe8166; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < fc023b8fab057f0c910856ff36d3e12a30b7af4a; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < 9f665b3c3d9a168410251f27a5d019b7bf93185c; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < a143545855bc2c6e1330f6f57ae375ac44af00a7 | — | cvelist |
| Linux | 3.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-71221. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-71221.md Affected: Linux >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < 3f0e0e2d9e752570041e95fd04635e2580097819; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < dfb5e05227745de43b7fd589721817a4337c970d; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < eba0c75670c022cb1f948600db972524bcfe8166; >= 1b38da264674d6a0fe26a63… Fixed in: Linux 3f0e0e2d9e752570041e95fd04635e2580097819, Linux 9f665b3c3d9a168410251f27a5d019b7bf93185c Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
Other
- https://git.kernel.org/stable/c/3f0e0e2d9e752570041e95fd04635e2580097819
- https://git.kernel.org/stable/c/dfb5e05227745de43b7fd589721817a4337c970d
- https://git.kernel.org/stable/c/eba0c75670c022cb1f948600db972524bcfe8166
- https://git.kernel.org/stable/c/fc023b8fab057f0c910856ff36d3e12a30b7af4a
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
FAQ
Is CVE-2025-71221 being exploited?
There is no confirmed exploitation: CVE-2025-71221 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-71221?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-71221?
Linux >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < 3f0e0e2d9e752570041e95fd04635e2580097819; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < dfb5e05227745de43b7fd589721817a4337c970d; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < eba0c75670c022cb1f948600db972524bcfe8166; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < fc023b8fab057f0c910856ff36d3e12a30b7af4a; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < 9f665b3c3d9a168410251f27a5d019b7bf93185c; >= 1b38da264674d6a0fe26a63996b8f88b88c3da48, < a143545855bc2c6e1330f6f57ae375ac44af00a7; Linux 3.16.
Is there a fix for CVE-2025-71221?
Yes. Fixed in Linux 3f0e0e2d9e752570041e95fd04635e2580097819, Linux 9f665b3c3d9a168410251f27a5d019b7bf93185c. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-71221?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.