CVE-2025-71221: dmaengine: mmp_pdma: Fix race condition in mmp_pdma_residue()
Vulnerability summary
CVE-2025-71221 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 30 · Related 28Timeline
- 14-02-2026PublishedVulnerability first disclosed.
- 10-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.12% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu158 products
- linuxAll versions (No fix recorded) | < 5.15.0-186.196 | < 6.8.0-136.136
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1112.119 | < 6.8.0-1061.64
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
- linux-aws-6.12< 6.12.77-r2 | < 6.12.78-r0 | < 6.12.77-r1 | < 6.12.80-r0
- linux-azure-6.12< 6.12.77-r1 | < 6.12.78-r0 | < 6.12.80-r0 | < 6.12.77-r2
- linux-gcp-6.12< 6.12.77-r2 | < 6.12.80-r0 | < 6.12.78-r0 | < 6.12.77-r1
- linux-qemu-6.12< 6.12.77-r1 | < 6.12.80-r0 | < 6.12.77-r2 | < 6.12.78-r0
- linux-vmware-6.12< 6.12.77-r2 | < 6.12.80-r0 | < 6.12.78-r0 | < 6.12.77-r1
Linux2 products
- linux≥ 1b38da264674d6a0fe26a63996b8f88b88c3da48, < 3f0e0e2d9e752570041e95fd04635e2580097819 | ≥ 1b38da264674d6a0fe26a63996b8f88b88c3da48, < dfb5e05227745de43b7fd589721817a4337c970d | ≥ 1b38da264674d6a0fe26a63996b8f88b88c3da48, < eba0c75670c022cb1f948600db972524bcfe8166 | ≥ 1b38da264674d6a0fe26a63996b8f88b88c3da48, < fc023b8fab057f0c910856ff36d3e12a30b7af4a | ≥ 1b38da264674d6a0fe26a63996b8f88b88c3da48, < 9f665b3c3d9a168410251f27a5d019b7bf93185c | ≥ 1b38da264674d6a0fe26a63996b8f88b88c3da48, < a143545855bc2c6e1330f6f57ae375ac44af00a7 | 3.16
- linux_kernel≥ 3.16, < 6.18.10 | 6.19:rc1 | 6.19:rc2 | 6.19:rc3 | 6.19:rc4 | 6.19:rc5
Debian1 product
- linux< 6.1.170-1 | < 6.12.85-1 | < 6.18.10-1
4 vendors · 166 products