SecurityContext

CVE-2025-71221: Linux kernel dmaengine - Use After Free

  • Cve: CVE-2025-71221
  • Name: Linux kernel dmaengine - Use After Free
  • 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.
  • Impact: Concurrent threads can cause use-after-free leading to memory corruption and potential system instability or crash.
  • Remediation: Update to the latest Linux kernel version with the fix for mmp_pdma_residue() locking.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service
  • Requirements: Attacker needs concurrent multi-threaded access to the same DMA channel
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00118
  • Epss percentile: 0.01727
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-02-14T17:15:54Z
  • Age in days: 283
  • Modified at: 2026-11-10T13:18:08Z
  • Patch available: yes
  • References total: 9
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-71221
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/9f665b3c3d9a168410251f27a5d019b7bf93185cPatch
https://git.kernel.org/stable/c/a143545855bc2c6e1330f6f57ae375ac44af00a7Patch
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-019113.html
https://cert-portal.siemens.com/productcert/html/ssa-082556.html
https://cert-portal.siemens.com/productcert/html/ssa-457936.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.19 rc1; = 6.19 rc2; = 6.19 rc3; = 6.19 rc4; = 6.19 rc5; >= 3.16, < 6.18.10nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports