CVE-2026-98342
dmaengine: wait for RCU readers before releasing dma_device
Reported by linux · Published October 6, 2026
In the Linux kernel, the following vulnerability has been resolved: dmaengine: wait for RCU readers before releasing dma_device dma_issue_pending_all() walks the dma_device_list with list_for_each_entry_rcu() under rcu_read_lock(). dma_device_release() unlinks the device with list_del_rcu() and then calls device->device_release() (which in many drivers, such as plx_dma.c, directly calls kfree()). Because there is no grace period between unlinking the device and freeing it, concurrent RCU readers in dma_issue_pending_all() can access the device after it has been freed. The lockless walk originally relied on clients holding a dmaengine reference to pin the provider module, and therefore the device, for as long as they might traverse the list. Commit 8ad342a86359 ("dmaengine: Add reference counting to dma_device struct") decoupled the dma_device lifetime from the module reference, so the device can now be released while a reader is still walking the list. Add synchronize_rcu() before the device is freed, so RCU readers are guaranteed to have finished. Keep it unconditional: providers that do not implement device_release() free the device themselves once dma_async_device_unregister() returns. This call will delay for a grace period with dma_list_mutex held, which is safe and only teardown path is delayed.
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| perf | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2ba05622b8b143b0c95968ba59bddfbd6d2f2559, 2ba05622b8b143b0c95968ba59bddfbd6d2f2559, 2ba05622b8b143b0c95968ba59bddfbd6d2f2559 |
| Linux | Linux | 2.6.29, 0, 5.10.271 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-tools | 0 |
| linux | linux_kernel | 2.6.29, 2.6.29, 2.6.29 |
| amazon:2023 | microvm-kernel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| Linux | Linux kernel | |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.18 | 0 |
…and 20 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-98342
vulnetix vdb fixes CVE-2026-98342
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-98342/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart