{
  "id": "CVE-2025-71221",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-71221",
  "published_at": "2026-02-14T16:27:04.631Z",
  "title": "dmaengine: mmp_pdma: Fix race condition in mmp_pdma_residue()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: mmp_pdma: Fix race condition in mmp_pdma_residue()\n\nAdd proper locking in mmp_pdma_residue() to prevent use-after-free when\naccessing descriptor list and descriptor contents.\n\nThe race occurs when multiple threads call tx_status() while the tasklet\non another CPU is freeing completed descriptors:\n\nCPU 0                              CPU 1\n-----                              -----\nmmp_pdma_tx_status()\nmmp_pdma_residue()\n  -\u003e NO LOCK held\n     list_for_each_entry(sw, ..)\n                                   DMA interrupt\n                                   dma_do_tasklet()\n                                     -\u003e spin_lock(\u0026desc_lock)\n                                        list_move(sw-\u003enode, ...)\n                                        spin_unlock(\u0026desc_lock)\n  |                                     dma_pool_free(sw) \u003c- FREED!\n  -\u003e access sw-\u003edesc \u003c- UAF!\n\nThis issue can be reproduced when running dmatest on the same channel with\nmultiple threads (threads_per_chan \u003e 1).\n\nFix by protecting the chain_running list iteration and descriptor access\nwith the chan-\u003edesc_lock spinlock.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1b38da264674d6a0fe26a63996b8f88b88c3da48, \u003c 3f0e0e2d9e752570041e95fd04635e2580097819",
          "\u003e= 1b38da264674d6a0fe26a63996b8f88b88c3da48, \u003c dfb5e05227745de43b7fd589721817a4337c970d",
          "\u003e= 1b38da264674d6a0fe26a63996b8f88b88c3da48, \u003c eba0c75670c022cb1f948600db972524bcfe8166",
          "\u003e= 1b38da264674d6a0fe26a63996b8f88b88c3da48, \u003c fc023b8fab057f0c910856ff36d3e12a30b7af4a",
          "\u003e= 1b38da264674d6a0fe26a63996b8f88b88c3da48, \u003c 9f665b3c3d9a168410251f27a5d019b7bf93185c",
          "\u003e= 1b38da264674d6a0fe26a63996b8f88b88c3da48, \u003c a143545855bc2c6e1330f6f57ae375ac44af00a7"
        ],
        "fixed_in": [
          "3f0e0e2d9e752570041e95fd04635e2580097819",
          "dfb5e05227745de43b7fd589721817a4337c970d",
          "eba0c75670c022cb1f948600db972524bcfe8166",
          "fc023b8fab057f0c910856ff36d3e12a30b7af4a",
          "9f665b3c3d9a168410251f27a5d019b7bf93185c",
          "a143545855bc2c6e1330f6f57ae375ac44af00a7"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.16"
        ],
        "fixed_in": [
          "0",
          "5.15.209",
          "6.1.167",
          "6.6.130",
          "6.12.78",
          "6.18.10",
          "6.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3f0e0e2d9e752570041e95fd04635e2580097819 or dfb5e05227745de43b7fd589721817a4337c970d or eba0c75670c022cb1f948600db972524bcfe8166 or fc023b8fab057f0c910856ff36d3e12a30b7af4a or 9f665b3c3d9a168410251f27a5d019b7bf93185c or a143545855bc2c6e1330f6f57ae375ac44af00a7 or later.",
      "Upgrade Linux to 0 or 5.15.209 or 6.1.167 or 6.6.130 or 6.12.78 or 6.18.10 or 6.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
