← Back to CVE Explorer

CVE-2026-93040

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: dmaengine: dw-edma: Serialize channel state checks pause() and resume() read and update channel state without holding vc.lock, while the interrupt handlers update the same state under it. Take the same lock around those state checks so that request, status, and configured stay consistent. For example, pause() can observe EDMA_ST_BUSY right before the interrupt handler completes the final descriptor and moves the channel to EDMA_ST_IDLE, and then record EDMA_REQ_PAUSE on an already idle channel. No further interrupt will acknowledge the request, and since issue_pending() requires EDMA_REQ_NONE, the channel is wedged for good: terminate_all() leaves the stale request behind, so even reconfiguring the channel does not recover it. issue_pending() already runs under vc.lock, but it tests configured before taking it. Move that test under the lock as well, so configured, request, and status are evaluated as one channel-state snapshot.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-17 17:17:57.117000
Last modified
2026-10-19 10:16:53.660000
View original CVE JSON
{
  "id": "CVE-2026-93040",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-17T17:17:57.117",
  "lastModified": "2026-10-19T10:16:53.660",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: dw-edma: Serialize channel state checks\n\npause() and resume() read and update channel state without holding vc.lock,\nwhile the interrupt handlers update the same state under it. Take the same\nlock around those state checks so that request, status, and configured stay\nconsistent.\n\nFor example, pause() can observe EDMA_ST_BUSY right before the interrupt\nhandler completes the final descriptor and moves the channel to\nEDMA_ST_IDLE, and then record EDMA_REQ_PAUSE on an already idle channel. No\nfurther interrupt will acknowledge the request, and since issue_pending()\nrequires EDMA_REQ_NONE, the channel is wedged for good: terminate_all()\nleaves the stale request behind, so even reconfiguring the channel does not\nrecover it.\n\nissue_pending() already runs under vc.lock, but it tests configured before\ntaking it. Move that test under the lock as well, so configured, request,\nand status are evaluated as one channel-state snapshot."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/dma/dw-edma/dw-edma-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf",
              "lessThan": "be0072af8ce6e9458cc586e0e8b41a251e7d4316",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf",
              "lessThan": "2d76b91deeab973dd8a8c2ee587ce27f881de768",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf",
              "lessThan": "3001cfcee30dcc81f8b3774319c12067f126e49a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf",
              "lessThan": "b6293a8a38f4d5866ce1a264c138265a02e4c53a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf",
              "lessThan": "da16a02f0998a0d455ce6265b836b29ad92e6e58",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf",
              "lessThan": "fe0ffa0190e862ed71e8c1a476090f648c9cb7d9",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf",
              "lessThan": "6fc436e1500c5e4f0dde2a3dbadf6d898057be8f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf",
              "lessThan": "f7d1619f3e10c619b62c6cd6d95371b5c526c85a",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/dma/dw-edma/dw-edma-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.3",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.3",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.270",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.221",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.188",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.157",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.110",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.52",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.6",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/2d76b91deeab973dd8a8c2ee587ce27f881de768",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3001cfcee30dcc81f8b3774319c12067f126e49a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/6fc436e1500c5e4f0dde2a3dbadf6d898057be8f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b6293a8a38f4d5866ce1a264c138265a02e4c53a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/be0072af8ce6e9458cc586e0e8b41a251e7d4316",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/da16a02f0998a0d455ce6265b836b29ad92e6e58",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f7d1619f3e10c619b62c6cd6d95371b5c526c85a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/fe0ffa0190e862ed71e8c1a476090f648c9cb7d9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}