VDB

CVE-2026-98342

CVE-2026-98342 PUBLISHED

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.

PackageEcosystemFixed in
bpftool6.12Amazon Linux1:6.12.113-138.209.amzn2023
perfAmazon Linux1:6.1.189-236.399.amzn2023
kernel-toolsAmazon Linux1:6.1.189-236.399.amzn2023

Risk scores

EPSS Score
0.18%
7.3th percentile

Affected products

VendorProductVersions
LinuxLinux2ba05622b8b143b0c95968ba59bddfbd6d2f2559, 2ba05622b8b143b0c95968ba59bddfbd6d2f2559, 2ba05622b8b143b0c95968ba59bddfbd6d2f2559
LinuxLinux2.6.29, 0, 5.10.271
amazon:2023bpftool6.120
amazon:2023perf0
amazon:2023kernel-tools0
linuxlinux_kernel2.6.29, 2.6.29, 2.6.29
amazon:2023microvm-kernel0
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools0
LinuxLinux kernel
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023perf6.120
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel-devel0
amazon:2023python3-perf6.180
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.120
amazon:2023kernel6.180

…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

References

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