CVE-2026-98344: dmaengine: Fix device kref underflow in dma_chan_put()

Published Oct 6, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: Fix device kref underflow in dmachanput()

dmachanget() takes chan->device->ref only on the slow path:

/ no kref on fast path / if (chan->clientcount) { moduleget(owner); chan->clientcount++; return 0; } if (!trymoduleget(owner)) return -ENODEV; if (!dmadeviceget(chan->device)) { // calls krefgetunlesszero()

dmachanput() 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->clientcount > 0 and another client cycles dmaengineget()/dmaengineput(). When the kref hits zero, the subsequent dmafindchannel() 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 Software

1 affected component
Linux Linux kernel

Event History

Oct 6, 2026
CVE Published
via MITRE·08:46 AM
Data Sourced
via MITRE·08:46 AM
Description
Data Sourced
via NVD·09:18 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203