# CVE-2026-98343: dmaengine: fix use-after-free in dma_chan_put() and dma_release_channel()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-06T08:46:33.196Z
- Modified: 2026-10-19T10:18:36.690Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: fix use-after-free in dma_chan_put() and dma_release_channel()

When dma_device_put() drops the last reference on chan->device->ref,
dma_device_release() runs and may free the dma_device along with its
channels.

dma_chan_put() then still reads chan->device->owner via
dma_chan_to_owner() for the trailing module_put(). KASAN catches it:

	slab-use-after-free in dma_chan_put+0x3e6/0x4c0
	Read of size 8 by task insmod/6319
	Freed by task 6319:
	  kfree+0x225/0x470
	  dma_chan_put+0x395/0x4c0
	  dmaengine_put+0xf8/0x160

Cache the module owner in dma_chan_put() before the put so the trailing
module_put() does not need chan->device.

(As written by CVE List.)

## Affected

- Linux Linux: from 8ad342a863590b24ce77681b7e081363fb3333f7 before b92c502595336a3cc5bb7a060170891366745a5d; from 8ad342a863590b24ce77681b7e081363fb3333f7 before 855187a88bdf762c46b6849307597e3e02bfc1d9; from 8ad342a863590b24ce77681b7e081363fb3333f7 before c9780b601438137494b407eb4301bb3de2587ac9; from 8ad342a863590b24ce77681b7e081363fb3333f7 before 07eb075b60d565a5e465a1945a80cc62807492ad; from 8ad342a863590b24ce77681b7e081363fb3333f7 before 9319dd64d5cdef851841c091f30424faa2284c31; from 8ad342a863590b24ce77681b7e081363fb3333f7 before 6cf31716b77a71c0d634106f4f3951377b8dc6dc; from 8ad342a863590b24ce77681b7e081363fb3333f7 before 02bd02c585293634b213b142cba63cbf77891f6b; from 8ad342a863590b24ce77681b7e081363fb3333f7 before e873c74132f0c5f1452816cd9bb26208f0bba1e1; 5.6 (not affected: before 5.6; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/b92c502595336a3cc5bb7a060170891366745a5d>
- <https://git.kernel.org/stable/c/855187a88bdf762c46b6849307597e3e02bfc1d9>
- <https://git.kernel.org/stable/c/c9780b601438137494b407eb4301bb3de2587ac9>
- <https://git.kernel.org/stable/c/07eb075b60d565a5e465a1945a80cc62807492ad>
- <https://git.kernel.org/stable/c/9319dd64d5cdef851841c091f30424faa2284c31>
- <https://git.kernel.org/stable/c/6cf31716b77a71c0d634106f4f3951377b8dc6dc>
- <https://git.kernel.org/stable/c/02bd02c585293634b213b142cba63cbf77891f6b>
- <https://git.kernel.org/stable/c/e873c74132f0c5f1452816cd9bb26208f0bba1e1>

## Sources

- CVE List: [CVE-2026-98343](https://www.cve.org/CVERecord?id=CVE-2026-98343), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98343](https://nvd.nist.gov/vuln/detail/CVE-2026-98343), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98343 · Whole record: https://cve.day/CVE-2026-98343.json · Rebuilt by cve.day 2026-11-25T22:59:42.335Z
