{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-98343",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.343Z",
        "datePublished": "2026-10-06T08:46:33.196Z",
        "dateUpdated": "2026-10-19T09:17:54.287Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T09:17:54.287Z"
            },
            "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->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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/dma/dmaengine.c"
                    ],
                    "versions": [
                        {
                            "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                            "lessThan": "b92c502595336a3cc5bb7a060170891366745a5d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                            "lessThan": "855187a88bdf762c46b6849307597e3e02bfc1d9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                            "lessThan": "c9780b601438137494b407eb4301bb3de2587ac9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                            "lessThan": "07eb075b60d565a5e465a1945a80cc62807492ad",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                            "lessThan": "9319dd64d5cdef851841c091f30424faa2284c31",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                            "lessThan": "6cf31716b77a71c0d634106f4f3951377b8dc6dc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                            "lessThan": "02bd02c585293634b213b142cba63cbf77891f6b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8ad342a863590b24ce77681b7e081363fb3333f7",
                            "lessThan": "e873c74132f0c5f1452816cd9bb26208f0bba1e1",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/dma/dmaengine.c"
                    ],
                    "versions": [
                        {
                            "version": "5.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.6",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.271",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.222",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.189",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.158",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.112",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.54",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.8",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "5.10.271"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "5.15.222"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "6.1.189"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "6.6.158"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "6.12.112"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "6.18.54"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "7.2.8"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}