{"id":"CVE-2026-93042","aliases":["CVE-2026-93042"],"related":[],"kind":"vulnerability","state":"published","title":"dmaengine: dw-edma: Terminate all descriptors without callbacks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: dw-edma: Terminate all descriptors without callbacks\n\nThe DMA Engine client documentation says in the \"Terminate APIs\" section\nof Documentation/driver-api/dmaengine/client.rst:\n\n\"No callback functions will be called for any incomplete transfers.\"\n\ndw-edma instead calls vchan_cookie_complete() when a deferred STOP reaches\nthe interrupt handler. This schedules a callback for the active descriptor\nand leaves other issued or submitted descriptors queued. A late callback\nafter dmaengine_terminate_sync() can dereference client state that has\nalready been freed, while leftover descriptors may later restart into\nreused buffers or leak.\n\nMove all issued and submitted descriptors to the terminated list whenever\ntermination completes. For a pending STOP, do this from both the DONE and\nABORT paths. Complete their cookies in order without scheduling callbacks.\n\nA STOP can remain pending until the running transfer raises an\ninterrupt. Make device_synchronize() wait for such a pending STOP to\ncomplete before releasing terminated descriptors. Reuse it from\nfree_chan_resources(), then release the remaining virt-dma resources.\nSleep instead of busy-polling while waiting, and warn if the existing\ntimeout expires.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: dw-edma: Terminate all descriptors without callbacks\n\nThe DMA Engine client documentation says in the \"Terminate APIs\" section\nof Documentation/driver-api/dmaengine/client.rst:\n\n\"No callback functions will be called for any incomplete transfers.\"\n\ndw-edma instead calls vchan_cookie_complete() when a deferred STOP reaches\nthe interrupt handler. This schedules a callback for the active descriptor\nand leaves other issued or submitted descriptors queued. A late callback\nafter dmaengine_terminate_sync() can dereference client state that has\nalready been freed, while leftover descriptors may later restart into\nreused buffers or leak.\n\nMove all issued and submitted descriptors to the terminated list whenever\ntermination completes. For a pending STOP, do this from both the DONE and\nABORT paths. Complete their cookies in order without scheduling callbacks.\n\nA STOP can remain pending until the running transfer raises an\ninterrupt. Make device_synchronize() wait for such a pending STOP to\ncomplete before releasing terminated descriptors. Reuse it from\nfree_chan_resources(), then release the remaining virt-dma resources.\nSleep instead of busy-polling while waiting, and warn if the existing\ntimeout expires.","source":"cvelist"}],"published":"2026-09-17T16:10:34.911Z","modified":"2026-10-30T13:20:55.927Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf","fixed":"da56839aced48ecb70033962d7ea98f55b0c5656","status":"affected"},{"type":"git","introduced":"e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf","fixed":"65e387b95d3855aa894ac729e1778e5bcb9083cb","status":"affected"},{"type":"git","introduced":"e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf","fixed":"4793f9099a1cadf4e37f3a03d524af6bce88a0ea","status":"affected"},{"type":"git","introduced":"e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf","fixed":"be87d86537de7ea6fd025f41033d2faff880973f","status":"affected"},{"type":"git","introduced":"e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf","fixed":"f3ec6702a1d216be61f692cc0a983d6c8fb5ebf7","status":"affected"},{"type":"git","introduced":"e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf","fixed":"99109a51efd28c9a661fbfb9469b023c517b31d1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.3","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/da56839aced48ecb70033962d7ea98f55b0c5656","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65e387b95d3855aa894ac729e1778e5bcb9083cb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4793f9099a1cadf4e37f3a03d524af6bce88a0ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be87d86537de7ea6fd025f41033d2faff880973f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f3ec6702a1d216be61f692cc0a983d6c8fb5ebf7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99109a51efd28c9a661fbfb9469b023c517b31d1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93042","url":"https://www.cve.org/CVERecord?id=CVE-2026-93042","licence":"CVE Terms of Use","modified":"2026-10-30T12:35:46.423Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93042","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93042","licence":"Public domain","modified":"2026-10-30T13:20:55.927Z"}],"updatedAt":"2026-11-25T22:59:39.436Z","epss":{"score":0.00337,"percentile":0.29024,"date":"2026-12-01T12:00:22.000Z"}}