CVE-2026-98343 (GCVE-0-2026-98343)

Vulnerability from cvelistv5 – Published: 2026-10-06 08:46 – Updated: 2026-10-06 08:46
VLAI
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: 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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 8ad342a863590b24ce77681b7e081363fb3333f7 , < b92c502595336a3cc5bb7a060170891366745a5d (git)
Affected: 8ad342a863590b24ce77681b7e081363fb3333f7 , < 855187a88bdf762c46b6849307597e3e02bfc1d9 (git)
Affected: 8ad342a863590b24ce77681b7e081363fb3333f7 , < c9780b601438137494b407eb4301bb3de2587ac9 (git)
Affected: 8ad342a863590b24ce77681b7e081363fb3333f7 , < 07eb075b60d565a5e465a1945a80cc62807492ad (git)
Affected: 8ad342a863590b24ce77681b7e081363fb3333f7 , < 9319dd64d5cdef851841c091f30424faa2284c31 (git)
Affected: 8ad342a863590b24ce77681b7e081363fb3333f7 , < 6cf31716b77a71c0d634106f4f3951377b8dc6dc (git)
Affected: 8ad342a863590b24ce77681b7e081363fb3333f7 , < 02bd02c585293634b213b142cba63cbf77891f6b (git)
Affected: 8ad342a863590b24ce77681b7e081363fb3333f7 , < e873c74132f0c5f1452816cd9bb26208f0bba1e1 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.6
Unaffected: 0 , < 5.6 (semver)
Unaffected: 5.10.271 , ≤ 5.10.* (semver)
Unaffected: 5.15.222 , ≤ 5.15.* (semver)
Unaffected: 6.1.189 , ≤ 6.1.* (semver)
Unaffected: 6.6.158 , ≤ 6.6.* (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.54 , ≤ 6.18.* (semver)
Unaffected: 7.2.8 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc4 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/dma/dmaengine.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b92c502595336a3cc5bb7a060170891366745a5d",
              "status": "affected",
              "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
              "versionType": "git"
            },
            {
              "lessThan": "855187a88bdf762c46b6849307597e3e02bfc1d9",
              "status": "affected",
              "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
              "versionType": "git"
            },
            {
              "lessThan": "c9780b601438137494b407eb4301bb3de2587ac9",
              "status": "affected",
              "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
              "versionType": "git"
            },
            {
              "lessThan": "07eb075b60d565a5e465a1945a80cc62807492ad",
              "status": "affected",
              "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
              "versionType": "git"
            },
            {
              "lessThan": "9319dd64d5cdef851841c091f30424faa2284c31",
              "status": "affected",
              "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
              "versionType": "git"
            },
            {
              "lessThan": "6cf31716b77a71c0d634106f4f3951377b8dc6dc",
              "status": "affected",
              "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
              "versionType": "git"
            },
            {
              "lessThan": "02bd02c585293634b213b142cba63cbf77891f6b",
              "status": "affected",
              "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
              "versionType": "git"
            },
            {
              "lessThan": "e873c74132f0c5f1452816cd9bb26208f0bba1e1",
              "status": "affected",
              "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/dma/dmaengine.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.6"
            },
            {
              "lessThan": "5.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc4",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.54",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.8",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc4",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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-\u003edevice-\u003eref,\ndma_device_release() runs and may free the dma_device along with its\nchannels.\n\ndma_chan_put() then still reads chan-\u003edevice-\u003eowner 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-\u003edevice."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-06T08:46:33.196Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b92c502595336a3cc5bb7a060170891366745a5d"
        },
        {
          "url": "https://git.kernel.org/stable/c/855187a88bdf762c46b6849307597e3e02bfc1d9"
        },
        {
          "url": "https://git.kernel.org/stable/c/c9780b601438137494b407eb4301bb3de2587ac9"
        },
        {
          "url": "https://git.kernel.org/stable/c/07eb075b60d565a5e465a1945a80cc62807492ad"
        },
        {
          "url": "https://git.kernel.org/stable/c/9319dd64d5cdef851841c091f30424faa2284c31"
        },
        {
          "url": "https://git.kernel.org/stable/c/6cf31716b77a71c0d634106f4f3951377b8dc6dc"
        },
        {
          "url": "https://git.kernel.org/stable/c/02bd02c585293634b213b142cba63cbf77891f6b"
        },
        {
          "url": "https://git.kernel.org/stable/c/e873c74132f0c5f1452816cd9bb26208f0bba1e1"
        }
      ],
      "title": "dmaengine: fix use-after-free in dma_chan_put() and dma_release_channel()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98343",
    "datePublished": "2026-10-06T08:46:33.196Z",
    "dateReserved": "2026-09-25T10:25:14.343Z",
    "dateUpdated": "2026-10-06T08:46:33.196Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98343",
      "date": "2026-10-06",
      "epss": "0.00184",
      "percentile": "0.07299"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/dma/dmaengine.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "b92c502595336a3cc5bb7a060170891366745a5d",
                    "status": "affected",
                    "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "855187a88bdf762c46b6849307597e3e02bfc1d9",
                    "status": "affected",
                    "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c9780b601438137494b407eb4301bb3de2587ac9",
                    "status": "affected",
                    "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "07eb075b60d565a5e465a1945a80cc62807492ad",
                    "status": "affected",
                    "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9319dd64d5cdef851841c091f30424faa2284c31",
                    "status": "affected",
                    "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6cf31716b77a71c0d634106f4f3951377b8dc6dc",
                    "status": "affected",
                    "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "02bd02c585293634b213b142cba63cbf77891f6b",
                    "status": "affected",
                    "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e873c74132f0c5f1452816cd9bb26208f0bba1e1",
                    "status": "affected",
                    "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/dma/dmaengine.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.6"
                  },
                  {
                    "lessThan": "5.6",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.271",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.222",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.189",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.158",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.54",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.8",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc4",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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-\u003edevice-\u003eref,\ndma_device_release() runs and may free the dma_device along with its\nchannels.\n\ndma_chan_put() then still reads chan-\u003edevice-\u003eowner 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-\u003edevice."
          }
        ],
        "id": "CVE-2026-98343",
        "lastModified": "2026-10-06T09:18:27.163",
        "metrics": {},
        "published": "2026-10-06T09:18:27.163",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/02bd02c585293634b213b142cba63cbf77891f6b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/07eb075b60d565a5e465a1945a80cc62807492ad"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6cf31716b77a71c0d634106f4f3951377b8dc6dc"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/855187a88bdf762c46b6849307597e3e02bfc1d9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9319dd64d5cdef851841c091f30424faa2284c31"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b92c502595336a3cc5bb7a060170891366745a5d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c9780b601438137494b407eb4301bb3de2587ac9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e873c74132f0c5f1452816cd9bb26208f0bba1e1"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…