Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98344 Overview
CVE-2026-98344 is a reference count underflow in the Linux kernel dmaengine subsystem. The flaw lives in the dma_chan_put() function, which unconditionally drops a device reference that dma_chan_get() only acquires on its slow path. Each fast-path get/put pair therefore releases one extra device reference, eventually driving the kref to zero while the provider module remains loaded. Once the counter reaches zero, subsequent calls to dma_find_channel() return NULL, breaking DMA channel discovery for in-kernel clients.
Critical Impact
The underflow corrupts kernel reference counting for DMA provider devices, which can disable DMA channel lookup and lead to denial-of-service conditions in subsystems that depend on dma_find_channel().
Affected Products
- Linux kernel dmaengine subsystem (upstream)
- Stable kernel branches referenced by the fix commits 036b527, 1a0d9b4, 44dab65, 57f7f1c, 5fb1797, 77906ac, 7c3f4ce, and de2677e
- Distributions shipping unpatched versions of the above stable branches
Discovery Timeline
- 2026-10-06 - CVE-2026-98344 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98344
Vulnerability Analysis
The Linux kernel dmaengine subsystem tracks DMA provider devices with a kref reference counter stored at chan->device->ref. The acquisition function dma_chan_get() contains a fast path that increments only the per-channel client_count and the owning module reference when the channel already has at least one client. The slow path, taken on the first client, additionally calls dma_device_get(), which invokes kref_get_unless_zero() on the device reference.
The release function dma_chan_put() does not mirror this asymmetry. It calls the device-level put on every invocation, regardless of whether the matching get operation incremented the counter. As a result, each fast-path get/put cycle leaks a decrement against the device kref.
Root Cause
The bug is a classic mismatched reference-counting pattern. The get path is conditional while the put path is unconditional, so the acquire and release operations do not pair symmetrically. The fix restricts the device ref drop to the last client put, matching the single slow-path get.
Attack Vector
Triggering the condition requires two coexisting runtime states on the same host: a non-private DMA provider holding a persistent client with chan->client_count > 0, and a second client that repeatedly cycles dmaengine_get() and dmaengine_put(). After enough cycles, the device kref reaches zero. The provider module stays loaded, but dma_find_channel() begins returning NULL, breaking any kernel code path that relies on channel discovery. Exploitation requires the ability to execute kernel code paths that drive these DMA client APIs, so the vulnerability is primarily a local reliability and denial-of-service issue rather than a remote attack surface.
No verified public exploit code is available. See the referenced Linux Kernel Commit 036b527 for the authoritative patch and technical context.
Detection Methods for CVE-2026-98344
Indicators of Compromise
- Kernel log entries showing dma_find_channel() returning NULL for providers that are known to be loaded and active.
- refcount_t or kref warnings in dmesg originating from drivers/dma/dmaengine.c call sites.
- Functional regressions in subsystems that consume DMA channels (for example network, crypto, or storage offload) despite the DMA driver remaining present in /proc/modules.
Detection Strategies
- Compare running kernel versions against the fix commits listed in the external references and flag hosts on unpatched stable branches.
- Enable CONFIG_DEBUG_KOBJECT_RELEASE and CONFIG_REFCOUNT_FULL in test builds to surface asymmetric reference counting during QA.
- Correlate repeated dmaengine_get()/dmaengine_put() call sequences in kernel traces with later channel lookup failures.
Monitoring Recommendations
- Centralize dmesg and journald kernel logs and alert on refcount_t warnings or stack traces referencing dma_chan_put and dma_device_put.
- Track kernel version inventory across the fleet and prioritize nodes still running pre-patch stable kernels.
- Monitor service health for DMA-dependent workloads to catch channel lookup regressions early.
How to Mitigate CVE-2026-98344
Immediate Actions Required
- Identify kernels on affected stable branches and schedule updates to a build that includes one of the referenced fix commits.
- Validate test environments after patching by exercising DMA client workloads that previously triggered the regression.
- Restrict local access on affected hosts while patches are rolled out to reduce the chance of an unprivileged workload driving the fast-path get/put cycle.
Patch Information
The fix drops device->ref only on the last dma_chan_put(), aligning the release with the single slow-path acquisition in dma_chan_get(). The upstream commits are available at Linux Kernel Commit 036b527, Commit 1a0d9b4, Commit 44dab65, Commit 57f7f1c, Commit 5fb1797, Commit 77906ac, Commit 7c3f4ce, and Commit de2677e. Apply vendor-provided kernel updates once they incorporate these commits.
Workarounds
- No supported source-level workaround exists; the asymmetric reference counting is internal to the dmaengine core and cannot be mitigated from userspace.
- Where patching is delayed, avoid loading workloads that repeatedly cycle dmaengine_get() and dmaengine_put() against shared non-private providers.
- Reboot hosts that have already triggered the underflow to restore a correct kref state until a patched kernel is deployed.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

