VDB

CVE-2026-98344

CVE-2026-98344 PUBLISHED

dmaengine: Fix device kref underflow in dma_chan_put()

Reported by linux · Published October 6, 2026

In the Linux kernel, the following vulnerability has been resolved: dmaengine: Fix device kref underflow in dma_chan_put() dma_chan_get() takes chan->device->ref only on the slow path: /* no kref on fast path */ if (chan->client_count) { __module_get(owner); chan->client_count++; return 0; } if (!try_module_get(owner)) return -ENODEV; if (!dma_device_get(chan->device)) { // calls kref_get_unless_zero() dma_chan_put() drops the ref unconditionally, so every fast-path get/put pair drops one extra device reference. The bug fires when two conditions hold together: a non-private provider has a persistent client holding chan->client_count > 0 and another client cycles dmaengine_get()/dmaengine_put(). When the kref hits zero, the subsequent dma_find_channel() returns NULL even though the provider module is still loaded. Fix this by dropping device->ref only on the last put, matching the single slow-path get.

EPSS 0.18% · 7.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftoolAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.12-develAmazon Linux1:6.12.113-138.209.amzn2023
LinuxLinux7c3f4ce651d43705f9ec7f778f642a90d5ff4fba, 5.6

Risk scores

EPSS Score
0.18%
7.3th percentile

Affected products

VendorProductVersions
LinuxLinux8ad342a863590b24ce77681b7e081363fb3333f7, 8ad342a863590b24ce77681b7e081363fb3333f7, 8ad342a863590b24ce77681b7e081363fb3333f7
LinuxLinux5.6, 0, 5.10.271
amazon:2023bpftool0
amazon:2023kernel6.12-devel0
LinuxLinux8ad342a863590b24ce77681b7e081363fb3333f7, 7.3, 7.2.8
amazon:2023microvm-kernel0
amazon:2023kernel-tools0
amazon:2023kernel-headers0
amazon:2023kernel6.12-headers0
amazon:2023kernel0
amazon:2023kernel6.180
amazon:2023bpftool6.180
amazon:2023bpftool6.120
amazon:2023kernel-devel0
amazon:2023kernel6.12-tools0
amazon:2023python3-perf6.120
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.120
amazon:2023kernel6.18-tools-devel0

…and 19 more

Timeline

  • Oct 6, 2026 EPSS Score (7 in total, the first dated here)
  • Oct 6, 2026 CVE Published
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98344
vulnetix vdb fixes CVE-2026-98344

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98344/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›