{"id":"CVE-2026-98343","aliases":["CVE-2026-98343"],"related":[],"kind":"vulnerability","state":"published","title":"dmaengine: fix use-after-free in dma_chan_put() and dma_release_channel()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: fix use-after-free in dma_chan_put() and dma_release_channel()\n\nWhen dma_device_put() drops the last reference on chan->device->ref,\ndma_device_release() runs and may free the dma_device along with its\nchannels.\n\ndma_chan_put() then still reads chan->device->owner via\ndma_chan_to_owner() for the trailing module_put(). KASAN catches it:\n\n\tslab-use-after-free in dma_chan_put+0x3e6/0x4c0\n\tRead of size 8 by task insmod/6319\n\tFreed by task 6319:\n\t  kfree+0x225/0x470\n\t  dma_chan_put+0x395/0x4c0\n\t  dmaengine_put+0xf8/0x160\n\nCache the module owner in dma_chan_put() before the put so the trailing\nmodule_put() does not need chan->device.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: fix use-after-free in dma_chan_put() and dma_release_channel()\n\nWhen dma_device_put() drops the last reference on chan->device->ref,\ndma_device_release() runs and may free the dma_device along with its\nchannels.\n\ndma_chan_put() then still reads chan->device->owner via\ndma_chan_to_owner() for the trailing module_put(). KASAN catches it:\n\n\tslab-use-after-free in dma_chan_put+0x3e6/0x4c0\n\tRead of size 8 by task insmod/6319\n\tFreed by task 6319:\n\t  kfree+0x225/0x470\n\t  dma_chan_put+0x395/0x4c0\n\t  dmaengine_put+0xf8/0x160\n\nCache the module owner in dma_chan_put() before the put so the trailing\nmodule_put() does not need chan->device.","source":"cvelist"}],"published":"2026-10-06T08:46:33.196Z","modified":"2026-10-19T10:18:36.690Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8ad342a863590b24ce77681b7e081363fb3333f7","fixed":"b92c502595336a3cc5bb7a060170891366745a5d","status":"affected"},{"type":"git","introduced":"8ad342a863590b24ce77681b7e081363fb3333f7","fixed":"855187a88bdf762c46b6849307597e3e02bfc1d9","status":"affected"},{"type":"git","introduced":"8ad342a863590b24ce77681b7e081363fb3333f7","fixed":"c9780b601438137494b407eb4301bb3de2587ac9","status":"affected"},{"type":"git","introduced":"8ad342a863590b24ce77681b7e081363fb3333f7","fixed":"07eb075b60d565a5e465a1945a80cc62807492ad","status":"affected"},{"type":"git","introduced":"8ad342a863590b24ce77681b7e081363fb3333f7","fixed":"9319dd64d5cdef851841c091f30424faa2284c31","status":"affected"},{"type":"git","introduced":"8ad342a863590b24ce77681b7e081363fb3333f7","fixed":"6cf31716b77a71c0d634106f4f3951377b8dc6dc","status":"affected"},{"type":"git","introduced":"8ad342a863590b24ce77681b7e081363fb3333f7","fixed":"02bd02c585293634b213b142cba63cbf77891f6b","status":"affected"},{"type":"git","introduced":"8ad342a863590b24ce77681b7e081363fb3333f7","fixed":"e873c74132f0c5f1452816cd9bb26208f0bba1e1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","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/b92c502595336a3cc5bb7a060170891366745a5d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/855187a88bdf762c46b6849307597e3e02bfc1d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c9780b601438137494b407eb4301bb3de2587ac9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07eb075b60d565a5e465a1945a80cc62807492ad","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9319dd64d5cdef851841c091f30424faa2284c31","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6cf31716b77a71c0d634106f4f3951377b8dc6dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02bd02c585293634b213b142cba63cbf77891f6b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e873c74132f0c5f1452816cd9bb26208f0bba1e1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98343","url":"https://www.cve.org/CVERecord?id=CVE-2026-98343","licence":"CVE Terms of Use","modified":"2026-10-19T09:17:54.287Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98343","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98343","licence":"Public domain","modified":"2026-10-19T10:18:36.690Z"}],"updatedAt":"2026-11-25T22:59:42.335Z","epss":{"score":0.00177,"percentile":0.07536,"date":"2026-12-01T12:00:22.000Z"}}