{"id":"CVE-2026-72476","state":"PUBLISHED","title":"dmaengine: Fix possible use after free","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: Fix possible use after free\n\nIn dma_release_channel(), check chan->device->privatecnt after call\ndma_chan_put(). However, dma_chan_put() call dma_device_put() which could\nrelease the last reference of the device if the DMA provider is already\ngone and hence free it.\n\nFixes it by moving dma_chan_put() after the check.","publishedAt":"2026-08-15T05:57:16.396Z","updatedAt":"2026-10-16T18:55:25.895Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"444f96066937f3fdf0e79b53289cff223c7d638b","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"ab438a9efb9042c79d2f8db28a326d55feb8591f","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"9bdc8dce4068dadbdf7cf5ad6d4983e2afffedce","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"5876f38b67a309c00628942cb25679749b53b397","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"3b0240483dc977dbec4f3bc7a5383d4691ecb625","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"329ec20a86091d2a6e5b4fe507545e7d678a22a2","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"0bc191050c3253da8ef4bfaf157c44efed6e22cd","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"92f853f0645aebf1d05d333e97ab7c342ace1892","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/dmaengine.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.30","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.30","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/dmaengine.c"]}],"references":["https://git.kernel.org/stable/c/444f96066937f3fdf0e79b53289cff223c7d638b","https://git.kernel.org/stable/c/ab438a9efb9042c79d2f8db28a326d55feb8591f","https://git.kernel.org/stable/c/9bdc8dce4068dadbdf7cf5ad6d4983e2afffedce","https://git.kernel.org/stable/c/5876f38b67a309c00628942cb25679749b53b397","https://git.kernel.org/stable/c/3b0240483dc977dbec4f3bc7a5383d4691ecb625","https://git.kernel.org/stable/c/329ec20a86091d2a6e5b4fe507545e7d678a22a2","https://git.kernel.org/stable/c/0bc191050c3253da8ef4bfaf157c44efed6e22cd","https://git.kernel.org/stable/c/92f853f0645aebf1d05d333e97ab7c342ace1892"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72476.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72476","state":"PUBLISHED","datePublished":"2026-08-15T05:57:16.396Z","dateUpdated":"2026-10-16T18:55:25.895Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.934Z"},"containers":{"cna":{"title":"dmaengine: Fix possible use after free","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: Fix possible use after free\n\nIn dma_release_channel(), check chan->device->privatecnt after call\ndma_chan_put(). However, dma_chan_put() call dma_device_put() which could\nrelease the last reference of the device if the DMA provider is already\ngone and hence free it.\n\nFixes it by moving dma_chan_put() after the check."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"444f96066937f3fdf0e79b53289cff223c7d638b","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"ab438a9efb9042c79d2f8db28a326d55feb8591f","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"9bdc8dce4068dadbdf7cf5ad6d4983e2afffedce","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"5876f38b67a309c00628942cb25679749b53b397","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"3b0240483dc977dbec4f3bc7a5383d4691ecb625","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"329ec20a86091d2a6e5b4fe507545e7d678a22a2","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"0bc191050c3253da8ef4bfaf157c44efed6e22cd","versionType":"git"},{"version":"0f571515c332e00b3515dbe0859ceaa30ab66e00","status":"affected","lessThan":"92f853f0645aebf1d05d333e97ab7c342ace1892","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/dmaengine.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.30","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.30","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/dmaengine.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/444f96066937f3fdf0e79b53289cff223c7d638b"},{"url":"https://git.kernel.org/stable/c/ab438a9efb9042c79d2f8db28a326d55feb8591f"},{"url":"https://git.kernel.org/stable/c/9bdc8dce4068dadbdf7cf5ad6d4983e2afffedce"},{"url":"https://git.kernel.org/stable/c/5876f38b67a309c00628942cb25679749b53b397"},{"url":"https://git.kernel.org/stable/c/3b0240483dc977dbec4f3bc7a5383d4691ecb625"},{"url":"https://git.kernel.org/stable/c/329ec20a86091d2a6e5b4fe507545e7d678a22a2"},{"url":"https://git.kernel.org/stable/c/0bc191050c3253da8ef4bfaf157c44efed6e22cd"},{"url":"https://git.kernel.org/stable/c/92f853f0645aebf1d05d333e97ab7c342ace1892"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The flaw is in dma_release_channel() in drivers/dma/dmaengine.c, reached only when kernel client drivers release a privately requested DMA channel during probe/remove/error teardown triggered by local device access (e.g., /dev/iio:device*, /dev/snd/*, /dev/tty*, spidev), not from any network packet or remote protocol handler.\nAC:L - An attacker can hold a DMA slave channel open via a client device, then close it to call dma_release_channel(); when the DMA provider has already unregistered via unbind, hot-unplug, or module teardown, dma_chan_put() frees dma_device and the subsequent privatecnt access is a reliably triggerable UAF with attacker-controlled release timing.\nPR:L - Exploitation requires only a local unprivileged process able to open a device whose driver uses dma_request_chan() or dma_request_channel(); on embedded ADI FPGA, Android, and industrial platforms, non-root application users commonly have such device-node access without init-namespace root or CAP_SYS_ADMIN.\nUI:N - No victim interaction is required beyond the attacker opening, holding, and closing their own device handle or racing driver teardown; no other user must mount filesystems, approve prompts, or perform separate actions for exploitation to succeed.\nS:U - This is a kernel slab use-after-free in the dmaengine channel-release path affecting the same kernel security authority; it does not cross VM, IOMMU, container, or other sandbox boundaries and is standard in-kernel memory corruption rather than a scope change.\nC:H - After dma_chan_put() frees the last dma_device kref, the code reads and decrements privatecnt and may clear cap_mask on freed kmalloc memory; UAF on dma_device objects enables disclosure of attacker-influenced freed-heap contents per kernel UAF scoring guidance.\nI:H - Post-free modification of privatecnt and cap_mask corrupts reused slab objects under attacker influence, providing a plausible kernel heap corruption path toward arbitrary write primitives, control-flow hijacking, or local privilege escalation.\nA:H - Dereferencing freed dma_device memory during dma_release_channel() can cause KASAN slab-use-after-free reports, kernel oops, BUG, or panic; kernel guidance treats any use-after-free as high availability impact even when full exploitation is not demonstrated."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:44:40.606Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"5.10.261"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-72476","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T18:50:35.862393Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T18:55:25.895Z"}}]}}}