# CVE-2026-98344: dmaengine: Fix device kref underflow in dma\_chan\_put()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-06T08:46:33.997Z
- **Modified:** 2026-10-19T10:18:36.827Z

## Who should check

- Anyone running Linux \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 036b527f92570206da4b8c40b38f8d689e29d0f3; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 5fb1797a8c9485e40e5492fa0338ab5c7d1f3fef; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 57f7f1c6827be7d8f80feca48d2125fb91c6f6ed; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 7c3f4ce651d43705f9ec7f778f642a90d5ff4fba; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< de2677e57d3161390d8a508f08cddec6ef7e4b23; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 1a0d9b406febf23054ad595fd47b29325e70fb2d; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 77906ac448d2fa81fa710ae26c0e591ebdc81154; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 44dab659064eb5c10adb0306510eebe848ed592d
- Anyone running Linux 5.6

## Description

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.

## Affected and fixed versions

- Linux: \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 036b527f92570206da4b8c40b38f8d689e29d0f3; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 5fb1797a8c9485e40e5492fa0338ab5c7d1f3fef; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 57f7f1c6827be7d8f80feca48d2125fb91c6f6ed; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 7c3f4ce651d43705f9ec7f778f642a90d5ff4fba; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< de2677e57d3161390d8a508f08cddec6ef7e4b23; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 1a0d9b406febf23054ad595fd47b29325e70fb2d; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 77906ac448d2fa81fa710ae26c0e591ebdc81154; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 44dab659064eb5c10adb0306510eebe848ed592d (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 44dab659064eb5c10adb0306510eebe848ed592d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98344. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98344.md
Affected: Linux >= 8ad342a863590b24ce77681b7e081363fb3333f7, < 036b527f92570206da4b8c40b38f8d689e29d0f3; >= 8ad342a863590b24ce77681b7e081363fb3333f7, < 5fb1797a8c9485e40e5492fa0338ab5c7d1f3fef; >= 8ad342a863590b24ce77681b7e081363fb3333f7, < 57f7f1c6827be7d8f80feca48d2125fb91c6f6ed; >= 8ad342a863590b24ce77681…
Fixed in: Linux 036b527f92570206da4b8c40b38f8d689e29d0f3, Linux 5fb1797a8c9485e40e5492fa0338ab5c7d1f3fef, Linux 57f7f1c6827be7d8f80feca48d2125fb91c6f6ed, Linux 7c3f4ce651d43705f9ec7f778f642a90d5ff4fba, Linux 1a0d9b406febf23054ad595fd47b29325e70fb2d, Linux 77906ac448d2fa81fa710ae26c0e591ebdc81154, Linux 44dab…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98344 being exploited?

There is no confirmed exploitation: CVE-2026-98344 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98344?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98344?

Linux \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 036b527f92570206da4b8c40b38f8d689e29d0f3; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 5fb1797a8c9485e40e5492fa0338ab5c7d1f3fef; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 57f7f1c6827be7d8f80feca48d2125fb91c6f6ed; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 7c3f4ce651d43705f9ec7f778f642a90d5ff4fba; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< de2677e57d3161390d8a508f08cddec6ef7e4b23; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 1a0d9b406febf23054ad595fd47b29325e70fb2d; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 77906ac448d2fa81fa710ae26c0e591ebdc81154; \>= 8ad342a863590b24ce77681b7e081363fb3333f7, \< 44dab659064eb5c10adb0306510eebe848ed592d; Linux 5.6.

### Is there a fix for CVE-2026-98344?

Yes. Fixed in Linux 036b527f92570206da4b8c40b38f8d689e29d0f3, Linux 5fb1797a8c9485e40e5492fa0338ab5c7d1f3fef, Linux 57f7f1c6827be7d8f80feca48d2125fb91c6f6ed, Linux 7c3f4ce651d43705f9ec7f778f642a90d5ff4fba, Linux 1a0d9b406febf23054ad595fd47b29325e70fb2d, Linux 77906ac448d2fa81fa710ae26c0e591ebdc81154, Linux 44dab659064eb5c10adb0306510eebe848ed592d. Upgrade Linux to 44dab659064eb5c10adb0306510eebe848ed592d or later.

### How do I check if I'm affected by CVE-2026-98344?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/036b527f92570206da4b8c40b38f8d689e29d0f3>
- other: <https://git.kernel.org/stable/c/5fb1797a8c9485e40e5492fa0338ab5c7d1f3fef>
- other: <https://git.kernel.org/stable/c/57f7f1c6827be7d8f80feca48d2125fb91c6f6ed>
- other: <https://git.kernel.org/stable/c/7c3f4ce651d43705f9ec7f778f642a90d5ff4fba>
- other: <https://git.kernel.org/stable/c/de2677e57d3161390d8a508f08cddec6ef7e4b23>
- other: <https://git.kernel.org/stable/c/1a0d9b406febf23054ad595fd47b29325e70fb2d>
- other: <https://git.kernel.org/stable/c/77906ac448d2fa81fa710ae26c0e591ebdc81154>
- other: <https://git.kernel.org/stable/c/44dab659064eb5c10adb0306510eebe848ed592d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98344>

HTML: <https://flawdb.com/CVE-2026-98344> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98344>
